is there any chance to use openttd MIDi music through ALSA / Linux?
if so how to do this with command line parameter (openttd -m ??)
MIDI music through ALSA / Linux
Moderator: OpenTTD Developers
Re: MIDI music through ALSA / Linux
Only indirectly via the extmidi "driver" which can call a midi player with the file to play as an argument. pmidi or aplaymidi sort of work for that.
He's like, some kind of OpenTTD developer.
Re: MIDI music through ALSA / Linux
any documentation how to use the extmidi driver?
Re: MIDI music through ALSA / Linux
i started fluidsynth and tried:
openttd -r 1915x1175 -m extmidi:aplaymidi -p 128:0 tttheme2.mid
but failed.
openttd -r 1915x1175 -m extmidi:aplaymidi -p 128:0 tttheme2.mid
but failed.
Re: MIDI music through ALSA / Linux
You need to quote the parameters, and add `cmd=`: `openttd -r 1915x1175 -m "extmidi:cmd=aplaymidi -p 128:0 tttheme2.mid"`
This can also be set in openttd.cfg as well.
This can also be set in openttd.cfg as well.
He's like, some kind of OpenTTD developer.
Re: MIDI music through ALSA / Linux
that's it! I didpeter1138 wrote: 13 Jan 2025 16:30 You need to quote the parameters, and add `cmd=`: `openttd -r 1915x1175 -m "extmidi:cmd=aplaymidi -p 128:0 tttheme2.mid"`
This can also be set in openttd.cfg as well.
openttd -r 1915x1175 -m "extmidi:cmd=aplaymidi -p 20:0 content_download/baseset/openmsx-0.4.0/*.mid"
and now I can enjoy openttd MIDI music with my oldschool Roland Sound Canvas.
Thanks a lot!
Who is online
Users browsing this forum: No registered users and 13 guests