Some may already know, some may not. I only recently discovered this process myself for including little bit of reality when taking a train from one place to another.
Using text to speech with this free conversion program [web based] you can type whatever comes to mind and convert it to speech [mp3]. https://ttsmp3.com and with a variety of voices, it comes across quite realistic for a text to speech program. Then simply convert it to a .wav file also using a web based program https://www.freeconvert.com/to-wav
If you have Audacity installed [suggested] the file can be manipulated to desired output, including echo, decibel etc. The file is then loaded into an html asset, if you have one suitable.
I have used the trigger check rule to activate the wave file which was placed into <kuid:206816:99819> Sound Collection (Example) and configured accordingly using the add sound rule as a child of 'trigger check'.
On the downside the file will play the sound no matter what train you are controlling. i.e. If you are controlling train A and Train B triggers the asset you'll hear it in train A no matter where you are on the route. I am unaware if this can be eliminated. Maybe someone know if its possible.
Give this process a try, I really like it and will incorporate it in any future session I upload.
Cheers,
Val.
Using text to speech with this free conversion program [web based] you can type whatever comes to mind and convert it to speech [mp3]. https://ttsmp3.com and with a variety of voices, it comes across quite realistic for a text to speech program. Then simply convert it to a .wav file also using a web based program https://www.freeconvert.com/to-wav
If you have Audacity installed [suggested] the file can be manipulated to desired output, including echo, decibel etc. The file is then loaded into an html asset, if you have one suitable.
I have used the trigger check rule to activate the wave file which was placed into <kuid:206816:99819> Sound Collection (Example) and configured accordingly using the add sound rule as a child of 'trigger check'.
On the downside the file will play the sound no matter what train you are controlling. i.e. If you are controlling train A and Train B triggers the asset you'll hear it in train A no matter where you are on the route. I am unaware if this can be eliminated. Maybe someone know if its possible.
Give this process a try, I really like it and will incorporate it in any future session I upload.
Cheers,
Val.