Control Surface new-input
MIDI Control Surface library for Arduino
Public Member Functions | Private Attributes | List of all members
DigitalNoteSender Class Reference

#include <MIDI_Senders/DigitalNoteSender.hpp>

Detailed Description

Class that sends MIDI note on and off messages.

Definition at line 12 of file DigitalNoteSender.hpp.

+ Collaboration diagram for DigitalNoteSender:

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

The documentation for this class was generated from the following file: