Page 1 of 1

monitor to show interval values

Posted: 18 Apr 2012 11:28
by lewisedwards
hello all,

been a while since i have posted any requests lately, or questions. but do have one to ask of.

im building a template for my upcoming festival gigs. i have effects on all 8 channels, including 3 returns with effects.
these are spitting out MIDI to control ableton stuff.

a few, or most of the effects have controls like 1/16, 1/8, 1/1 etc.
i have some of this hooked up to my padi lemur and am starting to put a read out of the multisliders to a monitor. im trying to keep all minor data flow inside lemur.
but what i have come across is that the monitor cant read out anything other than 0. to 1. though im more than wrong on that.
but i want to read out the data like 1/16, 1/8, 1/1 into the monitors. is this possible, and if so, does anyone have any pointers, templates or anything to bounce off of.

also as well. need to thank the liine folk for putting a lot of my requests into the latest lemur update. thanks.

Re: monitor to show interval values

Posted: 18 Apr 2012 12:04
by axel_liine
You could use an array of strings containing all the possible values and then convert the multislider value to an integer to select the right item in the array.
For instance, if there are only 5 possible values, you could try putting this in the Monitor :

Code: Select all

{"1/16", "1/8", "1/4", "1/2", "1/1"}[floor(MultiSlider.x * 4)]

Re: monitor to show interval values

Posted: 08 May 2012 11:01
by lewisedwards
was meant to say thanks for your help. just busy is all.
will be looking into that, but also doing arrays. lately not been keeping tabs of my c programming so will see what i can do.

thanks