MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / setNote

Method setNote

include/midi.hpp:87–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 return bytes[1];
86 }
87 void setNote(uint8_t note) {
88 if (bytes.size() < 2)
89 return;
90 bytes[1] = note & 0x7f;
91 }
92
93 uint8_t getValue() const {
94 if (bytes.size() < 3)

Callers 5

sendCCMethod · 0.80
sendChanPressureMethod · 0.80
sendPitchbendMethod · 0.80
panicMethod · 0.80
setGateMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected