Changing Multiball scale range

Discuss problems and solutions.
Post Reply
monks1975
Newbie
Posts: 15
Joined: 16 Apr 2013 00:21

Changing Multiball scale range

Post 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
Attachments
multiball_range.jpg
multiball_range.jpg (171.97 KiB) Viewed 2882 times
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: Changing Multiball scale range

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

Re: Changing Multiball scale range

Post by Softcore »

Better yet post your template here so I can build the functionality right into it...
monks1975
Newbie
Posts: 15
Joined: 16 Apr 2013 00:21

Re: Changing Multiball scale range

Post 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.
Attachments
microKorg_2.0.jzml.zip
(14.47 KiB) Downloaded 130 times
monks1975
Newbie
Posts: 15
Joined: 16 Apr 2013 00:21

Re: Changing Multiball scale range

Post 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?
monks1975
Newbie
Posts: 15
Joined: 16 Apr 2013 00:21

Re: Changing Multiball scale range

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

Re: Changing Multiball scale range

Post 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!
monks1975
Newbie
Posts: 15
Joined: 16 Apr 2013 00:21

Re: Changing Multiball scale range

Post by monks1975 »

Template with working xy pads with range selection attached below:
Attachments
microKorg_2.0.jzml.zip
(14.81 KiB) Downloaded 124 times
logarishm
Newbie
Posts: 10
Joined: 20 Apr 2015 20:34
Contact:

Re: Changing Multiball scale range

Post by logarishm »

Great work! I was looking exactly that funcionality to implement it to my controller.

Thank you!! :D
Post Reply