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

#include <MIDI_Senders/DigitalNoteSender.hpp>

Collaboration diagram for DigitalNoteSender:

Public Member Functions

 DigitalNoteSender (uint8_t velocity=0x7F)
 
void sendOn (MIDICNChannelAddress address)
 
void sendOff (MIDICNChannelAddress address)
 
void setVelocity (uint8_t velocity)
 
uint8_t getVelocity () const
 

Private Attributes

uint8_t velocity
 

Detailed Description

Definition at line 7 of file DigitalNoteSender.hpp.

Constructor & Destructor Documentation

◆ DigitalNoteSender()

DigitalNoteSender ( uint8_t  velocity = 0x7F)
inline

Definition at line 9 of file DigitalNoteSender.hpp.

Member Function Documentation

◆ sendOn()

void sendOn ( MIDICNChannelAddress  address)
inline

Definition at line 10 of file DigitalNoteSender.hpp.

◆ sendOff()

void sendOff ( MIDICNChannelAddress  address)
inline

Definition at line 13 of file DigitalNoteSender.hpp.

◆ setVelocity()

void setVelocity ( uint8_t  velocity)
inline

Definition at line 17 of file DigitalNoteSender.hpp.

◆ getVelocity()

uint8_t getVelocity ( ) const
inline

Definition at line 18 of file DigitalNoteSender.hpp.

Member Data Documentation

◆ velocity

uint8_t velocity
private

Definition at line 21 of file DigitalNoteSender.hpp.


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