Changing MIDI device?

Got a problem with OpenTTD? Find some help here.

Moderator: OpenTTD Developers

Post Reply
engk
Engineer
Engineer
Posts: 4
Joined: 16 Apr 2008 18:19

Changing MIDI device?

Post 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.
engk
Engineer
Engineer
Posts: 4
Joined: 16 Apr 2008 18:19

Re: Changing MIDI device?

Post 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.
Rubidium
OpenTTD Developer
OpenTTD Developer
Posts: 3815
Joined: 09 Feb 2006 19:15

Re: Changing MIDI device?

Post by Rubidium »

Whether MIDI is played by OpenTTD or an external application depends on the compile time options and the OS.
engk
Engineer
Engineer
Posts: 4
Joined: 16 Apr 2008 18:19

Re: Changing MIDI device?

Post 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.
peter1138
OpenTTD Developer
OpenTTD Developer
Posts: 1794
Joined: 30 Mar 2005 09:43

Re: Changing MIDI device?

Post 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.
He's like, some kind of OpenTTD developer.
Post Reply

Return to “OpenTTD Problems”

Who is online

Users browsing this forum: Semrush [Bot] and 5 guests