How to send a program change ?

Hi crew,

I didn’t a place where is told how to send a program change in C ??

Please help  :-\

Goule

It isn’t so difficult:

  MIOS_MIDI_TxBufferPut(0xc0); // program change, channel #1

  MIOS_MIDI_TxBufferPut(prg); // program number

For more informations see also this nice site: http://www.borg.com/~jglatt/tech/midispec.htm

Best Regards, Thorsten.

I find this table very useful:

http://www.midi.org/about-midi/table1.shtml

=> check all three tables!

:wink:

Thanks both of you !  :smiley:

By the way I wanted to say that I improved the performance of my MIDI gate  ;D I’ll send code when I’ll have more time  :wink:

Have a good week end !

Olivier