Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

How can I automatically turn sound on and off???

2586 views
12 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    February 2002
  • From: Mpls/St.Paul
  • 13,892 posts
Posted by wjstix on Tuesday, August 23, 2011 5:09 PM

You could just hit F8 when the engine entered the tunnel I suppose. However IIRC trains in a tunnel are supposed to ring their bell in the tunnel, in case anyone is inside. I suspect the problem may be a model tunnel that is unlined so the entire hill is resonating to the sound of the engine. If it really bothers you, you might as well bite the bullet and tear out the scenery and re-do it with tunnel liners to deaden the sound and perhaps something under the tracks too.

Stix
  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Tuesday, August 23, 2011 5:05 PM

larsend

How about a reed switch in series with the speaker and magnets at the tunnel entrance/exit?

 That could work. Just remember you did it to a particualr loco because when it suddenly has no sound you don't think the decoder is smoked. There are latching reed switches, so that a magnet aligned one way will open the contacts and one aligned the other way will close them. Or you cna boas the switch with a magnet mounted near the switch. Use a normally open reed switch, and a small magnet such that it isn;t strong enought o close the contacts. A second magnet aligned such as to add magnetic force can close the contacts, and the small magnet will hodl them closed. A magnet aligned to subtract magnetic force will make the contacts open.

            --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    December 2001
  • From: 200 feet from the Mackay Branch
  • 97 posts
Posted by larsend on Tuesday, August 23, 2011 3:54 PM

How about a reed switch in series with the speaker and magnets at the tunnel entrance/exit?

  • Member since
    September 2007
  • From: Charlotte, NC
  • 6,099 posts
Posted by Phoebe Vet on Thursday, August 18, 2011 3:18 PM

I have three tunnels.  One is more than 8 feet long.  I can hardly hear the trains when they are in the tunnels.

It would be cheaper and much easier to just line the tunnels with sound deadening material.

Dave

Lackawanna Route of the Phoebe Snow

  • Member since
    December 2004
  • From: Pa.
  • 3,361 posts
Posted by DigitalGriffin on Thursday, August 18, 2011 1:39 PM

You would have to have

http://www.digitrax.com/prd_statdec_tf4.php installed in every train

http://www.digitrax.com/prd_statdec_rx4.php with one sensor at the end of each tunnel.

And somedecently smart custom computer software to handle it all.

Algorithm:

1) Poll Transponder sensors at tunnel ends

2)  If train crosses transponder sensor (tunnel end) get train number

3) If train NOT on list of trains in tunnel, program on main CV to reduce volume.  (based on decoder mfg).  If train is already in tunnel list then it is leaving, so increase volume by program on main

4) If train entering tunnel add it to list of trains in tunnel.  Add to list which sensor it entered at.

5) Goto 1

It's not quite this simple however.  You might start to enter the tunnel and then decide to back out through the same way.  Then the above algorithm won't work.  The train would remain silent because it never hit the exit transponder receiver.

HOWEVER if you used 4 transponders receivers/track, you could solve this problem with some additional logic.  See the sample track diagram below:

TR1   TR2              TR3   TR4

====| ==== ==== ====| ====  <---Track

        ^                               ^

     Tunnel End            Tunnel End

If the trains crosses TR2, or TR3, mute the sound.  If it crosses TR1 or TR4, then unmute the sound.

 

 

Don - Specializing in layout DC->DCC conversions

Modeling C&O transition era and steel industries There's Nothing Like Big Steam!

  • Member since
    October 2006
  • From: Western, MA
  • 8,571 posts
Posted by richg1998 on Thursday, August 18, 2011 1:21 PM

Think of the added expense of sensors and electronic interface with your DCC controller? Different manufactures of DCC controllers? How about the sound gradually decreasing as they enter and increasing as they exit?

How would users of dual more sound decoders who run  their sound locos with DC power pack do this?

There is a lot involved in trying to do all this. How about an automatic sound of the engineer blowing his nose when the coal cinders get into his nose?

We are just boys playing with toys. You can only simulate so much.

Rich

If you ever fall over in public, pick yourself up and say “sorry it’s been a while since I inhabited a body.” And just walk away.

  • Member since
    January 2010
  • From: Denver, CO
  • 3,576 posts
Posted by Motley on Thursday, August 18, 2011 11:21 AM

Ya this is a strange request. I think hearing a locomotive inside a tunnel is the best thing ever. I always blow the horns on my locomotives going through the mountain tunnel.

For me, when I was a kid, we'd take a car trip up in the mountains, and driving through the tunnels, my parents always blew the horn, to hear it echo. It was the coolest thing ever.

Michael


CEO-
Mile-HI-Railroad
Prototype: D&RGW Moffat Line 1989

Moderator
  • Member since
    June 2003
  • From: Northeast OH
  • 17,249 posts
Posted by tstage on Wednesday, August 17, 2011 5:53 PM

Kenny350

It is a large mountain...and while it is running thru it passes underneath other tracks. I think

it would sound funny to hear a train and not see it

???Tongue Tied???  I guess I just don't quite see the dilemma.  Wouldn't you hear the prototype inside a tunnel before it emerged into daylight?  How long - i.e. track-wise (in feet) - is the train out of view?  Could you somehow dampen the sound from underneath with acoustical foam?

Tom

https://tstage9.wixsite.com/nyc-modeling

Time...It marches on...without ever turning around to see if anyone is even keeping in step.

  • Member since
    December 2008
  • 19 posts
Posted by Kenny350 on Sunday, August 14, 2011 9:18 PM

It is a large mountain...and while it is running thru it passes underneath other tracks. I think

it would sound funny to hear a train and not see it

  • Member since
    February 2002
  • From: Reading, PA
  • 30,002 posts
Posted by rrinker on Sunday, August 14, 2011 7:57 PM

 Probably so the mountain doesn;t chug.

You COULD turn the volume down so the mountain properly muffles the sound.

This coudl be done with block detecotrs and a script in JMRI, but you have ot know which loco is running, so when the tunnel entrance is tripped, it sends an F8 or whatever is the mute command for that particular decoder to the loco address, and when it comes out it turns F8 off to bring the sound back.

                 --Randy

 


Modeling the Reading Railroad in the 1950's

 

Visit my web site at www.readingeastpenn.com for construction updates, DCC Info, and more.

  • Member since
    May 2008
  • 4,612 posts
Posted by Hamltnblue on Sunday, August 14, 2011 7:30 PM

There may be a way to automate that with a software driven layout but I'm curious. Why would you want to?

Springfield PA

  • Member since
    December 2008
  • 19 posts
How can I automatically turn sound on and off???
Posted by Kenny350 on Sunday, August 14, 2011 7:20 PM

Hi All,

I would like to turn the sound on my loco on and off as it enters and leaves a tunnel.

Is there a way that  uses dcc electronics, say with block detectors or optic sensors

to turn off the engine sounds off and leave the light on when entering a tunnel and

turn it back on when leaving.

Thanks, Kenny

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Users Online

There are no community member online

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!