Author Topic: Sound effect mute MIDI music  (Read 91 times)

0 Members and 1 Guest are viewing this topic.

Offline ROCAMBOLER529

Sound effect mute MIDI music
« on: December 05, 2017, 08:34:52 PM »
I love the simutransĀ“s sounds effects but i dont know why always that some effect sound appear, the music
 automaticaly mute!!! This bug appear in some paks & version of simutrans when i point with the magnifying glass a convoi that it drops his passengers, mail or goods to its final station/stop (or the money effect sound), when the sound appear, this effect mute the music played at this moment and forever exept when i close and reopen the game.

.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4900
  • Total likes: 217
  • Helpful: 108
  • Languages: EN, NO
Re: Sound effect mute MIDI music
« Reply #1 on: December 05, 2017, 09:01:08 PM »
I've never heard of complete muting of music, but I do know that on Windows, with the plain Windows backend (not SDL), the program-wide volume is changed when the volume of sound effects is set. (This was different in earlier Windows versions, I think. Or maybe it has something to do with no hardware MIDI.) This is due to the basic sound API Simutrans uses on Windows not having an option for setting volume per sound. Windows has other, newer sound APIs, but several of them are much more difficult to use. The most promising one is not available when using mingw64 to build Simutrans, so I haven't been able to look into that.


(Nor do I play with in-game music, or sound effects, so I don't feel much need to either.)

Offline ROCAMBOLER529

Re: Sound effect mute MIDI music
« Reply #2 on: December 07, 2017, 06:10:01 PM »
if you want i can give you more details: the MIDI music mute in every sound effect (not only the money effect sound) but the music didnt mute into the first effect that it appeared. For example some days ago i tried to use the sound effect with the MIDI music and 5 minutes later the MIDI music turned off automatically!!!