Custom Values from Knob output - Best method
Posted: Wed Mar 23, 2016 7:41 am
Hi Gang ... got a question on how to approach this.
Here's the issue.
I need to output specific output values [user defined] based on a Knob [0-1].
detail: There are 128 STEPs for the knob [MIDI spec]. For each value I need to plot to a table of values and display a STRING value [such as a Frequency or a +/- Gain value].
So, for MIDI value 1 will display 356. value 2 display 400, value 3 display 645 etc [just simple example].
The main question. I need to correlate 128 steps to a user defined string value [for display only]. What would be the most efficient way to do this ?
RUBY seems the most sensible ... maybe. Would I use CASE statement for this. That could get real messy with 128 different Cases ... it also seems it could get sluggish when polling the higher values ... don't know
How would You handle doing this ?? Without losing your mind in the process
Here's the issue.
I need to output specific output values [user defined] based on a Knob [0-1].
detail: There are 128 STEPs for the knob [MIDI spec]. For each value I need to plot to a table of values and display a STRING value [such as a Frequency or a +/- Gain value].
So, for MIDI value 1 will display 356. value 2 display 400, value 3 display 645 etc [just simple example].
The main question. I need to correlate 128 steps to a user defined string value [for display only]. What would be the most efficient way to do this ?
RUBY seems the most sensible ... maybe. Would I use CASE statement for this. That could get real messy with 128 different Cases ... it also seems it could get sluggish when polling the higher values ... don't know
How would You handle doing this ?? Without losing your mind in the process