¿ªÔÆÌåÓý

Locked Re: Running a python script in JMRI #scripting


 

Could you do the combining separately, in an audio editor, to create a new wav file outside JMRI? Then, at the appropriate time, just select that file and play it.

Bob

On Dec 23, 2019, at 10:53 PM, tim_p1964@... wrote:

Thanks for the replies. i have previously tried adding import JMRI and import java, makes no difference. the premise for the script is that i want to be able to combine various short wave files into one so as to be able to play the one file as a train arrival announcement. e.g. "the train arriving"+"at platform 1"+ "is the" etc etc.which files would depend on which train etc etc. whilst i can do the logic and read the sensors and block values. I can also play the wav file from within JMRI. what i cant do is get the combine wav script to run in jmri.
--
Bob Jacobsen
rgj1927@...

Join [email protected] to automatically receive all group messages.