MCPcopy Create free account
hub / github.com/bbbradsmith/nsfplay / KeyOff

Method KeyOff

nsfplug_ui/KeyWindow.cpp:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120void KeyWindow::KeyOff(int note)
121{
122 int tbl[12] = { 0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12 };
123 if(note<=0) return;
124 m_nKeyStatus[(tbl[note%12]+(note/12)*14)&0xFF] = 0;
125}
126
127void KeyWindow::Reset()
128{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected