Environment: Siren
Instances of MIDIVelocity are key velocities (approximately proportional to loudness) in the range 0 to 127.
The SymbolicLoudness class maps symbolic dynamic names onto this range on an approximately logarithmic scale.
accessing
printing
Print the receiver as a MIDI velocity.
units
Answer the units string of the receiver.
private
Answer Amplitude.
converting
Answer a dB loudness; ratio 1 = 0dB, ratio 0.5 = -6dB, etc.
asMIDI
Answer a MIDIVelocity.
asRatio
Answer a RatioLoudness.
asSymbol
Answer a symbolic loudness.
mostGeneral
Answer the most numerically meaningful version of the receiver.
MetaClass: MIDIVelocity class
class initialization
Initialize the class instance variable.
coercion
Answer the selector to be used in coercing double-dispatching messages.