beatleboy07
Newbie
Karma: 0
Posts: 8
|
 |
« on: April 12, 2006, 03:42:01 AM » |
|
Hello list,
I am working with another individual, and we're going to be performing as a duo in the coming weeks, and I'm using sc to make different effects for us to both use. I'm using a foot controller to turn things on and off for each of us, but I've run into one problem here.
I want to use PitchShift to make interesting choruses and harmonies on the spot. I have it simply set up as this:
SynthDef("chorus", { Out.ar( 0, PitchShift.ar( In.ar(0, 1), 0.1, 1, 0, 0.004) + PitchShift.ar( In.ar(0, 1), 0.1, 1.5, 0, 0.004) + PitchShift.ar( In.ar(0, 1), 0.1, 2, 0, 0.004) ) }).send(s);
MIDIIn.noteOn = {arg src, chan, num, vel; if(num == 48, {~synth1.free; ~synth1 = Synth.head(s, "distortion1", [\distortion, 100,\thresHold, 0.0003, \bus1, ~controller1.index]) }); if(num == 50, {~synth1.free; ~synth1 = Synth.head(s, "wahWah", [\thresHold, 0.0003, \bus1, ~controller1.index, \volume, 3]) }); if(num == 51, {~synth2 = Synth.tail(s,"chorus", [\thresHold, 0.0003, \bus1, ~controller1.index]) }); };
MIDIIn.noteOff = {arg src, chan, num, vel; if(num == 51, {~synth2.free}) };
)
This works fine when I perform alone and have control over when I use the chorus and when I don't. However, if I am using the distortion, and I don't want the chorus applied to it, but my duo partner wants a chorus applied to what she's doing, it gets more complicated. It seems like a group is the best idea for this, but I can't quite see how I could set it up so one of us can apply this chorus effect to our own material without affecting the other material. Or is there a device that can have In search for a specific variable (i.e. ~synth1 or ~synth2)?
Thanks for the help! Cliff
|