Hello,
why does switching off the notes not work in this C# code?
outputDevice.SendControlChange(Channel.Channel3, (Midi.Control)127, 0); // Polyphonic on
outputDevice.SendNoteOn(Channel.Channel3, (Pitch)70, 80);
outputDevice.SendNoteOn(Channel.Channel3, (Pitch)72, 80);
outputDevice.SendNoteOn(Channel.Channel3, (Pitch)74, 80);
outputDevice.SendNoteOn(Channel.Channel3, (Pitch)76, 80); // up to this point it works, I can see 4 notes on the spectrum analyzer
System.Threading.Thread.Sleep(1000); // delay 1000ms
outputDevice.SilenceAllNotes(); // doesn't work
outputDevice.SendControlChange(Channel.Channel3, (Midi.Control)123, 0); // all notes off, doesn't work
outputDevice.SendNoteOff(Channel.Channel3, (Pitch)70, 80); // however switching the notes off does work
outputDevice.SendNoteOff(Channel.Channel3, (Pitch)72, 80);
outputDevice.SendNoteOff(Channel.Channel3, (Pitch)74, 80);
outputDevice.SendNoteOff(Channel.Channel3, (Pitch)76, 80);
Any ideas why this doesn't work?
Michael