FS#6051 - No music playback with timidity++ and OpenTTD 1.4.1

Attached to Project: OpenTTD
Opened by Ascanius (Ascanius) - Thursday, 26 June 2014, 15:17 GMT
Type Bug
Category Core
Status New
Assigned To No-one
Operating System Linux
Severity Low
Priority Normal
Reported Version 1.4.1
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


On a Debian 7 system, timidity++ does not play OpenMSX, Modern Motion or other in-game music with the latest OpenTTD 1.4.1 .deb package from the official site. The version in Debian's stable repository (1.2.1) works fine with the same music sets.

The issue is the same with OpenTTD 1.4.1 on an Arch Linux system, with Arch's openttd and timidity++ packages, and OpenMSX (both via content download and via the AUR).
This task depends upon

Comment by Matthew Brades (ZirconiumX) - Tuesday, 22 July 2014, 15:28 GMT
Have you installed (on Arch) timidity-freepats?

Comment by Ascanius (Ascanius) - Wednesday, 23 July 2014, 22:25 GMT
timidity-freepats is installed, and playing openMSX music files via timidity++ works. Same on Ubuntu.
Comment by Matthew Brades (ZirconiumX) - Thursday, 24 July 2014, 08:45 GMT
I remember the workaround now.

Install portmidi. Run timidity as a daemon. Create a shell script that contains the one liner "pmidi -p128:0 $1" (without quotes). Start openttd like this: "openttd -m extmidi:<path>" replacing <path> with the path to your shell script one liner.

Comment by Matthew Brades (ZirconiumX) - Thursday, 24 July 2014, 08:49 GMT
I made a typo.

"openttd -m extmidi:cmd=<path>"