Value scaling for midi mapped Time/Rate Knobs
Does anyone here happen to know how time/rate values are scaled when mapped to MIDI CC values 0-127. For example the phaser 9's "rate" knob when sync is turned off goes from .03hz to 9.76hz, but its not linear. It also doesn't seem to fit any basic exponential or logarithmic curves.
For some context why Im asking: I've been working on a touch interface so I can control certain parameters from my ipad and have midi mapped a number of fader controls to guitar rig knobs. For most of them I don't really need to see the exact value is, but for time/rate knobs it can be helpful. With milliseconds this is pretty straight forward and I can just map the MIDI CC value from 0-127 to whatever the MS range is like 5-2000ms for Phaser 9 so that I can show the value directly on my ipad as Im changing it. For HZ and fractional note lengths this has been a lot trickier. I can kind of approximate it by sampling a bunch of values and using linear extrapolation, but its not quite right and kind of a pain to do for each component since each component with HZ rate controls has a slightly different range too. Im sure there is some function that defines this but I just haven't been able to figure out what that might be.
I know it's kind of an obscure technical question but if anyone has any insight I'd be very grateful! TIA!
Categories
- All Categories
- 19 Welcome
- 1.3K Hangout
- 59 NI News
- 708 Tech Talks
- 3.6K Native Access
- 15.2K Komplete
- 1.8K Komplete General
- 4K Komplete Kontrol
- 5.3K Kontakt
- 1.5K Reaktor
- 356 Battery 4
- 783 Guitar Rig & FX
- 403 Massive X & Synths
- 1.1K Other Software & Hardware
- 5.3K Maschine
- 6.7K Traktor
- 6.7K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators