Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
onKeyPress
Method · 0.80
onKeyRelease
Method · 0.80
onMouseMove
Method · 0.80
step
Method · 0.80
panic
Method · 0.80
setGate
Method · 0.80
setValue
Method · 0.80
panic
Method · 0.80
setNoteGate
Method · 0.80
setKeyPressure
Method · 0.80
setChannelPressure
Method · 0.80
setCc
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected