[sdiy] MIDI volume to volts formula

John Speth john.speth at andrews-cooper.com
Tue Jun 5 01:43:08 CEST 2018


I have been having a difficult time finding a workable formula for converting the MIDI velocity value (the third byte in a note on/off message) to a Vpp value.  Does anybody know the mathematical formula for this conversion?  Something like Vpp = func(velocity).  Let's assume Vpp(max, when velocity is 127) is 1.0V.

The reason I need to know is I have device that I can control frequency in terms of Hz and velocity in terms of Vpp.  I'm not sure if I need a function based on log10() or antilog10().

Thanks and sorry for the dopey question.

JJS

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20180604/9dfa9910/attachment.htm>


More information about the Synth-diy mailing list