Troubleshooting

Using menu to select midi cc number output by multislider

Started by lvierimaa on .

Sign in or create an account to join the conversation.

5 posts

Topic starter
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?
Subject: Re: Using menu to select midi cc number output by multislide
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];
Subject: Re: Using menu to select midi cc number output by multislide
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.