SuperCollider Forum
May 18, 2013, 12:32:59 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: The SuperCollider forum is currently experiencing a rash of spambot registrations. New user requests may not be approved quickly as a result -- and if your email address looks like spam, it might not be approved at all. We are working to improve the security of the registration process, and to provide alternate means to contact the administrators to get a new account. Thanks for your patience.
 
   Home   Help Search Calendar Login Register  
Pages: [1]
  Print  
Author Topic: Groups for Duo  (Read 1981 times)
0 Members and 1 Guest are viewing this topic.
beatleboy07
Newbie
*

Karma: 0
Posts: 8


View Profile
« 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!