CC Value Scaling with external hardware

+1 vote
asked Oct 28, 2014 in Advanced by beecass (210 points)
recategorized Oct 29, 2014 by MIDI Designer Team (Dan)
**I misspoke when saying the Slider A still moves smoothly from 0-127 after effecting the midi min->max scaling. It in fact reaches 127 at the same 2/3 mark...which strongly implies that this is where the problem lies...when altering the outgoing range of CC values of the supercontrol, it appears to skew the incoming values as well (though not in a directly proportional way). Hope that all makes sense!
Brian
Hi there, before anything else, let me throw this out there: supercontrols have to travel their FULL midi range (usually 0-127) to get whatever range is specified in the subcontrol. So when you hit 64 in the supercontrol, that's ALWAYS 50% of the MIDI range of the subcontrol.

Ticks are mostly irrelevant, except that they determine exactly which values are being chosen on super and sub.

Now I'll have to study your question more in depth, but this might help you understand what's going on.

1 Answer

+1 vote

Thank you so much for the quick reply! I seem to have found a solution which works quite nicely - I came to this idea after dwelling on the fact that the scaling worked perfectly when moving "Slider A" manually in MIDI Designer, but broke down when I moved slider A using my external MIDI hardware over the same range. So I thought "why not move Slider A using a new Slider/Knob/Crossfader that runs the full range?" This brought me to the solution:

When you want to scale MIDI values coming from a MIDI input outside of MIDI Designer (hardware or virtual midi inputs), you need to make a supercontrol for your supercontrol(s). This also makes for some very nice possibilities of having your external gear split into multiple outgoing signals. The resultant process looks like this - 

1) Create a knob/slider/crossfader we'll call "Ext Input". Use MIDI Learn so this recieves MIDI from your external input (ie footpedal, software synth knob, etc). Keep the MIDI Min->Max range as 0-127 (assuming your gear sends that full range, as mine does). You will probably want this knob placed on a pedalboard. 

2) Create another knob/slider/crossfader which we'll call "Scaling 1". Change the Midi Min->Max to reflect the new range you would like the output scaled to. (ie if you want your original 0-127 range of the external input to become 0-64, choose 0->64 here). You will probably want this knob on a page such that you can switch pages to have your external hardware control different things/ranges with a simple page switch. This knob can be hidden in performance. 

3) Make "Ext Input" a Supercontrol for "Scaling 1". (if you add mutiple scaling knobs, make "Ext Input" a supercontrol for all of these as well...see below)

**You can make as many of these scaling knobs as you like...in effect multiplying your original signal into several CC messages (or other types of messages). These would theoretically be "Scaling 2", "Scaling 3", etc. For instance, you could now set it up so that as you sweep your external footpedal from heel to toe, 2 separate CC messages are output to your hardware synth, each with different ranges. One might be CC12 on channel 4 with heel = 83 -> toe =0, one CC13 on channel 4 with heel = 0 -> toe = 127.

4) Make another knob/slider/crossfader we'll call "Output 1". Leave the MIDI Min->Max at the full range of 0-127. You will probably want this knob placed on the same page with the "Scaling" knob and kept visible. 

5) Make "Scaling 1" a supercontrol of "Output 1". 

**If you made multiple scaling knobs, you will need to make an Output knob for each one of these...so you'd have "Output 2" to match "Scaling 2"...each Scaling knob will be assigned as a Supercontrol for its corresponding Output knob. 

If you followed these steps, you should now be able to sweep your external hardware through its full range and have output(s) that scale to your chosen range (you will see the "Output" knob(s) reflects the range(s)...the "Scaling" knob(s) will simply sweep 0-127). 

It sounds complex, but like many things in this wonderful program, it becomes quite simple once you've done it once or twice. 

Happy tweaking!

Brian

answered Oct 29, 2014 by beecass (210 points)
Thanks Brian, glad you've found what you need and that the pseudo-language of super- and subcontrols is letting you express what you need.

Two things:
1) Not sure if you've checked out "pedalboards" in MIDI Designer, but they might let you reuse your setup on several pages
2) Not sure if you've checked out Channel Changers in MIDI Designer, but... same.

Thanks and enjoy!
Dan

Author & CEO
...