Elvas Tower: Automatic curve squeal sound - Elvas Tower

Jump to content

Posting Rules

All new threads will be started by members of the Open Rails team, Staff, and/or Admins. Existing threads started in other forums may get moved here when it makes sense to do so.

Once a thread is started any member may post replies to it.
  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Automatic curve squeal sound Rate Topic: -----

#1 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 03 February 2017 - 01:25 PM

I have already a beta version for automatic curve squeal sound (which works in conjunction with automatic switch track sound).
I will make it available after committing the automatic door open/close for AI trains.
A blueprint has just been filed https://blueprints.l...ve-squeal-sound .

Setup is analogous to that for the automatic switch track sound. Here an example of an .include file:


include ( "../Riviera di levante.trk" )
			ORTSDefaultTurntableSMS ( turntable.sms )
			ORTSSwitchSMSNumber ( 12 )
			ORTSCurveSMSNumber ( 13 )	
			ORTSCurveSwitchSMSNumber ( 16 )				

and here an example of the related ttype.dat file (there are also unused files in it, it's the file I use for testing).
SIMISA@@@@@@@@@@JINX0t1t______

18
TrackType ( "Default" 				"egos0In.sms" "egos0Ex.sms"	)
TrackType ( "Concrete Supported"	"egos1In.sms" "egos1Ex.sms"	)
TrackType ( "Wood Supported" 		"egos2In.sms" "egos2Ex.sms"	)
TrackType ( "Cadenza Tunnel" 			"egos3In.sms" "egos3Ex.sms"	)
TrackType ( "Steel Bridge" 			"egos4In.sms" "egos4Ex.sms"	)
TrackType ( "Girder Bridge" 		"egos5In.sms" "egos5Ex.sms"	)
TrackType ( "Under Bridge" 			"egos6In.sms" "egos6Ex.sms"	)
TrackType ( "Cadenza Scambio" 		"egos7In.sms" "egos7Ex.sms"	)
TrackType ( "Crossing Platform" 	"egos8In.sms" "egos8Ex.sms"	)
TrackType ( "Wooden Bridge" 		"egos9In.sms" "egos9Ex.sms"	)
TrackType ( "Romiscambio" 		"Italianpoint7in.sms" "Italianpoint7ex.sms"	)
TrackType ( "Romicurva" 		"ItalianCurve5in.sms" "ItalianCurve5ex.sms"	)
TrackType ( "Cadenza Scambio" 		"New track sound/switchtrack7in.sms" "New track sound/switchtrack7ex.sms"	)
TrackType ( "Squeal Curve" 		"Bernina track sound/Bernina_curvesquealtrack11in.sms" "Bernina track sound/Bernina_curvesquealtrack11ex.sms"	)
TrackType ( "Squeal Tunnel" 		"Bernina track sound/Bernina_tunnelsquealtrack12in.sms" "Bernina track sound/Bernina_tunnelsquealtrack12ex.sms"	)
TrackType ( "Squeal Station" 		"Bernina track sound/Bernina_stationsquealtrack13in.sms" "Bernina track sound/Bernina_stationsquealtrack13ex.sms"	)
TrackType ( "Squeal Curve Intro" 		"Bernina track sound/Bernina_curvesquealintrotrack14in.sms" "Bernina track sound/Bernina_curvesquealintrotrack14ex.sms"	)
TrackType ( "Squeal Tunnel Intro" 		"Bernina track sound/Bernina_tunnelsquealintrotrack15in.sms" "Bernina track sound/Bernina_tunnelsquealintrotrack15ex.sms"	)


#2 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,888
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 03 February 2017 - 03:15 PM

Hi Carlo,

Sounds like another good addition to OR.

Will it be possible to specify a threshold curve radius at which the curve squeal will start to work?

Curve squeal tends to only be a problem for lower speed trains on tight curve radius.

#3 User is offline   conductorchris 

  • Vice President
  • Group: Status: First Class
  • Posts: 2,345
  • Joined: 24-March 10
  • Gender:Male
  • Simulator:Open Rails - MSTS
  • Country:

Posted 03 February 2017 - 06:01 PM

Excellent!

And some lines are especially full of squeals because the gauge isn't true. I grew up on a 10 mph branch line that had welded rail and plenty of sequels.

Christopher

#4 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 03 February 2017 - 11:52 PM

Hi steamer,
yes, there is a maximum radius above which no sound is played. So my question is: what could be this maximum radius? And second question: above such radius threshold you don't have squeal, however maybe you still have some curve specific sound up to a second threshold. Or not?

#5 User is offline   steamer_ctn 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 1,888
  • Joined: 24-June 11
  • Gender:Male
  • Country:

Posted 04 February 2017 - 02:49 AM

Hi Carlo,

View PostCsantucci, on 03 February 2017 - 11:52 PM, said:

yes, there is a maximum radius above which no sound is played. So my question is: what could be this maximum radius? And second question: above such radius threshold you don't have squeal, however maybe you still have some curve specific sound up to a second threshold. Or not?

Wheel squeal varies due to a number of different conditions and factors, including curve radius, speed, wheel and track shape, fixed wheelbase length of rolling stock, etc, so different people may wish to set the threshold at a different curve radius. Perhaps a setting in the INCLUDE TRK file?

This is one of many articles that describe the phenomena.

Personally I work on a curve radius value less then 300m when applying it in other routes that I have built using the alternative track sounds approach.

At the moment I cannot think of any secondary sound, but I will sleep on it for a bit.

Thanks

#6 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,490
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 04 February 2017 - 07:09 AM

View PostCsantucci, on 03 February 2017 - 01:25 PM, said:

include ( "../Riviera di levante.trk" )
			ORTSDefaultTurntableSMS ( turntable.sms )
			ORTSSwitchSMSNumber ( 12 )
			ORTSCurveSMSNumber ( 13 )	
			ORTSCurveSwitchSMSNumber ( 16 )				


Does it make sense to have separate values for each combination, instead of just playing both the switch and curve sounds at once? I was expecting them to be orthogonal options.

#7 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 04 February 2017 - 08:28 AM

I understand the point, but doing that as I suggest uses the standard track sound mechanism (1 sound at a time / 1 sound source at a time) and so requires few additional lines of code and few additional resources. Making them orthogonal would require creating a further sound track mechanism and adding a second sound source for the short time of switch passing. Neither leaving such second sound source open is a good option, because track sound sources are the ones that most influence the total amount of sound sources, that already now can reach the maximum Open Rails accepts in crowded areas. So adding a "mixed" curve/switch sound seems to me an acceptable solution.

#8 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 04 February 2017 - 08:29 AM

View PostJames Ross, on 04 February 2017 - 07:09 AM, said:

Does it make sense to have separate values for each combination, instead of just playing both the switch and curve sounds at once? I was expecting them to be orthogonal options.


In my opinion no, it does not. They should be played independently. What is more I think that both switch and curve squeal sounds should be played independently from defined track sound - as additional streams imposed on track sound when triggered. This would reduce number of sms files with no loss for variety.

Csantucci said:

Making them orthogonal would require creating a further sound track mechanism and adding a second sound source for the short time of switch passing.


Does it take more resources that another stream defined in sms file?

#9 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 6,996
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 04 February 2017 - 08:36 AM

View Postistvanek, on 04 February 2017 - 08:29 AM, said:

Does it take more resources that another stream defined in sms file?

Yes.

#10 User is offline   istvanek 

  • Hostler
  • Group: Status: Active Member
  • Posts: 74
  • Joined: 23-March 15
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 04 February 2017 - 08:45 AM

View PostCsantucci, on 04 February 2017 - 08:36 AM, said:

Yes.


OK, if so, it is better to leave a possibility to define multiple switch/squeal + track sound .sms files.

  • 4 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users