OpenWareLaboratory
|
General MIDI DLS Level 1 Specification: The MIDI Note Velocity value is converted to attenuation in dB by the Concave Transform attenuation = 20*log10(127^2/velocity^2) so gain = velocity^2/127^2 Adjustable for dynamic range. More...
Public Member Functions | |
void | setDynamicRange (float db) |
float | velocityToGain (float v) |
General MIDI DLS Level 1 Specification: The MIDI Note Velocity value is converted to attenuation in dB by the Concave Transform attenuation = 20*log10(127^2/velocity^2) so gain = velocity^2/127^2 Adjustable for dynamic range.
ref: https://www.cs.cmu.edu/~rbd/papers/velocity-icmc2006.pdf
Definition at line 14 of file VelocityCurve.h.
|
inline |
Definition at line 20 of file VelocityCurve.h.
|
inline |
Definition at line 25 of file VelocityCurve.h.
Referenced by AbstractSynth::noteOn().