Door sounds not being played
2 posters
Page 1 of 1
Door sounds not being played
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:
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.
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.
Re: Door sounds not being played
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.
https://github.com/leezer3/OpenBVE/pull/493/commits/5490275f60884350b88b2dfdafd19ff7c5fcc09c
See what happens, will try and test myself at some stage over the weekend.
Re: Door sounds not being played
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!
Similar topics
» Sounds still played after crashing train
» Run sounds played at constant pitch
» "Silent Night" played on six trams and two busses!
» Door buttons
» Door animation
» Run sounds played at constant pitch
» "Silent Night" played on six trams and two busses!
» Door buttons
» Door animation
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum