How to use `playmidi' via TiMidity
- Download playmidi-2.4
- Change the current working directory into playmidi-2.4.
- Type `Configure', and select the default configuration.
- Get timidity-io-playmidi.c.
- Rename timidity-io-playmidi.c to timidity-io.c
- Edit `
Makefile
':
Add `-Dioctl=timidity_ioctl -Dopen=timidity_open -Dclose=timidity_close
'
to `CFLAGS
'
Add timidity-io.o to OBJECTS, XOBJECTS, SOBJECTS, and GOBJECTS.
- make
- Launch TiMidity server (TiMidity must be configured with --enable-server):
% timidity -ir 7777
- playmidi
How to use `vkeybd' via TiMidity
- Download vkeybd source code which is available in AWE package.
- Get timidity-io-vkeybd.c.
- Rename timidity-io-vkeybd.c to timidity-io.c
- Edit `
Makefile
':
Add `-Dioctl=timidity_ioctl -Dopen=timidity_open -Dclose=timidity_close
'
to `CFLAGS
'
Add timidity-io.o to UTILS
- make
- Launch TiMidity server (TiMidity must be configured with --enable-server):
% timidity -ir 7777
- vkeybd
How to use OSS-application via TiMidity
- Link timidity-io.c.
See more informations in the source code.