2 Faders follow X Y values on a Multiball?

Discuss Lemur and share techniques.
Post Reply
Kaatza_Music
Newbie
Posts: 27
Joined: 10 Feb 2013 16:16

2 Faders follow X Y values on a Multiball?

Post 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,
Leon Portelance, aka The Katz, B of Mus.
composer . songwriter . producer
Website - IMDb - Vinny's Last Ride
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

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

Post 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
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

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

Post 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;
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

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

Post by Softcore »

Now that I was in front of my laptop....here it is....
Multiball-to-faders.jzml
(8.85 KiB) Downloaded 98 times
Kaatza_Music
Newbie
Posts: 27
Joined: 10 Feb 2013 16:16

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

Post by Kaatza_Music »

Thanks so much, Softcore. Your help has been a blessing. I am gradually learning more about scripting.
Leon Portelance, aka The Katz, B of Mus.
composer . songwriter . producer
Website - IMDb - Vinny's Last Ride
Kaatza_Music
Newbie
Posts: 27
Joined: 10 Feb 2013 16:16

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

Post 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.
Leon Portelance, aka The Katz, B of Mus.
composer . songwriter . producer
Website - IMDb - Vinny's Last Ride
Post Reply