Re: [linux-audio-dev] ".mid" files playing in Linux games

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] ".mid" files playing in Linux games
From: Mark Constable (markc_AT_renta.net)
Date: Thu Jan 29 2004 - 02:43:11 EET


On Thu, 29 Jan 2004 07:29 am, Tim Goetze wrote:
> Dominic Genest wrote:
> >Yes I am familiar with "mod" files which, more precisely, were born in the
> >Amiga world. Generally speaking, they're best at techno songs.
> >
> >Mine are rather "piano only", classical-like, songs. Those usually sound
> >better with midi sequencers.
>
> timidity comes with a fairly decent set of samples. it might just work
> if you popen(3) it, directing its output to stdout so you can mix it
> into your application's sound. upon EOF, you can simply repeat from
> popen().
>
> iirc, SDL has some MIDI/music capabilities based on timidity, too. but
> i don't really know for sure.

There is also WildMidi that uses Timidity like configs and guspats
but engineered specifically towards being used in games, as it's
mainly a library, with a usable wrapper around it for Timidity like
usage from a shell.

 http://wildmidi.sourceforge.net/

--markc


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Jan 29 2004 - 02:47:12 EET