[sdiy] MIDI volume to volts formula
ezion
ezion67 at gmail.com
Tue Jun 5 19:36:00 CEST 2018
There is no standard, midi keyboards and synths often have multiple curves
in multiple strengths to chose from.
Linear, inverse log and log are all valid contenders.
It all depends on personal preference of the performer.
As for computation cost, just a tip.
Calculate all values when a curve is chosen and store them in a table. Its
only 127 values after all.
HTH
Theo
On Tue, Jun 5, 2018 at 1:43 AM, John Speth <john.speth at andrews-cooper.com>
wrote:
> 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
>
>
>
> _______________________________________________
> Synth-diy mailing list
> Synth-diy at synth-diy.org
> http://synth-diy.org/mailman/listinfo/synth-diy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://synth-diy.org/pipermail/synth-diy/attachments/20180605/f4bea9bf/attachment.htm>
More information about the Synth-diy
mailing list