MCPcopy Create free account
hub / github.com/VCVRack/Rack / setStatus

Method setStatus

include/midi.hpp:51–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 return bytes[0] >> 4;
50 }
51 void setStatus(uint8_t status) {
52 if (bytes.size() < 1)
53 return;
54 bytes[0] = (bytes[0] & 0xf) | (status << 4);
55 }
56
57 uint8_t getNote() const {
58 if (bytes.size() < 2)

Callers 15

onKeyPressMethod · 0.80
onKeyReleaseMethod · 0.80
onMouseMoveMethod · 0.80
stepMethod · 0.80
panicMethod · 0.80
setGateMethod · 0.80
setValueMethod · 0.80
panicMethod · 0.80
setNoteGateMethod · 0.80
setKeyPressureMethod · 0.80
setChannelPressureMethod · 0.80
setCcMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected