-o dac sr = 44100 ksmps = 4410; very high because of printing ;(change to 441 to see the difference) nchnls = 2 0dbfs = 1 instr 1 ;initialize a general audio variable aSum init 0 ;produce a sine signal (change frequency to 401 to see the difference) aAdd oscils .1, 400, 0 ;add it to the general audio (= the previous vector) aSum = aSum + aAdd kmax max_k aSum, 1, 1; calculate maximum printk 0, kmax; print it out outs aSum, aSum endin i 1 0 1 ;example by joachim heintz