Forums > MaxMSP

Left/Right balance controlled by 'number' value

October 20, 2013 | 5:05 pm

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>


October 20, 2013 | 7:25 pm

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


October 21, 2013 | 3:19 am

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


Viewing 3 posts - 1 through 3 (of 3 total)