Left/Right balance controlled by 'number' value

Oct 20, 2013 at 5:05pm

Left/Right balance controlled by 'number' value

Hi guys,

I have a ‘noteout’ driven by a ‘metro’ and I want to control the Left and Right balance of the speakers through a ‘number’ value. When is negative to be more on the left, when positive to be more on the right…

I can’t figure out how to approach this.

Any hints are highly appreciated,

Thanks,

<code>

– Pasted Max Patch, click to expand. –

</code>

#268550
Oct 20, 2013 at 7:25pm

you need two scale~ objects, one for the left, one for right scaling from neg to pos , 0-1 and the other the opposite. you’ll also need to *~

sorry, you want midi, not audio– just use CC for panning — cant remember which CC number it is. just look up a MIDI reference. 0=L, 64=mid, 127 =R

#268564
Oct 21, 2013 at 3:19am

thank you for this, I will dive in to it and come back with an update,
thanks a lot

#268584

You must be logged in to reply to this topic.