Howdy!
I recently posted a template for the Electrix Filter Factory in the user library, and I'm wondering if I can add a Monitor object to get visual feedback on the Filter Frequency. FF is set to CC 5, so I'm dealing with a 0-127 scale, but I have no clue how to convert that to frequency value for the filter...I'm definitely not a math wiz! Any suggestions or help would be most welcome.
Thanks for your time!
Formula for MIDI to Frequency
-
- Liine Staff
- Posts: 126
- Joined: 14 Dec 2011 12:12
Re: Formula for MIDI to Frequency
Unfortunately it really depends on how the target software maps MIDI values to frequency, there's not one single formula that applies to all synths.
Re: Formula for MIDI to Frequency
yes, one has to adapt the mathematical term to each object. For example, if the target has a range between 0.1 Hz and 300 Hz, the mathematical term would be
0.1+Knob.x*299.9
But like Alex said, such simple terms may not exactly correspond to the target's real value.
0.1+Knob.x*299.9
But like Alex said, such simple terms may not exactly correspond to the target's real value.
Formant+Eurorack, PPG wave 2.2, Korg MS-20, etc., EWI 4000s, QuNeo, etc., Mixbus32c, u-he, MadronaLabs, Samplemodeling, NI, etc., iPad2/4/Pro
Re: Formula for MIDI to Frequency
Thanks foe the replies. I sorta figured that would be the case, but I figured I'd give it a shot.