Page 1 of 1

Using menu to select midi cc number output by multislider

Posted: 25 Jan 2014 08:35
by lvierimaa
Hi!

This might be dead easy but I just can't figure it out. What i'm trying to is to make a stepsequencer which outputs values 0-127 on a selectable midi cc number.

I've used Midi CC Sequencer by Sean Edwards as a base, and so far I have been able to control the midi cc number it outputs with a fader and a knob, and CC selector by bxsj. However, I would like to have a menu object for choosing the midi cc number, since i won't need every value between 0 and 127, but only certain values like 74, 71 and 1. Using a tap selector of a fader is fine, but for workflow's sake i would prefer a selector which has the right cc numbers selectable.

So, how to make menu selection 0 correspond to say midi cc num 74, selection 1 correspond to midi cc num 71, and so on?

Re: Using menu to select midi cc number output by multislide

Posted: 25 Jan 2014 12:53
by oldgearguy
I would create vector of CC values then use the menu selction value as the index into that array.

something like:

myCCs = {74, 78, 87, 99, 101, 110, 120};
idx = Menu.selection;
selectedCC = myCCs[idx];

Re: Using menu to select midi cc number output by multislide

Posted: 25 Jan 2014 17:25
by lvierimaa
Thanks for the reply! That seems to do the trick!

Re: Using menu to select midi cc number output by multislide

Posted: 25 Jan 2014 20:51
by mat
Hey Ivierimaa,

welcome to the forum :)

Talking about "a stepsequencer which outputs values 0-127 on a selectable midi cc number"
good old Modumat might be also interesting for you: http://liine.net/en/community/user-library/view/59/
...contains also a range and random switches for stepvalues....

cheers*mat

Re: Using menu to select midi cc number output by multislide

Posted: 26 Jan 2014 14:33
by lvierimaa
Thanks mat!

I actually checked Modumat earlier. I try to fumble around with simpler templates in order to learn lemur, instead of just using ready made templates. But i'll look into it more as soon as I get a better hang of what's under the hood of lemur.