noteOff method
Implementation
void noteOff({required int channel, required int key}) {
if (!(0 <= channel && channel < channels.length)) {
return;
}
for (Voice voice in _voices) {
if (voice.channel() == channel && voice.key() == key) {
voice.end();
}
}
}