#include <MIDI_Senders/PitchBendSender.hpp>
Class that sends continuous MIDI pitch bend messages with a resolution of 14 bits.
INPUT_PRECISION_BITS | The resolution of the input values. For example, if INPUT_PRECISION_BITS == 10, the send function expects a value between 0 and 1023. |
Definition at line 20 of file PitchBendSender.hpp.
Static Public Member Functions | |
static void | send (uint16_t value, MIDIAddress address) |
Send a MIDI pitch bend message with the given value and channel+cable. | |
static constexpr uint8_t | precision () |
Get this sender's precision. | |
|
inlinestatic |
Send a MIDI pitch bend message with the given value and channel+cable.
address.getAddress() is ignored. Value should be INPUT_PRECISION_BITS
wide.
Definition at line 25 of file PitchBendSender.hpp.
|
inlinestaticconstexpr |
Get this sender's precision.
Definition at line 33 of file PitchBendSender.hpp.