From 9fbf91db06a6d4f4b5cd8bb45389a731bb86bf22 Mon Sep 17 00:00:00 2001 From: Richard Date: Sun, 13 Apr 2025 18:48:02 +0100 Subject: initial --- site/udo/scss/mixer/test.csd | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 site/udo/scss/mixer/test.csd (limited to 'site/udo/scss/mixer/test.csd') diff --git a/site/udo/scss/mixer/test.csd b/site/udo/scss/mixer/test.csd new file mode 100755 index 0000000..1fc6099 --- /dev/null +++ b/site/udo/scss/mixer/test.csd @@ -0,0 +1,41 @@ + + +-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 + + \ No newline at end of file -- cgit v1.2.3