JMRI and sound

ModelRailroadForums.com is a free Model Railroad Discussion Forum and photo gallery. We cover all scales and sizes of model railroads. Online since 2002, it's one of the oldest and largest model railroad forums on the web. Whether you're a master model railroader or just getting started, you'll find something of interest here.


metalnwood

New Member
Hi guys, I am thinking about playing around with JMRI and was wondering if it supports sound in any fashion?

I.e. if controlling the train throught the jmri throttle can sounds be used with the loco, e.g. starting stopping, running etc.

I am sure that with some development hooks could be made if it's currently not possible but I am wondering if it is possible now?

Thanks
Jason
 
Sure you can! Plus the ease of changing sounds (whistles, chuff rates, etc) is easier with JMRI than with any other method! :D
 
Ahh, thats good news, my son will be very happy. Can't wait to get the layout going and see how it performs with it :)

I have written a few ipad apps and am also keen to integrate with the throttle interface to see what can be done!
 


I have been spending some more time and I can't find references to this?

Maybe my initial post was a bit ambiguous. I don't want to control an onboard sound decoder with jmri, I want jmri to act like a sound decoder for an engine and output the sounds through the computers speakers, for lack of having a dcc sound decoder.

If it does do this are there any references you can point me to?

Thanks!
 
To add to this, I have seen in the decoder pro how to assign some sounds, i.e. the audiobuffer, audiolistener and audiosource but I cannot see how it would work that you could assign a 'chug' to an engine and have it go faster/slower with the speed of the train.

Thanks,
 
i have no personal experience with this yet,but for now it seems that JMRI indeed can play sounds . open tools->table-> audio and click on help there. there is a link to "audio help page", they explain lot better then e.

in a glance it seems that one could create auudio objects (buffers) and asign them to a source to be played as part of Logix event. wasn't able to wing it right away, but looks very prommising.

EDIT:
metalnwood, it looks like the source object is where you configure the chuff repeat - thats where the looping and velocity defined
 
Last edited by a moderator:




Affiliate Disclosure: We may receive a commision from some of the links and ads shown on this website (Learn More Here)

Back
Top