#3297 - gb_feedback - Fri Feb 21, 2003 10:05 pm
OK maybe this should be in Off-Topic?
I'm writing a GBA MIDI file player. It is designed to play whatever file the user throws at it. Some files (off the internet) use channel 10 for percussion and some channel 16 (some clever MS idea I gather - let's wreck the standard). I had thought to see which channels were used, and which of those didn't receive a Program Change; this would be the percussion. But it isn't working out that simply. I've seen the percussion channel being set to Program 0 (I thought that was Piano). And yet other players seem to guess correctly. I tried searching the web for this topic but with no success.
Anyone ever come across a workable algorithm?
_________________
http://www.bookreader.co.uk/
I'm writing a GBA MIDI file player. It is designed to play whatever file the user throws at it. Some files (off the internet) use channel 10 for percussion and some channel 16 (some clever MS idea I gather - let's wreck the standard). I had thought to see which channels were used, and which of those didn't receive a Program Change; this would be the percussion. But it isn't working out that simply. I've seen the percussion channel being set to Program 0 (I thought that was Piano). And yet other players seem to guess correctly. I tried searching the web for this topic but with no success.
Anyone ever come across a workable algorithm?
_________________
http://www.bookreader.co.uk/