Dynamic Constants

Dynamic or volume of notes (also known as MIDI velocity) is represented as in the MIDI specification using integers from 0 (silent) to 127 (loudest). That’s a total of 128 volume settings. The music library defines the following dynamic constants: