General

Formula for MIDI to Frequency

Started by kabletx on .

Sign in or create an account to join the conversation.

4 posts

Topic starter
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!
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.