How can I repeat a sound wav every 60 seconds in the Cab sms file
ie Play sound, wait 60 seconds, play sound and keep repeating every 60 secounds in the cab radio until cab radio is switched off
Page 1 of 1
Cab Radio Repeating Sound
#2
Posted 13 July 2020 - 05:48 AM
To play and wait? ... I dont know. As far as I know it is not possible.
I have a radio signal in my cabs that emits a blip every two minutes, so I arranged a wav file with the blip followed by several seconds of silence, totalizing 120 seconds... It was the only way I made it work.
I have a radio signal in my cabs that emits a blip every two minutes, so I arranged a wav file with the blip followed by several seconds of silence, totalizing 120 seconds... It was the only way I made it work.
#3
Posted 13 July 2020 - 11:44 AM
Could one set a random trigger on the sound in question, with the time window parameters all being 60 seconds (i.e. play this sound at a random time somewhere between 60 and 60 seconds from now)?
#4
Posted 13 July 2020 - 01:10 PM
ebnertra000, on 13 July 2020 - 11:44 AM, said:
Could one set a random trigger on the sound in question, with the time window parameters all being 60 seconds (i.e. play this sound at a random time somewhere between 60 and 60 seconds from now)?
This sounds good, could you give me the coding for the sms file?
#5
Posted 13 July 2020 - 09:21 PM
NZ_JOHN, on 13 July 2020 - 01:10 PM, said:
This sounds good, could you give me the coding for the sms file?
Got it sorted.
Sounds every 60 seconds when Cab Radio is on
I use it as the EOT (End of train) (Fred) Monitor
Stream (
skip(****** Cab radio EOT Monitor Sounds every 50 seconds ********)
Priority ( 6 )
Volume ( 1.0 )
Triggers ( 4
Initial_Trigger ( DisableTrigger ( 4 ) )
Discrete_Trigger ( 162 EnableTrigger ( 4 ) )
Discrete_Trigger ( 163 DisableTrigger ( 4 ) )
Random_Trigger (
Delay_Min_Max ( 60 60 )
Volume_Min_Max ( 2.5 3.0 )
PlayOneShot ( 3
`
File ( "EOT.wav" -1 )
File ( "EOT.wav" -1 )
File ( "EOT.wav" -1 )
SelectionMethod ( RandomSelection )
)
)
)
Page 1 of 1