Elvas Tower: Steam Locomotive Sound vs Driver Rotation - Elvas Tower

Jump to content

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

Steam Locomotive Sound vs Driver Rotation Rate Topic: -----

#11 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,144
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 02 March 2014 - 05:03 AM

As far as I can tell, driver rotation animation in ORTS is the same as in MSTS. By editing the S file animation the visual rotation can be made faster or slower, the line to look for is, animation ( 16 30 the numbers may be different, and the number to change is the second one, lower is slower, higher is faster. Only change this by single digit increase/decrease. Test, repeat if required.

The alternative is to edit the wheel radius in the eng file, smaller is faster, larger is slower. Using this method will also increase or decrease steam, fuel and water usage.

#12 User is offline   midneguy 

  • Foreman Of Engines
  • Group: Status: First Class
  • Posts: 931
  • Joined: 29-August 11
  • Gender:Male
  • Location:Nebraska
  • Simulator:MSTS
  • Country:

Posted 02 March 2014 - 10:44 AM

Hey Brandon - I figured you'd be working on getting your sounds into OR sooner or later :D

I can vouch for Brandon's observations that the sounds don't sync the same between the two sims... Most my experience has been with models animated to "animation ( 16 60 ", and between the two the sounds that are spot on in MSTS will be synchronized to something like 2/3 or 3/4 the speed in OR - that is playing a little slower than the wheels rotate. I've addressed this by adjusting my .sms files for use in OR and have done quite a bit of experimentation in that lately, tweaking the sound set I originally set up for Tim Muir's F-1 2-8-0's.

It is a bit of a pain making the tweaks to get the OR synchronization right, but since it sounds like the computations in OR won't be changing going forward, it's at least a "one time only" pain for each sound set lol.

Derek

#13 User is offline   rdamurphy 

  • Open Rails Developer
  • Group: Private - Open Rails Developer
  • Posts: 1,199
  • Joined: 04-May 06
  • Gender:Male
  • Location:Thornton, CO
  • Simulator:MSTS - OR
  • Country:

Posted 02 March 2014 - 11:06 AM

It shouldn't be difficult at all to adjust that, as long as we know what parameter in the .eng file we're adjusting to...

Robert

#14 User is offline   ATSF3751 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,085
  • Joined: 15-July 08
  • Gender:Male
  • Location:Wayzata, MN
  • Simulator:Open Rails
  • Country:

Posted 03 March 2014 - 08:44 AM

Well my sound files are unique to the MSTS community and others have now adopted to my SMS files. It has nothing to do with the .Eng files at all. Maybe one of the Open Rails team members should download one of my sound sets and then you guys can see what we are talking about. Lots of them on Trainsim.com just look up Brandon Smith. I am the one that came up with the sound sets for the UP 844 SP 4449, MILW 261, CP 2816 and a few others.

Brandon

#15 User is offline   rdamurphy 

  • Open Rails Developer
  • Group: Private - Open Rails Developer
  • Posts: 1,199
  • Joined: 04-May 06
  • Gender:Male
  • Location:Thornton, CO
  • Simulator:MSTS - OR
  • Country:

Posted 03 March 2014 - 09:32 AM

OK, can do, so where exactly in the sms file is the chuff sound defined?

Robert

#16 User is offline   gpz 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,772
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 03 March 2014 - 12:50 PM

I repeat the equation on this page too, so we see what we are talking about:
Variable1 = (Simulator.UseAdvancedAdhesion ? LocomotiveAxle.AxleSpeedMpS : SpeedMpS) / DriverWheelRadiusM;
// Unit is [rad/s]. Value of 6.28 means 1 rotation/second.

Variable1 in this context is used as a control variable for a frequency curve.
So again: What would be the correct formula? Should this be multiplied by 2/3 ? If so, what is the physics reason behind it?

#17 User is offline   ATSF3751 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,085
  • Joined: 15-July 08
  • Gender:Male
  • Location:Wayzata, MN
  • Simulator:Open Rails
  • Country:

Posted 03 March 2014 - 01:11 PM

All right here is an example of one of my SMS files!

Taken from my Southern 630 sound set!

Stream (
Priority ( 6 )
Triggers ( 8
Variable_Trigger ( Variable1_Inc_Past 0.5 SetStreamVolume ( 1 ) )
Variable_Trigger ( Variable1_Inc_Past 0.5 StartLoop ( 1 File ( "x_630_1.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( Variable1_Inc_Past 5 SetStreamVolume ( 0 ) )
Variable_Trigger ( Variable1_Inc_Past 5 ReleaseLoopRelease () )
Variable_Trigger ( Variable1_Dec_Past 5 SetStreamVolume ( 1 ) )
Variable_Trigger ( Variable1_Dec_Past 5 StartLoop ( 1 File ( "" ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( Variable1_Dec_Past 0.5 ReleaseLoopRelease () )
Variable_Trigger ( Variable1_Dec_Past 0.5 SetStreamVolume ( 0 ) )
)
FrequencyCurve (
Variable1Controlled
CurvePoints ( 2
0.5 6000
6.0 17000
)
Granularity ( 10 )
)
VolumeCurve (
Variable2Controlled
CurvePoints ( 13
0 0.1
0.1 0.2
1.0 0.2
2.0 0.3
5 0.4
10 0.5
15 0.6
20 0.7
25 0.8
30 0.9
40 0.95
50 0.96
99 0.99
)
Granularity ( 0.05 )
)
)
Stream (
Priority ( 6 )
Triggers ( 8
Variable_Trigger ( Variable1_Inc_Past 4 SetStreamVolume ( 1 ) )
Variable_Trigger ( Variable1_Inc_Past 4 StartLoop ( 1 File ( "x_630_3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( Variable1_Inc_Past 13 SetStreamVolume ( 0 ) )
Variable_Trigger ( Variable1_Inc_Past 13 ReleaseLoopRelease () )
Variable_Trigger ( Variable1_Dec_Past 13 SetStreamVolume ( 1 ) )
Variable_Trigger ( Variable1_Dec_Past 13 StartLoop ( 1 File ( "x_630_3.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( Variable1_Dec_Past 0.2 ReleaseLoopRelease () )
Variable_Trigger ( Variable1_Dec_Past 0.2 SetStreamVolume ( 0 ) )
)
FrequencyCurve (
Variable1Controlled
CurvePoints ( 2
3.2 3000
40.0 38000
)
Granularity ( 25 )
)
VolumeCurve (
Variable2Controlled
CurvePoints ( 13
0 0.1
0.1 0.2
1.0 0.2
2.0 0.3
5 0.4
10 0.5
15 0.6
20 0.7
25 0.8
30 0.9
40 0.95
50 0.96
99 0.99
)
Granularity ( 0.05 )
)
)
Stream (
Priority ( 6 )
Triggers ( 8
Variable_Trigger ( Variable1_Inc_Past 13 SetStreamVolume ( 1 ) )
Variable_Trigger ( Variable1_Inc_Past 13 StartLoop ( 1 File ( "x_630_4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( Variable1_Inc_Past 70 SetStreamVolume ( 0 ) )
Variable_Trigger ( Variable1_Inc_Past 70 ReleaseLoopRelease () )
Variable_Trigger ( Variable1_Dec_Past 70 SetStreamVolume ( 1 ) )
Variable_Trigger ( Variable1_Dec_Past 70 StartLoop ( 1 File ( "x_630_4.wav" -1 ) SelectionMethod ( SequentialSelection ) ) )
Variable_Trigger ( Variable1_Dec_Past 13 ReleaseLoopRelease () )
Variable_Trigger ( Variable1_Dec_Past 13 SetStreamVolume ( 0 ) )
)
FrequencyCurve (
Variable1Controlled
CurvePoints ( 2
3.2 4000
70.0 30000
)
Granularity ( 25 )
)
VolumeCurve (
Variable2Controlled
CurvePoints ( 13
0 0.1
0.1 0.2
1.0 0.2
2.0 0.3
5 0.4
10 0.5
15 0.6
20 0.7
25 0.8
30 0.9
40 0.95
50 0.96
99 0.99
)
Granularity ( 0.05 )
)
)

Hope this helps!

Brandon

#18 User is offline   ATSF3751 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,085
  • Joined: 15-July 08
  • Gender:Male
  • Location:Wayzata, MN
  • Simulator:Open Rails
  • Country:

Posted 04 March 2014 - 03:57 PM

Any way we could make my sounds work in Open Rails without having to redo all of the SMS Files?

Brandon

#19 User is offline   gpz 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,772
  • Joined: 27-October 12
  • Gender:Male
  • Location:Budapest
  • Simulator:OpenRails
  • Country:

Posted 04 March 2014 - 11:08 PM

Yes. We need an adjusted calculation equation for Variable1. Please advise if you have the knowledge how it is supposed to work.

Please see the current one above. Simplified: Variable1 = PerimeterSpeed / DriverWheelRadius
Current unit is radians/second. Value of 6.28 means 1 rotation/second.

#20 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,144
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 05 March 2014 - 02:31 AM

Variable 1 for sound files is wheel rotation in metres/sec so how is that matched to the OR variable1 of rad/sec?.

  • 12 Pages +
  • 1
  • 2
  • 3
  • 4
  • 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