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

Method reset

src/core/Gate_MIDI.cpp:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 }
16
17 void reset() {
18 for (uint8_t note = 0; note < 128; note++) {
19 vels[note] = 100;
20 lastGates[note] = false;
21 }
22 Output::reset();
23 }
24
25 void panic() {
26 // Send all note off commands

Callers 1

onResetMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected