This project has moved. For the latest updates, please go here.

midi instruments

Nov 13, 2016 at 12:00 PM
I have been able to play a piano midi note using the command:
 midiOut.Send(MidiMessage.StartNote(60, 127, 1).RawData)
but when I try to do the same using some other instruments changing the "1" in "22" (accordion) like this:
   midiOut.Send(MidiMessage.StartNote(60, 127, 22).RawData) 
it doesn't play any note. Where is the mistake?????
Thank you, g.
Coordinator
Nov 18, 2016 at 8:56 AM
the third parameter is the MIDI channel number and there are only 16 channels
so you'd need to send a patch change message first to one of the channels
and then send a start note to that channel
Nov 22, 2016 at 7:45 PM
Thank you for your message! I will try to find information about the patch change message!

Best regards, g.