Held note silenced
ElectroTechnique opened this issue · comments
Electrotechnique commented
Hold voice 1 and play 12 notes. Instead of taking a no longer held voice, it steals voice1 and silences it.
Originally posted by @biamau962 in #135
Electrotechnique commented
VoiceGroup.h
` // Get the oldest free voice, if none free, get the oldest active voice.
Voice *getVoice()
{
Voice *result = nullptr;
for (uint8_t i = 0; i < voices.size(); i++)
{
if (result == nullptr || !voices[i]->on() || result->on())
{
if (result == nullptr || voices[i]->timeOn() < result->timeOn())
{
result = voices[i];
}
}
}
return result;
}`
Electrotechnique commented
Fixed in V2.36