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

MIDI PatchChangeEvent

Aug 21, 2010 at 5:41 PM

 Hi,

 This lib is amazing, you really did a good job and thank you for sharing it to all of us!

I can't find out how can I change instrument on a channel, could you help me with that please?

I kept trying like this, but didn't work out...

midiout.Send(new PatchChangeEvent(0,1,30).GetAsShortMessage());            
midiout.Send(new NoteOnEvent(0, 1, 0, 127, 100).GetAsShortMessage());

It just ignores the patch change every time, please tell me what am I doing wrong.

(I noticed that if I change the channel to ten, it will switch to drums, but couldn't get the other instruments)

Thanks a lot!

Best regards,

Bela Tamas

Coordinator
Aug 27, 2010 at 11:40 AM

you need to read the manual for your synthesizer to see what kind of patch changes it needs