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 +
  • « First
  • 2
  • 3
  • 4
  • You cannot start a new topic
  • You cannot reply to this topic

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

#31 User is offline   Brace_2011 

  • Hostler
  • Group: Status: Active Member
  • Posts: 63
  • Joined: 21-October 14
  • Gender:Male
  • Simulator:OpenRails
  • Country:

Posted 29 October 2017 - 12:03 AM

Thanks for this, Carlo.

It all makes sense - especially that there is no need to edit the *.sms files depending on its host route/installation. Different routes in a given installation will have different ttype.dat files, and I couldn't see how the *.sms would cope with this - this avoids problems.

Thanks

Martin

#32 User is offline   Coolhand101 

  • Foreman Of Engines
  • Group: Status: Contributing Member
  • Posts: 998
  • Joined: 13-June 15
  • Gender:Male
  • Simulator:MSTS
  • Country:

Posted 07 April 2018 - 08:58 AM

I've had the "CurveForce" parameter in my set ups from last year like this:

SIMISA@@@@@@@@@@JINX0x1t______


Tr_SMS (
	ScalabiltyGroup( 1
		Activation	(	Distance    ( 100 )	TrackType	( 12 ) ExternalCam() PassengerCam()  )
		Deactivation(	Distance    ( 100 )	TrackType   ( 12 ) CabCam() )
		Volume (0.9)
		Streams ( 1
		Stream (
			Priority (5)
			Triggers (3
                        Variable_Trigger ( CurveForce_Inc_Past  101	StartLoop ( 1 
                                                     File ( "x_curvesqueal2.wav" -1 ) SelectionMethod ( SequentialSelection )	) )
			       Variable_Trigger (  CurveForce_Dec_Past  100 ReleaseLoopRelease() ) 
                         Variable_Trigger (  Speed_Dec_Past       0.1 ReleaseLoopRelease () )
                           ) 
                           VolumeCurve( 
                                        CurveForceControlled 
                                        CurvePoints ( 3 
                                                0      0.0
                                                100    0.25 
                                                3000   1.0 
                                        ) 
                                        Granularity ( 10 ) 
                                ) 
                        )      
                  )
		)
      )
  


I cannot remember if OR supports this via the routes TTYPE file? I know it works for SMS Train set files!

Thanks

#33 User is offline   Csantucci 

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

Posted 07 April 2018 - 09:57 AM

The CurveForce triggers work independently from the tracktype. They are generated directly by the physics of the train.
In principle they are alternative to the automatic curve/switch track sound as described in this thread, although they can co-exist.

#34 User is offline   steamer_ctn 

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

Posted 04 May 2018 - 01:44 AM

Carlo,

Given that track pieces inside tunnels are differentiated from normal track pieces, would it also be possible to have a global sound "trigger" for tunnels as well? This would further reduce the number of points where the TType style of sound trigger would need to be inserted into the route?

Thanks

#35 User is offline   Csantucci 

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

Posted 04 May 2018 - 05:22 AM

Yes, that could be possible. However the benefit in general is lower, because while practically all routes have many curves and/or switches, many routes have no tunnels or few of them. And many of them already are equipped with specific sound regions in tunnels.

#36 User is offline   steamer_ctn 

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

Posted 04 May 2018 - 10:43 PM

Yes, I agree that the benefit is possibly lower, however if the code changes are minimal, then I still think it would be appropriate to add it, thus maintaining some level of consistency, and further reducing the number of locations that TType soundregions would need to be placed in a route.

#37 User is offline   ErickC 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,001
  • Joined: 18-July 17
  • Gender:Male
  • Location:Hastings, MN, US
  • Simulator:ORTS
  • Country:

Posted 05 May 2018 - 08:12 AM

View PostCsantucci, on 07 April 2018 - 09:57 AM, said:

The CurveForce triggers work independently from the tracktype. They are generated directly by the physics of the train.
In principle they are alternative to the automatic curve/switch track sound as described in this thread, although they can co-exist.

The way I see it, route-based curve squeal sounds are a good way to create an approximation for old content (using existing sounds without modification), and new content might be better off with curve squeal defined in the individual rolling stock's SMS. It's a good kind of flexibility to have, since I'd wager retrofitting a route is a lot simpler than retrofitting a whole bunch of legacy content, and the effort to implement the curve force dependent squeal into new SMS files is minimal.

  • 4 Pages +
  • « First
  • 2
  • 3
  • 4
  • 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