Page 1 of 1

2 Faders follow X Y values on a Multiball?

Posted: 17 Feb 2013 00:29
by Kaatza_Music
I have a question? I have a Multiball with 1 ball that I am using as an XY pad to control 2 MIDI CC values, CC1 on the Y and CC11 on the X. I also have 2 Faders controlling CC1 and CC11. How would I make the Faders follow the X and Y values from the Multiball?

Thanks,

Re: 2 Faders follow X Y values on a Multiball?

Posted: 18 Feb 2013 01:50
by Softcore
Add script in multiball

On expression x, any

Code: Select all

Fader_name.x=x;


Add a second script in multiball

On expression y, any

Code: Select all

Fader2_name.x=y;
Replace in the above scripts the names of the faders with the actual names of faders respectively inyour project. Keep in mind that since now every move you perform in the multiball moves the faders you will be transmitting the same midi message twice (once from the multiball itself and one from the fader) so this may result insome weird feedback update...it would bebest if you removed the midi mappings in themultiball completely sinceall the required midi messages will betransmitted bythefaders...

...oh and i obvioudly haveahard time using the spacebarwhen typing in myiPad lol

Re: 2 Faders follow X Y values on a Multiball?

Posted: 18 Feb 2013 01:55
by Softcore
If youalso need theball to move when you move the faders then add in the two faders a script

Fader 1, On expression x, any

Code: Select all

Multiball_name.x=x;
And

Fader 2, On expression x, any

Code: Select all

Multiball_name.y=x;

Re: 2 Faders follow X Y values on a Multiball?

Posted: 18 Feb 2013 07:10
by Softcore
Now that I was in front of my laptop....here it is....
Multiball-to-faders.jzml
(8.85 KiB) Downloaded 98 times

Re: 2 Faders follow X Y values on a Multiball?

Posted: 18 Feb 2013 11:01
by Kaatza_Music
Thanks so much, Softcore. Your help has been a blessing. I am gradually learning more about scripting.

Re: 2 Faders follow X Y values on a Multiball?

Posted: 19 Feb 2013 19:55
by Kaatza_Music
Got this one working perfectly. I disabled the MIDI output in the MultiBall like you suggested to avoid any weird feedback from having it duplicated. Thanks again.