private PartKeyOff ( AdLibPart part, byte note ) : void | ||
part | AdLibPart | |
note | byte | |
return | void |
void PartKeyOff(AdLibPart part, byte note)
{
for (var voice = part._voice; voice != null; voice = voice.Next)
{
if (voice.Note == note)
{
if (part._pedal)
voice.WaitForPedal = true;
else
McOff(voice);
}
}
}