Upcoming Games

No games to display

Full list
Add a game

Upcoming Events

No events to display

Sounds in the Simulator

You are here: Home > Forum > General > General questions, comments, and issues > Sounds in the Simulator

Page 1 of 1

Sounds in the Simulator 25/05/2018 at 23:12 #108225
RockingRPG
Avatar
11 posts
So I recently added a telephone chime for the signaller when a train calls me but it only plays like 2 seconds of it then repeating and does the the whole tune.

How can I fix this?

Log in to reply
Sounds in the Simulator 26/05/2018 at 09:19 #108238
Peter Bennet
Avatar
5360 posts
I'm not totally clear on what you are saying here.

Are you saying that you have a sound clip of (say) 10 seconds length, but it only plays the same 2 seconds repeatedly? If so that's probably how the core code works.

Or is it that it plays the first 2 seconds followed by the full 10 seconds? If so what happens next?

Peter

I identify as half man half biscuit - crumbs!
Log in to reply
The following user said thank you: RockingRPG
Sounds in the Simulator 26/05/2018 at 10:23 #108241
RockingRPG
Avatar
11 posts
I tried this time now for the general telephone message as I hoped to add it as like a notification like a ring ring but it doesn't play it fully unless answered
Log in to reply
Sounds in the Simulator 26/05/2018 at 10:39 #108245
jc92
Avatar
3629 posts
Peter one issue I found with the telephone message sound is it ring until answered (as you might expect) but after answering the call it would annoyingly continue to ring again for another full cycle of the selected noise.

Maybe this is what rockingrpg means

"We don't stop camborne wednesdays"
Log in to reply
The following users said thank you: RockingRPG, Ar88
Sounds in the Simulator 26/05/2018 at 17:34 #108262
Steamer
Avatar
3921 posts
I use this sound.

Never had a problem with it- it keeps sounding until the phone is answered. It does play again when you give your reply to the phone message, but it's only a two second clip so it's not a big problem.

"Don't stress/ relax/ let life roll off your backs./ Except for death and paying taxes/ everything in life.../ is only for now." (Avenue Q)
Log in to reply
The following user said thank you: RockingRPG
Sounds in the Simulator 26/05/2018 at 22:59 #108276
RockingRPG
Avatar
11 posts
Steamer in post 108262 said:
I use this sound.

Never had a problem with it- it keeps sounding until the phone is answered. It does play again when you give your reply to the phone message, but it's only a two second clip so it's not a big problem.
Thank you ever so much!

Log in to reply
Sounds in the Simulator 27/05/2018 at 22:13 #108301
clive
Avatar
2738 posts
I've just checked the core code. For all sounds except the telephone, it's played once.

For the telephone, the relevant windows system function is called every 2 seconds until the sound is disabled because the call is answered or the caller hangs up. That explains both why you only get the first 2 seconds each time and why you get the whole sound after answering.

Raised as Mantis 20593.

Log in to reply