[Scummvm-devel] Linux MIDI support status :-)

Lionel Ulmer lionel.ulmer at free.fr
Wed Nov 21 13:44:03 CET 2001


Hi all,

Just to summarize what is the status right now, we have :

 = direct raw MIDI events sent to /dev/midiXX. Confirmed to work by
   chuzwuzza on his external MIDI keyboard. Patch lying aroung on SF.net.
   
 = TiMidity /dev/sequencer emulation. Not working great but outputing some
   sound. Being worked on by me and also Ender. Patch integrated in CVS.

 = real /dev/sequencer output. In fact, this is just a modification of the
   current TiMidity support :
   
    - replace all the TiMidity server connection code by a simple 
          s2 = open("/dev/sequencer", O_WRONLY, 0);
	  _mo = (void *) s2;
    - and replace 'DEVICE_NUM' by 's' in the MIDI_OUT function (or even
      change the '#define DEVICE_NUM 0' line by '#define DEVICE_NUM s').
      
    This method has been confirmed to work by MattJ on IRC this evening.

Now we just need a way to put all three methods in the code, add some
configuration way to be able to switch at run-time from one method to the
other.

Plus there will be soon my to-be-released .MID storing patch :-)

                       Lionel

-- 
		 Lionel Ulmer - http://www.bbrox.org/




More information about the Scummvm-devel mailing list