-odac sr = 48000 ksmps = 64 nchnls = 2 0dbfs = 1 seed 0 #include "scss/mixer/base.udo" instr test_boot schedule("mx_boot", 0, 1) ; defaults: 12 channels schedule("test_set", 0.5, 1) endin instr test_set schedule("mx_alter_insert", 0.1, 1, 12, 0, 0) ; reverb on return 1 fx 1 (chan 12) schedule("mx_alter_insert", 0, 1, 12, 1, 3) ; ring mod on return 1 fx 0 (chan 12) chnset 1, "mxsend0_0" ; send chan 0 to reverb schedule("test_sound", 0.5, 50) ; test sound schedule("mx_getstate", 1, 1) ; test state output endin instr test_sound prints "\n\ntest sound\n\n" aL, aR diskin2 "d:/temp/drive.wav", 1, 0, 1 bus_mix("mxchan0", aL, aR) kfreq = abs:k(oscil:k(2200, 1)) + 220 chnset kfreq, "fxi_freq_12_1" endin i"test_boot" 0 60