Closed ElectroTechnique closed 10 months ago
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;
}`
Fixed in V2.36
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 https://github.com/ElectroTechnique/TSynth-Teensy4.1/discussions/135