-odac sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 seed 0 ;each time different seed for random instr 1 kFreq randomi 400, 800, 1 ;random sliding frequency aSig poscil .2, kFreq ;sine with this frequency kPan randomi 0, 1, 1 ;random panning aL, aR pan2 aSig, kPan ;stereo output signal outs aL, aR ;live output fout "live_record.wav", 18, aL, aR ;write to soundfile endin i 1 0 10 ;example by joachim heintz