MIDI not using VirtualMIDISynth
Moderator: OpenTTD Developers
MIDI not using VirtualMIDISynth
As the title said, the midi in game is not using VirtualMIDISynth despite VMS works ok in Windows Media Player. This issue is not present in 1.8.0 before only after update to 1.9.0 this issue happen.
I am Limyx826.
Re: MIDI not using VirtualMIDISynth
Which music driver are you using? The DirectMusic driver is the default on Windows, and it will always use the standard Microsoft GS softsynth if you don't manually configure it to use a different output port.
The alternate Win32 driver will use the system default MIDI device for output instead.
Both can be configured to use any MIDI output device on the system, but can only be configured via editing openttd.cfg or via commandline parameters.
I use this line in my openttd.cfg to play music to an external MIDI synth:
The alternate Win32 driver will use the system default MIDI device for output instead.
Both can be configured to use any MIDI output device on the system, but can only be configured via editing openttd.cfg or via commandline parameters.
I use this line in my openttd.cfg to play music to an external MIDI synth:
Code: Select all
musicdriver = "win32:port=4"
Re: MIDI not using VirtualMIDISynth
I learn something new every day. Thanks!jfs wrote:Which music driver are you using? The DirectMusic driver is the default on Windows, and it will always use the standard Microsoft GS softsynth if you don't manually configure it to use a different output port.
The alternate Win32 driver will use the system default MIDI device for output instead.
Both can be configured to use any MIDI output device on the system, but can only be configured via editing openttd.cfg or via commandline parameters.
I use this line in my openttd.cfg to play music to an external MIDI synth:Code: Select all
musicdriver = "win32:port=4"
Do you like drones, quadcopters & flying toys? Check out Drone Strike Force!
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Base Music Sets: OpenMSX | Scott Joplin Anthology | Traditional Winter Holiday Music | Modern Motion Music
Other Projects: 2CC Trams | Modern Waypoints | Sprite Sandbox & NewGRF Releases | Ideabox | Town Names | Isle of Sodor Scenario | Random Sprite Repository
Misc Topics: My Screenshots | Forgotten NewGRFs | Unfinished Graphics Sets | Stats Shack | GarryG's Auz Sets
Re: MIDI not using VirtualMIDISynth
To me worked with "dmusic:port=3"
Re: MIDI not using VirtualMIDISynth
I had no idea which music driver my windows used. Attached screenshot of my device manager, check it if you can see which one is default.jfs wrote:Which music driver are you using? The DirectMusic driver is the default on Windows, and it will always use the standard Microsoft GS softsynth if you don't manually configure it to use a different output port.
The alternate Win32 driver will use the system default MIDI device for output instead.
Both can be configured to use any MIDI output device on the system, but can only be configured via editing openttd.cfg or via commandline parameters.
As for the openttd.cfg, I use "win32:port=2" and it worked. Thanks for that method.jfs wrote: I use this line in my openttd.cfg to play music to an external MIDI synth:Code: Select all
musicdriver = "win32:port=4"
- Attachments
-
- Device Manager.png
- (228.21 KiB) Not downloaded yet
I am Limyx826.
Re: MIDI not using VirtualMIDISynth
As far as I can tell you don't have any MIDI devices installed at all, so you probably only have the Microsoft synth available. But look under the "Software devices" branch in Device Manager, it may show some additional things.Limyx826 wrote: I had no idea which music driver my windows used. Attached screenshot of my device manager, check it if you can see which one is default.
Attaching a screenshot of my setup. I have a bunch of hardware MIDI synths and stuff, which is why I have multiple in/out ports.
- Attachments
-
- mmc_2019-05-21.png (158.16 KiB) Viewed 393 times
Who is online
Users browsing this forum: GarryG, Google Adsense [Bot] and 22 guests