BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Door sounds not being played

2 posters

Go down

Door sounds not being played Empty Door sounds not being played

Post by Gothpaladinus Fri Jun 19, 2020 1:52 am

Hello there. I have recently noticed a major issue: door opening and closing sounds do not work at all in newer openBVE versions if they have a specific format. I have the MMZ 81-740 from BVE Klub Museum (originally made for BVE 2's fictional Budapest M4 metro line in 2004) and its door sounds don't play, and thus door opening/closure takes only a second without any sound.

I have taken a look at the sounds' media info. They have this:

Code:
General
Complete name               : D:\Old-PC\OpenBVE\UserData\LegacyContent\Train\81-740\DoorOpn.wav
Format                      : Wave
File size                   : 32.4 KiB
Duration                    : 1 s 500 ms
Overall bit rate mode       : Constant
Overall bit rate            : 177 kb/s

Audio
Format                      : PCM
Format settings             : Unsigned
Codec ID                    : 1
Duration                    : 1 s 500 ms
Bit rate mode               : Constant
Bit rate                    : 176.4 kb/s
Channel(s)                  : 1 channel
Sampling rate               : 22.05 kHz
Bit depth                   : 8 bits
Stream size                 : 32.3 KiB (100%)
Code:
General
Complete name               : D:\Old-PC\OpenBVE\UserData\LegacyContent\Train\81-740\DoorCls.wav
Format                      : Wave
File size                   : 56.4 KiB
Duration                    : 2 s 617 ms
Overall bit rate mode       : Constant
Overall bit rate            : 177 kb/s

Audio
Format                      : PCM
Format settings             : Unsigned
Codec ID                    : 1
Duration                    : 2 s 617 ms
Bit rate mode               : Constant
Bit rate                    : 176.4 kb/s
Channel(s)                  : 1 channel
Sampling rate               : 22.05 kHz
Bit depth                   : 8 bits
Stream size                 : 56.4 KiB (100%)

It seems like that newer openBVE versions do not support this sound format at all, while older ones, such as version 1.4.3 played them correctly without any issues.
Gothpaladinus
Gothpaladinus

Posts : 27
Join date : 2012-05-10
Age : 27
Location : Újpest, Budapest, Hungary

https://gothpaladinus.wixsite.com/gothpaladinusbve

Back to top Go down

Door sounds not being played Empty Re: Door sounds not being played

Post by leezer3 Sat Jun 20, 2020 12:25 pm

I think it's a corrupt (or at least non-conformant to the standard) wave file, which may well have been solved in the most recent daily build:
https://github.com/leezer3/OpenBVE/pull/493/commits/5490275f60884350b88b2dfdafd19ff7c5fcc09c

See what happens, will try and test myself at some stage over the weekend.

leezer3

Posts : 1803
Join date : 2011-08-23

http://www.bvecornwall.co.uk

Back to top Go down

Door sounds not being played Empty Re: Door sounds not being played

Post by Gothpaladinus Sun Jun 21, 2020 8:19 pm

OK, I downloaded the latest (20200620) build, and it already plays correctly the sounds above, so it can be confirmed working for stable builds. Thank you for the fix!
Gothpaladinus
Gothpaladinus

Posts : 27
Join date : 2012-05-10
Age : 27
Location : Újpest, Budapest, Hungary

https://gothpaladinus.wixsite.com/gothpaladinusbve

Back to top Go down

Door sounds not being played Empty Re: Door sounds not being played

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum