2006-04-05

Timidity++ compiling for cygwin

Timidity++
As stated in another thread, Timidity++ is a cool program to play (and convert) midi files. As I'm using it to convert midi files to .wav files (and then burn them to cd), I love to have a similar possibility under windows.

cygwin compilation
So I set out to compile Timidity++ in cygwin:
download the source from http://timidity.sourceforge.net/ and run cygwin for following:
  • tar jxf TiMidity++-2.13.0.tar.bz2
  • cd TiMidity++-2.13.0
  • bash ./configure --enable-interface=ncurses,gtk --enable-network --enable-audio=w32
  • export PATH=$PATH:. && make
  • make install
Configure TiMidity++
To run timidity correctly, you need a timidity.cfg file. Put it in %SystemRoot% (probably c:\windows). You can find one at http://home.swipnet.se/~w-10694/docs/timidity.cfg. This file makes references to directories:
dir /usr/local/lib/timidity

Now you only have to get .pat files and put them in that directory. You can get a copy of eawpats12_full.rar in http://people.fruitsalad.org/lauri/stuff/eawpats12_full.rar, unrar it to /usr/local/lib/timidity (as configured in timidity.cfg).

running timidity
It works:
timidity -int fn039russians.mid

Or if for instance you wanna convert a midi to a wav (which is what I wanted initially)
timidity --output-mode=w --output-file=result.wav fn039russians.mid

But for that look in the thread midi to wav conversion

Labels: , , ,

0 Comments:

Post a Comment

<< Home