-odac sr = 44100 ksmps = 32 nchnls = 2 0dbfs = 1 instr 1; expon envelope iEndVal = p4 ; variable 'iEndVal' retrieved from score aEnv expon 1, p3, iEndVal aSig poscil aEnv, 500 out aSig, aSig endin ;p1 p2 p3 p4 i 1 0 1 0.001 i 1 1 1 0.000001 i 1 2 1 0.000000000000001 e ;example by Iain McCurdy