SoundFontInfoLib
2.21.6
Library for parsing and rendering SF2 files
|
A MIDI note representation. More...
#include <Note.hpp>
Public Member Functions | |
Note (short value) | |
Construct new note. More... | |
short | octave () const |
bool | accented () const |
std::string | label () const |
short | value () const |
bool | operator== (const Note &rhs) const |
bool | operator!= (const Note &rhs) const |
bool | operator<= (const Note &rhs) const |
bool | operator>= (const Note &rhs) const |
bool | operator< (const Note &rhs) const |
bool | operator> (const Note &rhs) const |
operator int () const | |
Static Public Attributes | |
constexpr static short | Min = 0 |
constexpr static short | Max = 127 |
A MIDI note representation.
MIDI note values range from 0 to 255, and so does this.
|
inlineexplicit |
|
inline |
Referenced by label().
|
inline |
References accented(), and octave().
|
inline |
Referenced by label().
|
inline |
References value().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by Note(), and operator int().
|
inlinestaticconstexpr |
Referenced by SF2::MIDI::Channel::keyPressure(), and SF2::MIDI::Channel::setKeyPressure().
|
inlinestaticconstexpr |