#include <MIDI_Senders/DigitalNoteSender.hpp>
Class that sends MIDI note on and off messages.
Definition at line 12 of file DigitalNoteSender.hpp.
Public Member Functions | |
| DigitalNoteSender (uint8_t velocity=0x7F) | |
| void | sendOn (MIDIAddress address) |
| Send a note on message to the given address with this object's velocity as velocity. | |
| void | sendOff (MIDIAddress address) |
| Send a note off message to the given address with 0x7F as velocity. | |
| void | setVelocity (uint8_t velocity) |
| uint8_t | getVelocity () const |
Private Attributes | |
| uint8_t | velocity |
|
inline |
Definition at line 14 of file DigitalNoteSender.hpp.
|
inline |
Send a note on message to the given address with this object's velocity as velocity.
Definition at line 17 of file DigitalNoteSender.hpp.
|
inline |
Send a note off message to the given address with 0x7F as velocity.
Definition at line 21 of file DigitalNoteSender.hpp.
|
inline |
Definition at line 25 of file DigitalNoteSender.hpp.
|
inline |
Definition at line 26 of file DigitalNoteSender.hpp.
|
private |
Definition at line 29 of file DigitalNoteSender.hpp.