You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
526 B
Plaintext
23 lines
526 B
Plaintext
(
|
|
var mixer;
|
|
//var bass, hdust, sampler, mixer;
|
|
/*
|
|
bass = Synth.tail(~group, \bass);
|
|
hdust = Synth.tail(~group, \hdust);
|
|
sampler = Synth.head(~group, \sampler);
|
|
*/
|
|
mixer = Synth.tail(~group, \mixer);
|
|
|
|
OSCdef(\mixer, {arg msg, time, addr, port;
|
|
mixer.set((msg[1] ++ '_' ++ msg[2] ++ '_' ++ msg[3]), msg[4])
|
|
}, \mixer);
|
|
|
|
/*
|
|
OSCdef(\sampler, {arg msg, time, addr, port;
|
|
msg.postln;
|
|
sampler.free;
|
|
~sBuf.free;
|
|
~sBuf = Buffer.read(s, msg[1].asString.postln, action: {sampler = Synth.head(~group, \sampler)});
|
|
}, \sampler);
|
|
*/
|
|
) |