Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ setChannel
Method
setChannel
include/midi.hpp:40–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
return bytes[0] & 0xf;
39
}
40
void setChannel(uint8_t channel) {
41
if (bytes.size() < 1)
42
return;
43
bytes[0] = (bytes[0] & 0xf0) | (channel & 0xf);
44
}
45
46
uint8_t getStatus() const {
47
if (bytes.size() < 1)
Callers
4
setClock
Method · 0.45
setStart
Method · 0.45
setContinue
Method · 0.45
setStop
Method · 0.45
Calls
1
size
Method · 0.45
Tested by
no test coverage detected