Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/19/01 21:25
Read: times


 
#8374 - RE: Code for Midi PGM Change ..
You're very lucky to mention the crystal frequency, because you will need to change to a 11.0592MHz crystal for MIDI.

Then select a baud rate of 31250 baud. Now send the following bytes:
- Cn (hex, where n is the channel number, 0 in your example)
- pp (hex, where pp is the desired program number, 0B in your example)

Unfortunataly, I only have example code which is able to receive program change information, but sending it is definitely easier than receiving it. With sending, you don't have to worry about channel status and realtime messages. There are plenty of examples on this board on how to send serial information (check the "weird serial problem" thread) and the tutorial will explain how to do it in detail.

List of 4 messages in thread
TopicAuthorDate
Code for Midi PGM Change ..            01/01/70 00:00      
Code for Midi PGM Change ..            01/01/70 00:00      
RE: Code for Midi PGM Change ..            01/01/70 00:00      
RE: Code for Midi PGM Change ..            01/01/70 00:00      

Back to Subject List