Page 1 of 1

Changing Multiball scale range

Posted: 10 May 2013 09:53
by monks1975
I would like to use some Multiballs on a project for controlling a hardware synth (an obvious example being to control filter cutoff (x) and resonance (y)) and would like to try to implement range sliders which limit the scale range the multiball operates in, as a way of creating more subtle modulations instead of the 0 - 127 range it would ordinarily operate in.

I dove striaght in without figuring out a way to do it, not knowing if it was indeed possible :D I've had great fun figuring out solutions using Lemur for this project and the logic for a non-programmer has been mostly easy to grasp but this one has me stumped, so if anyone can suggest a way into the problem I'd be very thankful.

I've attached a screenie so people can see what I'm on about.

Developers, thanks for Lemur for iPad, its fantastic.

--
Jon

Re: Changing Multiball scale range

Posted: 10 May 2013 10:04
by Softcore
I believe in one of the bundled templates that come with Lemur features 2 XY pads with scaled output...

if you can't find it its fairly easy to construct one though.....let me know and I'll give you an example...

Re: Changing Multiball scale range

Posted: 10 May 2013 10:05
by Softcore
Better yet post your template here so I can build the functionality right into it...

Re: Changing Multiball scale range

Posted: 10 May 2013 10:46
by monks1975
thanks for the quick reply guys, I'll have a look at the template softcore suggested and see if I can build it.

Here's my current template for the Microkorg. XY pads are on page 5. Thanks to BRONC COMBO who made the original which I then adapted and expanded.

Re: Changing Multiball scale range

Posted: 10 May 2013 11:15
by monks1975
I cant seem to find the xy example you suggested softcore. I've looked at the v4 default templates. Could you upload it or link to it for me?

Re: Changing Multiball scale range

Posted: 10 May 2013 12:00
by monks1975
I have found that using this expression in the multiball seems to work:

range(Multiball1.y, Range_Multiball1y.x[0]*127, Range_Multiball1y.x[1]*127)

(the Range_Multiball1y.x[0] and [1] are the start and ends of the range slider.)

then using that as a variable in the multiball mapping to midi map to cc 71 in this example.

If anyone can think of a more efficient way then please suggest, but this seems to do what I need it to.

Cheers,
Jon

Re: Changing Multiball scale range

Posted: 10 May 2013 13:00
by Softcore
Sorry my mistake its not bundled! There used to be a user contributed "4 XY pads" thing but I cant seem to find it.....But yeah the logic is as you described above!

Re: Changing Multiball scale range

Posted: 10 May 2013 13:05
by monks1975
Template with working xy pads with range selection attached below:

Re: Changing Multiball scale range

Posted: 04 May 2015 20:15
by logarishm
Great work! I was looking exactly that funcionality to implement it to my controller.

Thank you!! :D