diff --git a/audio.scd b/audio.scd index 696bada..c0447ba 100644 --- a/audio.scd +++ b/audio.scd @@ -1,6 +1,6 @@ s = Server.local; s.waitForBoot { - var module, sound, msg; + var module, sound, msg, modules; // Connect to OSC thisProcess.openUDPPort(5005); @@ -29,9 +29,20 @@ s.waitForBoot { }); module.load(s); s.sync; + + modules = []; + + modules.add(Synth.new("module", [\hue, 0.5, \saturation, 0.9, \value, 0.5, \pan, 0.5])); + modules.add(Synth.new("module", [\hue, 0.9, \saturation, 0.9, \value, 0.5, \pan, 0.5])); // Make a sound - sound = Synth.new("module", [\hue, 0.5, \saturation, 0.1, \value, 0.5, \pan, 0.5]); + // modules = []; + // 5.do({ + // arg index; + // var synth; + // synth = Synth.new("module", [\hue, 0.5, \saturation, 0.1, \value, 0.5, \pan, 0.5]); + // modules.add(synth); + // }); // Hook up OSC f = { |msg, time, addr|