General
Formula for MIDI to Frequency
Started by kabletx on .
Sign in or create an account to join the conversation.
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!
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!
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.
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.
Thanks foe the replies. I sorta figured that would be the case, but I figured I'd give it a shot.