[Scummvm-devel] Linux music progress report (with Timidity)

Chris Gahan chris at ill-logic.com
Sun Nov 18 19:26:02 CET 2001


Thanks a lot for doing this! It looks great, but it's not quite working properly for me.

All the internals seem to be working -- when I run the timidity server, scummvm connects to it and everything. I don't actually hear any music though.

Now, I thought at first this might be because scummvm was using the sound device. This wasn't a problem, however, since I've got an SBPCI128 which has two PCM audio DSP's on it (I can play MP3's on /dev/dsp1 while playing everything else through /dev/dsp, and it works like a charm).

I set timidity to use this as the output device (it works on normal MIDI files), and still no sound. So, apparently, it's not getting any MIDI data. I tried this with day of the tentacle and monkey island 2. No music at all. 

Does this only work with newer releases of these games? I think  I'm using the original releases. I thought that maybe my versions only had Adlib and Roland files with it... no general MIDI... and hence no sound.

Also, timidity never says "playing" on its status output. Here's a little bit of its log when I tried running scummvm a few times:

[10:12pm] root at nanolith :: /usr/src/scummvm # timidity -irv 7777 -Od /dev/dsp1
Output rate adjusted to 32072 Hz (requested 32000 Hz)
Audio device buffer: 4 x 8192 bytes
Audio device buffer: 4 x 8192 bytes
Connected
read: Connection reset by peer
Connection closed
Audio device buffer: 4 x 8192 bytes
Connected
read: Connection reset by peer
Connection closed

...etc.

Any suggestions?

On Mon, 19 Nov 2001 00:18:03 +0100
Lionel Ulmer <lionel.ulmer at free.fr> wrote:

> Hi all,
> 
> Just wanted to inform all Penguin lovers that I made some progress in Linux
> music support : I now have Timidity playing the MIDI music from Day of the
> Tentacle...
> 
> I attached the patch that does it to this mail. For this you need first to
> start Timidity with the following command line :
> 
>       timidity -irv 7777
> 
> Then just start ScummVM and you should have sound.
> 
> Now, the last hurdle remains : mixing the sound output with Timidity's midi
> output... I will try to continue a bit tonight, but it starts to get late
> here :-)
> 
>                                Lionel
> 
> -- 
> 		 Lionel Ulmer - http://www.bbrox.org/
> 




More information about the Scummvm-devel mailing list