6 static uint8_t next_voice_to_assign = 0;
23 for (i = next_voice_to_assign, j = 0, found = 0;
25 j++, i = (i + 1) % NUM_VOICES) {
26 if (
v[i].
adsr.state() == 0) {
33 i = next_voice_to_assign;
35 next_voice_to_assign = (i + 1) % NUM_VOICES;
uint8_t read_key(uint32_t)
void keydown(uint32_t down)