CloneXpert 20 Junior Poster in Training

Hi,

I'm writing in the hope that somebody is familiour with the NAudio library , and can tell me how to change instrument on a channel.

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());

Thanks!