Page 1 of 1

Changing MIDI device?

Posted: 16 Apr 2008 18:27
by engk
I was wondering whether openttd uses an independent synthesizer for music or does it use the default midi device specified in the window control panel? I tried changing the midi device but it seems that it makes no difference. I digged around the cfg file and found out that there is extmidi line. Does anyone knows what the options are for this line? Thanks.

Re: Changing MIDI device?

Posted: 20 Apr 2008 21:22
by engk
Really? No one knows anything about using a different device to play Transport Tycoons beloved soundtrack? Perhaps someone can point me in the right direction. Any help would be appreciated, Thanks.

Re: Changing MIDI device?

Posted: 20 Apr 2008 21:23
by Rubidium
Whether MIDI is played by OpenTTD or an external application depends on the compile time options and the OS.

Re: Changing MIDI device?

Posted: 21 Apr 2008 16:49
by engk
Thanks for replying Rubidium.
I do get midi music, its just that I want to use a different device to play it, since the quality of the midi is dependent on the device.

Re: Changing MIDI device?

Posted: 21 Apr 2008 18:24
by peter1138
To change MIDI device, run

Code: Select all

pmidi -l
which will output the list of devices. You can set the ALSA_OUTPUT_PORTS variable in your environment with

Code: Select all

export ALSA_OUTPUT_PORTS=128:0
(for example) or provide the option directly.

If this doesn't help you, you may try actually specifying which OS you are using rather than having us guess.