| [Just did some more tests and realize the problem only occurs
in Jean Piches cecilia csound binary. I don't have the sources
to it, but am CC'ing Jean so he can compare his sources. I also
attach a new format 0 Midi file with _only_ a program change.]
Yes, the case PROGRAM_TYPE clause should be executed in m_chanmsg
but instead csound dies in the default clause with the message
"unrecognized message type 192" (which is, just as PROGRAM_TYPE, 0xC0).
Obviously, the code is right in the main sources.
jpff@maths.bath.ac.uk wrote:
>
> Message written at 27 May 1999 12:09:03 +0100
> --- Copy of mail to tkunze@ccrma.stanford.edu ---
>
> Reading the code in midirecv.c and my limited knowledge of MIDI i
> think a 0xC. message will go to teh code on line 1411 which is
> described as "other status types". There the channel is taken off and
> stored and the type of 0xC0 is remembered.
>
> In m_chanmsg the PROGRAM_TYPE mesage is handled, and one chould get a
> "midi channel %d now using instr %d" message.
>
> My question is; what is not happening with should happen?
>
> ==John ffitch |