.
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: Trainz is not very Bluetooth sound friendly.

  1. #1
    Join Date
    Oct 2013
    Location
    United States of America, Oklahoma, Lawton
    Posts
    1,661
    Blog Entries
    5
     

    Question Trainz is not very Bluetooth sound friendly.

    I've discovered that if I shut off my Bluetooth headset and turn it back on again during a session, there will be no Trainz sound when the headset is turned on again. I will get no sound whatsoever from either the headset or the PC speakers unless the program is shutdown and restarted. What's the deal with this? It doesn't matter if it's TS 2012 or even TANE SP4.
    TANE SP2 Build 90945, downloaded Dec. 2017, TS12 Build 61388, downloaded Feb. 2018, American citizen, Lawton, OK

  2. #2
    Join Date
    Oct 2018
    Location
    USA - North Carolina
    Posts
    1,958
     

    Default

    Likely a Windows/Sound (Bluetooth Driver?) issue rather than anything to do with Trainz. Try using Sound Control Panel to select sound output and reconnect again.
    TRS19: Std SP3, Plus SP2, Plus SP3, Plus Beta 114400; Tane SP4

  3. #3
    Join Date
    Dec 2011
    Location
    USA Florida and Illinois
    Posts
    1,174
    Blog Entries
    1
     

    Default

    Quote Originally Posted by JonMyrlennBailey View Post
    I've discovered that if I shut off my Bluetooth headset and turn it back on again during a session, there will be no Trainz sound when the headset is turned on again. I will get no sound whatsoever from either the headset or the PC speakers unless the program is shutdown and restarted. What's the deal with this? It doesn't matter if it's TS 2012 or even TANE SP4.
    Do not shut off the Bluetooth device while running the simulation. If so you will need to restart the simulation to reinitialize the Bluetooth driver software. Some newer Bluetooth devices and receivers like Alienware Killer Wireless can overcome this.
    If it's not broke, don't fix it.


  4. #4
    Join Date
    Oct 2013
    Location
    United States of America, Oklahoma, Lawton
    Posts
    1,661
    Blog Entries
    5
     

    Default

    I don't have this problem with other apps on my PC such as YouTube videos or Windows Media Player. Switching on/off Bluetooth devices disables the sound only in Trainz. Trainz has screwy audio.
    TANE SP2 Build 90945, downloaded Dec. 2017, TS12 Build 61388, downloaded Feb. 2018, American citizen, Lawton, OK

  5. #5
    Join Date
    Oct 2018
    Location
    USA - North Carolina
    Posts
    1,958
     

    Default

    post withdrawn
    Last edited by 1611mac; September 11th, 2021 at 05:39 PM.
    TRS19: Std SP3, Plus SP2, Plus SP3, Plus Beta 114400; Tane SP4

  6. #6
    Join Date
    Nov 2006
    Location
    United Kingdom
    Posts
    1,276
     

    Default

    Hi,
    All of the Trains programs will use the sound output (as selected in Windows) that was current when Trainz program was started.
    If you change the audio output while Trainz is running there's no effect.

    I guess that restarting Bluetooth changes the output stream settings - which Trainz ignores.

    Colin

  7. #7
    Join Date
    Oct 2013
    Location
    United States of America, Oklahoma, Lawton
    Posts
    1,661
    Blog Entries
    5
     

    Default

    Either trying to restart Bluetooth or convert back to PC speakers will cause Trainz in progress to go silent. You can start Bluetooth in Trainz, but not interrupt it, lest all sound will be lost until program is shut down and restarted. Trainz software engineers are some piece of work. Most other programs with audio as media players, Windows Sounds and browsers don't seem to go silent when switching between audio outputs. I'm not sure if other sims or PC games behave like Trainz when switching Bluetooth headsets on or off. By my own discovery, TS12 and TANE SP4 behave exactly in the same fashion when switching between audio outputs while the game is in progress. One can't switch between full-screen mode and window minimize/restore down mode while the game is running also. Trainz is not flexible with regards to some settings.
    Last edited by JonMyrlennBailey; September 12th, 2021 at 08:09 AM.
    TANE SP2 Build 90945, downloaded Dec. 2017, TS12 Build 61388, downloaded Feb. 2018, American citizen, Lawton, OK

  8. #8
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    29,995
     

    Default

    There are other applications that have this issue so it's not just Trainz that's having problems. The issue is how the audio is accessed. Some applications use the audio passively, such as a browser for example. With a browser, the operating system is doing the work and any application that needs to output sounds does so through whatever means is provided. Applications such as games, yes this does include Trainz, Arma3, Cities: Skylines, to name a few, and other audio-specific applications such as those used to edit audio, access the hardware directly via the driver provided by the operating system in order to optimize the performance. What this is doing is it's removing the extra layer of the operating system getting in the way, and the applications talk to the drivers through their own connection. When you disable your Bluetooth device, you are actually disconnecting the hardware driver, without reinitializing a driver connection to the software, and this causes the programs to continue to point to the Bluetooth port. The only way to reconnect to a new hardware device is to restart the program since the original port and connection isn't there any longer and let the program find the new device that's now connected.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    T:ANE Build: 94829
    TRS2019/Trainz-PLUS: 109641

  9. #9
    Join Date
    Nov 2006
    Location
    Australia, NSW, Sydney
    Posts
    7,904
    Blog Entries
    3
     

    Default

    Simple solution: Don't change your audio output device after starting Trainz. Problem solved!
    TRS19 Plus build 111951 and build 113142
    Trainz Simulator 3 (Mobile)

  10. #10
    Join Date
    Oct 2013
    Location
    United States of America, Oklahoma, Lawton
    Posts
    1,661
    Blog Entries
    5
     

    Default

    Quote Originally Posted by pware View Post
    Simple solution: Don't change your audio output device after starting Trainz. Problem solved!
    If the battery in my Bluetooth headset is low it could shut off and kill Trainz sound. I tend to have a Trainz session open sometimes and running for days in the background. I have to use my PC for other purposes meanwhile and my headset for other purposes (phone, music, etc.) as well in between. Sometimes I want to have my headset on during Trainz play to get a more awesome sound than my puny desktop PC speakers put out. Other times, the headset gets uncomfortable after wearing so long and I want to go back to open speakers again. Since I have a start-up helicopter in my game, I have to go thru the bother of restarting that as well following a session relaunch. Vulcan's aircraft engines die and chopper blades stop spinning when a session is closed and relaunched. The other bothersome thing about Trainz is I cannot switch between full screen, restore down and minimize window during game play. In full-screen mode, I have to shut the game down and be able to access other parts of my PC. Many programs allow you to hit Escape, Esc, to get out of full screen. YouTube let's you get out of full screen by hitting Esc.
    Last edited by JonMyrlennBailey; September 12th, 2021 at 04:57 PM.
    TANE SP2 Build 90945, downloaded Dec. 2017, TS12 Build 61388, downloaded Feb. 2018, American citizen, Lawton, OK

  11. #11
    Join Date
    Oct 2018
    Location
    USA - North Carolina
    Posts
    1,958
     

    Default

    I use old time RF (radio freq) wireless headphones and I really like them. Sennheiser RS120's. In fact, I have four of them I like them so much. They are almost all I use for my Macs, PC, and iPad. The base unit just stays on and plugged into computer's audio output. Simple.
    TRS19: Std SP3, Plus SP2, Plus SP3, Plus Beta 114400; Tane SP4

  12. #12
    Join Date
    Oct 2013
    Location
    United States of America, Oklahoma, Lawton
    Posts
    1,661
    Blog Entries
    5
     

    Default

    It could be that Trainz is a piggy domineering program that has too much control over the computer's hardware but is not smart enough to manage changes between speakers and headset. Windows should be left to run the audio; Trainz should just run the locos.
    Last edited by JonMyrlennBailey; September 13th, 2021 at 07:00 PM.
    TANE SP2 Build 90945, downloaded Dec. 2017, TS12 Build 61388, downloaded Feb. 2018, American citizen, Lawton, OK

  13. #13
    Join Date
    Nov 2006
    Location
    Canberra, ACT. Australia
    Posts
    8,975
    Blog Entries
    30
     

    Default

    This problem occurs with my Cowin bluetooth headset as well but it doesn't bother me since I usually have the Trainz sound turned right down. I'd rather listen to music than a half dozen diesels making a racket. I don't drive my car with all the windows down so I can hear all the road noise so why would I do it in Trainz.

    Paul


  14. #14
    Join Date
    Nov 2006
    Location
    Australia, NSW, Sydney
    Posts
    7,904
    Blog Entries
    3
     

    Default

    Well to be fair, the sounds in Trainz are an important part of the "experience" for many. Even though the sound quality and options are often criticized in these forums.

    If I was a car enthusiast (which thankfully I am not) I would more than likely wind down the windows to get a better appreciation of the engine noises.
    TRS19 Plus build 111951 and build 113142
    Trainz Simulator 3 (Mobile)

  15. #15
    Join Date
    Nov 2006
    Location
    United States of America, Massachusetts, Haverhill
    Posts
    29,995
     

    Default

    Quote Originally Posted by JonMyrlennBailey View Post
    It could be that Trainz is a piggy domineering program that has too much control over the computer's hardware but is not smart enough to manage changes between speakers and headset. Windows should be left to run the audio; Trainz should just run the locos.
    Read my post. To get a bit more technical, it's called DMA or Direct Memory Access, meaning the device hardware is mapped directly so that it has high priority through its drivers. What this means is a program, such as Trainz, can take control of the hardware directly, as I said above, to avoid the overhead of the operating system. When you turn your device off, or the batteries run out and it powers down, the device reference is removed and Trainz no longer has sounds. There are other devices with DMA interrupts such as hard drives. If we have more than one hard drive and the none boot drive goes offline, we lose that drive until the system is rebooted. USB works differently and so do removable hard drives because there are two parts to the driver. The USB device, for example is accessed via special hardware ports, in addition to the physical ports. These have their own way of accessing the peripherals and they apply the disconnect from the outside instead of being directly off of the internal buss.

    Hope this explains it.
    John
    Trainz User Since: 12-2003
    Trainz User ID: 124863
    T:ANE Build: 94829
    TRS2019/Trainz-PLUS: 109641

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •