|
@@ -34,7 +34,7 @@ s.waitForBoot { |
|
|
|
|
|
|
|
|
// Create multiple sound generators |
|
|
// Create multiple sound generators |
|
|
modules = []; |
|
|
modules = []; |
|
|
16.do({ |
|
|
|
|
|
|
|
|
3.do({ |
|
|
arg index; |
|
|
arg index; |
|
|
var synth; |
|
|
var synth; |
|
|
synth = Synth.new("module", [\hue, 0.5, \saturation, 0.1, \value, 0.5, \pan, 0.5, \gain, 0.9]); |
|
|
synth = Synth.new("module", [\hue, 0.5, \saturation, 0.1, \value, 0.5, \pan, 0.5, \gain, 0.9]); |
|
@@ -49,7 +49,7 @@ s.waitForBoot { |
|
|
modules[msg[1]].set(\saturation, msg[3]); |
|
|
modules[msg[1]].set(\saturation, msg[3]); |
|
|
modules[msg[1]].set(\value, msg[4]); |
|
|
modules[msg[1]].set(\value, msg[4]); |
|
|
modules[msg[1]].set(\pan, msg[5]); |
|
|
modules[msg[1]].set(\pan, msg[5]); |
|
|
s.sync; |
|
|
|
|
|
|
|
|
//s.sync; |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
thisProcess.addOSCRecvFunc(f); |
|
|
thisProcess.addOSCRecvFunc(f); |
|
|