Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ setNote
Method
setNote
include/midi.hpp:62–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
return bytes[1];
61
}
62
void setNote(uint8_t note) {
63
if (bytes.size() < 2)
64
return;
65
bytes[1] = note & 0x7f;
66
}
67
68
uint8_t getValue() const {
69
if (bytes.size() < 3)
Callers
13
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