How to use `playmidi' via TiMidity

  1. Download playmidi-2.4
  2. Change the current working directory into playmidi-2.4.
  3. Type `Configure', and select the default configuration.
  4. Get timidity-io-playmidi.c.
  5. Rename timidity-io-playmidi.c to timidity-io.c
  6. Edit `Makefile':
    Add `-Dioctl=timidity_ioctl -Dopen=timidity_open -Dclose=timidity_close' to `CFLAGS'
    Add timidity-io.o to OBJECTS, XOBJECTS, SOBJECTS, and GOBJECTS.
  7. make
  8. Launch TiMidity server (TiMidity must be configured with --enable-server):
    % timidity -ir 7777
  9. playmidi

How to use `vkeybd' via TiMidity

  1. Download vkeybd source code which is available in AWE package.
  2. Get timidity-io-vkeybd.c.
  3. Rename timidity-io-vkeybd.c to timidity-io.c
  4. Edit `Makefile':
    Add `-Dioctl=timidity_ioctl -Dopen=timidity_open -Dclose=timidity_close' to `CFLAGS'
    Add timidity-io.o to UTILS
  5. make
  6. Launch TiMidity server (TiMidity must be configured with --enable-server):
    % timidity -ir 7777
  7. vkeybd

How to use OSS-application via TiMidity

  1. Link timidity-io.c.
    See more informations in the source code.