<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=Variable%3Adriving_noise</id>
	<title>Variable:driving noise - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.tt-wiki.net/index.php?action=history&amp;feed=atom&amp;title=Variable%3Adriving_noise"/>
	<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Variable:driving_noise&amp;action=history"/>
	<updated>2026-05-03T15:28:01Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=Variable:driving_noise&amp;diff=7933&amp;oldid=prev</id>
		<title>Maquinista: Add a interesting link</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Variable:driving_noise&amp;diff=7933&amp;oldid=prev"/>
		<updated>2011-10-14T00:35:05Z</updated>

		<summary type="html">&lt;p&gt;Add a interesting link&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:35, 14 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note:	locotool 0.4.3 decodes field_11A[0-63] (= fields 0x11A to 0x159) as chars (8-bit), that is values between 0 and 255. Yet some of these variables are actually short integers (16-Bit: 0-65535). I have written these variables as, for example, field_11A[5&amp;amp;6], where you get the actual value with &amp;lt;tt&amp;gt;field_11A[6]*256+field_11A[5] &amp;lt;/tt&amp;gt; (note the order).&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note:	locotool 0.4.3 decodes field_11A[0-63] (= fields 0x11A to 0x159) as chars (8-bit), that is values between 0 and 255. Yet some of these variables are actually short integers (16-Bit: 0-65535). I have written these variables as, for example, field_11A[5&amp;amp;6], where you get the actual value with &amp;lt;tt&amp;gt;field_11A[6]*256+field_11A[5] &amp;lt;/tt&amp;gt; (note the order).&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note 2: Adding new sounds can cause some problems in previous games an scenarios. You can find more information about it, and how to solve them [http://www.tt-forums.net/viewtopic.php?f=37&amp;amp;t=38392&amp;amp;start=0&amp;amp;hilit=jet+engine here].&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Variables ==&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Variables ==&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maquinista</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=Variable:driving_noise&amp;diff=7915&amp;oldid=prev</id>
		<title>Maquinista: /* Definitions */</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Variable:driving_noise&amp;diff=7915&amp;oldid=prev"/>
		<updated>2011-10-13T00:29:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Definitions&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:29, 13 October 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 94:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 94:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; &amp;lt;div id=&quot;speed_dependency&quot;&amp;gt;speed dependency&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;; &amp;lt;div id=&quot;speed_dependency&quot;&amp;gt;speed dependency&amp;lt;/div&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Describes how much the sampling rate increases with the speed of a vehicle. The lower the value the higher the pitch on full speed. I can&#039;t give an exact scale and it may depend on the base sampling rate aswell, however it is quite sensitive. Reasonable values are between 10 and 15, too small values can result in an integer overflow for the sampling rate.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: Describes how much the sampling rate increases with the speed of a vehicle. The lower the value the higher the pitch on full speed. I can&#039;t give an exact scale and it may depend on the base sampling rate aswell, however it is quite sensitive. Reasonable values are between 10 and 15, too small values can result in an integer overflow for the sampling rate.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:Locomotion development]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maquinista</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=Variable:driving_noise&amp;diff=5125&amp;oldid=prev</id>
		<title>Orudge: 8 revisions</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Variable:driving_noise&amp;diff=5125&amp;oldid=prev"/>
		<updated>2011-06-13T17:44:59Z</updated>

		<summary type="html">&lt;p&gt;8 revisions&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This describes the fields for defining the driving noise of vehicles.&lt;br /&gt;
&lt;br /&gt;
Note:	locotool 0.4.3 decodes field_11A[0-63] (= fields 0x11A to 0x159) as chars (8-bit), that is values between 0 and 255. Yet some of these variables are actually short integers (16-Bit: 0-65535). I have written these variables as, for example, field_11A[5&amp;amp;6], where you get the actual value with &amp;lt;tt&amp;gt;field_11A[6]*256+field_11A[5] &amp;lt;/tt&amp;gt; (note the order).&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&amp;#039;&amp;#039;startsndtype&amp;#039;&amp;#039; - Defines how the driving sound is played and how field_11A[0-63(?)] works.&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 0 ===&lt;br /&gt;
	No driving sound. field_11A[0-63] empty.&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 1 ===&lt;br /&gt;
Normal driving sound type for carriages, sampling rate changes with speed.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[0]&amp;#039;&amp;#039; - Unknown/Unused/Untested&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[1&amp;amp;2]&amp;#039;&amp;#039; - Unknown&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[3&amp;amp;4]&amp;#039;&amp;#039; - Minimum speed for the sound to be played&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[5]&amp;#039;&amp;#039; - [[#speed_dependency|Speed dependency]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[6&amp;amp;7]&amp;#039;&amp;#039; - Base [[#sampling_rate|sampling rate]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[8]&amp;#039;&amp;#039; - Unknown&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[9]&amp;#039;&amp;#039; - [[#volume|Volume]] at low speed&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[10]&amp;#039;&amp;#039; - Volume at high speed; Has to be greater than field_11A[9]&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 2 ===&lt;br /&gt;
Normal engine sounds, different sampling rate and volume for three modes of operation.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[0]&amp;#039;&amp;#039; - Unknown/Unused/Untested&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[1&amp;amp;2]&amp;#039;&amp;#039; - [[#sampling_rate|Sampling rate]] for no-load (braking and idle)&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[3]&amp;#039;&amp;#039; - [[#volume|Volume]] for no-load&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[4&amp;amp;5]&amp;#039;&amp;#039; - Sampling rate for load (driving with constant speed)&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[6]&amp;#039;&amp;#039; - Volume for load&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[7&amp;amp;8]&amp;#039;&amp;#039; - Sampling rate for full-load (accelerating)&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[9]&amp;#039;&amp;#039; - Volume for full-load&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[10&amp;amp;11]&amp;#039;&amp;#039; - [[#fade_speed|Fade speed]] from no-load or load to load or full-load sound&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[12&amp;amp;13]&amp;#039;&amp;#039; - [[#fade_speed|Fade speed]] from full-load or load to load or no-load sound&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[14]&amp;#039;&amp;#039; - [[#fade_speed|Fade speed]] on vehicle placement or after breakdown&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[15]&amp;#039;&amp;#039; - Unknown (could be another fade speed)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[16]&amp;#039;&amp;#039; - [[#speed_dependency|Speed dependency]] for full-load; Other modes have constant sampling rates&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 3 ===&lt;br /&gt;
Vehicles with multi-ratio transmission with up to four gears.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[0]&amp;#039;&amp;#039; - Unknown/Unused/Untested&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[ 1&amp;amp; 2]&amp;#039;&amp;#039; - Idle [[#sampling_rate|Sampling rate]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[3]&amp;#039;&amp;#039; - Idle volume&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[ 4&amp;amp; 5]&amp;#039;&amp;#039; - Base Sampling rate&lt;br /&gt;
	&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[ 6&amp;amp; 7]&amp;#039;&amp;#039; - Speed for 2nd gear&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[ 8&amp;amp; 9]&amp;#039;&amp;#039; - Sampling rate decrease for 2nd gear&lt;br /&gt;
	&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[10&amp;amp;11]&amp;#039;&amp;#039; - Speed for 3rd gear&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[12&amp;amp;13]&amp;#039;&amp;#039; - Sampling rate decrease from 2nd to 3rd gear&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[14&amp;amp;15]&amp;#039;&amp;#039; - Speed for 4th gear&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[16&amp;amp;17]&amp;#039;&amp;#039; - Sampling rate decrease from 3nd to 4th gear&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[18]&amp;#039;&amp;#039; - Driving [[#volume|Volume]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[19]&amp;#039;&amp;#039; - Volume while accelerating&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[20&amp;amp;21]&amp;#039;&amp;#039; - [[#fade_speed|Fade speed]] for downshift&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[22&amp;amp;23]&amp;#039;&amp;#039; - Fade speed for upshift&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[24]&amp;#039;&amp;#039; - Fade speed on vehicle placement or after breakdown&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[25]&amp;#039;&amp;#039; - Unknown (could be another fade speed)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[26]&amp;#039;&amp;#039; - [[#speed_dependency|Speed dependency]]&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 4-? ===&lt;br /&gt;
Unused/Untested. Locomotion vehicles use only type 0-3, yet there are plenty of unused fields left.&lt;br /&gt;
&lt;br /&gt;
== Definitions ==&lt;br /&gt;
Explanations and suggested values for the various variables.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;div id=&amp;quot;volume&amp;quot;&amp;gt;volume&amp;lt;/div&amp;gt;&lt;br /&gt;
: Loudness. Common values range from 150 to 210.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;div id=&amp;quot;sampling_rate&amp;quot;&amp;gt;sampling rate&amp;lt;/div&amp;gt;&lt;br /&gt;
: Locomotion can play sounds with variable sampling rate and thus change pitch and tempo with the vehicles speed or mode of operation. Locomotion sound files are encoded with a sampling rate of 22050 Hz, so this would be a good value to start with. Note that the perceived volume varies with the pitch too.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;div id=&amp;quot;fade_speed&amp;quot;&amp;gt;fade speed&amp;lt;/div&amp;gt;&lt;br /&gt;
: Describes how long Locomotion fades from one sampling rate to another. The higher the value the shorter this fade time. Good values are around 200 for 16-bit values, and between 1 and 4 for 8-bits.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;div id=&amp;quot;speed_dependency&amp;quot;&amp;gt;speed dependency&amp;lt;/div&amp;gt;&lt;br /&gt;
: Describes how much the sampling rate increases with the speed of a vehicle. The lower the value the higher the pitch on full speed. I can&amp;#039;t give an exact scale and it may depend on the base sampling rate aswell, however it is quite sensitive. Reasonable values are between 10 and 15, too small values can result in an integer overflow for the sampling rate.&lt;/div&gt;</summary>
		<author><name>Orudge</name></author>
	</entry>
	<entry>
		<id>https://www.tt-wiki.net/index.php?title=Variable:driving_noise&amp;diff=5123&amp;oldid=prev</id>
		<title>Orudge: Reverted edits by Apedizivif (Talk) to last version by MerrittAmerica</title>
		<link rel="alternate" type="text/html" href="https://www.tt-wiki.net/index.php?title=Variable:driving_noise&amp;diff=5123&amp;oldid=prev"/>
		<updated>2010-12-07T17:35:59Z</updated>

		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/wiki/Special:Contributions/Apedizivif&quot; title=&quot;Special:Contributions/Apedizivif&quot;&gt;Apedizivif&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Apedizivif&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Apedizivif (page does not exist)&quot;&gt;Talk&lt;/a&gt;) to last version by &lt;a href=&quot;/index.php?title=User:MerrittAmerica&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:MerrittAmerica (page does not exist)&quot;&gt;MerrittAmerica&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This describes the fields for defining the driving noise of vehicles.&lt;br /&gt;
&lt;br /&gt;
Note:	locotool 0.4.3 decodes field_11A[0-63] (= fields 0x11A to 0x159) as chars (8-bit), that is values between 0 and 255. Yet some of these variables are actually short integers (16-Bit: 0-65535). I have written these variables as, for example, field_11A[5&amp;amp;6], where you get the actual value with &amp;lt;tt&amp;gt;field_11A[6]*256+field_11A[5] &amp;lt;/tt&amp;gt; (note the order).&lt;br /&gt;
&lt;br /&gt;
== Variables ==&lt;br /&gt;
&amp;#039;&amp;#039;startsndtype&amp;#039;&amp;#039; - Defines how the driving sound is played and how field_11A[0-63(?)] works.&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 0 ===&lt;br /&gt;
	No driving sound. field_11A[0-63] empty.&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 1 ===&lt;br /&gt;
Normal driving sound type for carriages, sampling rate changes with speed.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[0]&amp;#039;&amp;#039; - Unknown/Unused/Untested&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[1&amp;amp;2]&amp;#039;&amp;#039; - Unknown&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[3&amp;amp;4]&amp;#039;&amp;#039; - Minimum speed for the sound to be played&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[5]&amp;#039;&amp;#039; - [[#speed_dependency|Speed dependency]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[6&amp;amp;7]&amp;#039;&amp;#039; - Base [[#sampling_rate|sampling rate]]&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[8]&amp;#039;&amp;#039; - Unknown&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[9]&amp;#039;&amp;#039; - [[#volume|Volume]] at low speed&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[10]&amp;#039;&amp;#039; - Volume at high speed; Has to be greater than field_11A[9]&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 2 ===&lt;br /&gt;
Normal engine sounds, different sampling rate and volume for three modes of operation.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[0]&amp;#039;&amp;#039; - Unknown/Unused/Untested&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[1&amp;amp;2]&amp;#039;&amp;#039; - [[#sampling_rate|Sampling rate]] for no-load (braking and idle)&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[3]&amp;#039;&amp;#039; - [[#volume|Volume]] for no-load&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[4&amp;amp;5]&amp;#039;&amp;#039; - Sampling rate for load (driving with constant speed)&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[6]&amp;#039;&amp;#039; - Volume for load&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[7&amp;amp;8]&amp;#039;&amp;#039; - Sampling rate for full-load (accelerating)&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[9]&amp;#039;&amp;#039; - Volume for full-load&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[10&amp;amp;11]&amp;#039;&amp;#039; - [[#fade_speed|Fade speed]] from no-load or load to load or full-load sound&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[12&amp;amp;13]&amp;#039;&amp;#039; - [[#fade_speed|Fade speed]] from full-load or load to load or no-load sound&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[14]&amp;#039;&amp;#039; - [[#fade_speed|Fade speed]] on vehicle placement or after breakdown&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[15]&amp;#039;&amp;#039; - Unknown (could be another fade speed)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[16]&amp;#039;&amp;#039; - [[#speed_dependency|Speed dependency]] for full-load; Other modes have constant sampling rates&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 3 ===&lt;br /&gt;
Vehicles with multi-ratio transmission with up to four gears.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[0]&amp;#039;&amp;#039; - Unknown/Unused/Untested&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[ 1&amp;amp; 2]&amp;#039;&amp;#039; - Idle [[#sampling_rate|Sampling rate]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[3]&amp;#039;&amp;#039; - Idle volume&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[ 4&amp;amp; 5]&amp;#039;&amp;#039; - Base Sampling rate&lt;br /&gt;
	&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[ 6&amp;amp; 7]&amp;#039;&amp;#039; - Speed for 2nd gear&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[ 8&amp;amp; 9]&amp;#039;&amp;#039; - Sampling rate decrease for 2nd gear&lt;br /&gt;
	&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[10&amp;amp;11]&amp;#039;&amp;#039; - Speed for 3rd gear&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[12&amp;amp;13]&amp;#039;&amp;#039; - Sampling rate decrease from 2nd to 3rd gear&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[14&amp;amp;15]&amp;#039;&amp;#039; - Speed for 4th gear&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[16&amp;amp;17]&amp;#039;&amp;#039; - Sampling rate decrease from 3nd to 4th gear&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[18]&amp;#039;&amp;#039; - Driving [[#volume|Volume]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[19]&amp;#039;&amp;#039; - Volume while accelerating&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[20&amp;amp;21]&amp;#039;&amp;#039; - [[#fade_speed|Fade speed]] for downshift&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[22&amp;amp;23]&amp;#039;&amp;#039; - Fade speed for upshift&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[24]&amp;#039;&amp;#039; - Fade speed on vehicle placement or after breakdown&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[25]&amp;#039;&amp;#039; - Unknown (could be another fade speed)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;field_11A[26]&amp;#039;&amp;#039; - [[#speed_dependency|Speed dependency]]&lt;br /&gt;
&lt;br /&gt;
=== startsndtype 4-? ===&lt;br /&gt;
Unused/Untested. Locomotion vehicles use only type 0-3, yet there are plenty of unused fields left.&lt;br /&gt;
&lt;br /&gt;
== Definitions ==&lt;br /&gt;
Explanations and suggested values for the various variables.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;div id=&amp;quot;volume&amp;quot;&amp;gt;volume&amp;lt;/div&amp;gt;&lt;br /&gt;
: Loudness. Common values range from 150 to 210.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;div id=&amp;quot;sampling_rate&amp;quot;&amp;gt;sampling rate&amp;lt;/div&amp;gt;&lt;br /&gt;
: Locomotion can play sounds with variable sampling rate and thus change pitch and tempo with the vehicles speed or mode of operation. Locomotion sound files are encoded with a sampling rate of 22050 Hz, so this would be a good value to start with. Note that the perceived volume varies with the pitch too.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;div id=&amp;quot;fade_speed&amp;quot;&amp;gt;fade speed&amp;lt;/div&amp;gt;&lt;br /&gt;
: Describes how long Locomotion fades from one sampling rate to another. The higher the value the shorter this fade time. Good values are around 200 for 16-bit values, and between 1 and 4 for 8-bits.&lt;br /&gt;
&lt;br /&gt;
; &amp;lt;div id=&amp;quot;speed_dependency&amp;quot;&amp;gt;speed dependency&amp;lt;/div&amp;gt;&lt;br /&gt;
: Describes how much the sampling rate increases with the speed of a vehicle. The lower the value the higher the pitch on full speed. I can&amp;#039;t give an exact scale and it may depend on the base sampling rate aswell, however it is quite sensitive. Reasonable values are between 10 and 15 like [http://www.rushessay.com/prices.php buy essay], [http://essaysexperts.com buy essays], too small values can result in an integer overflow for the sampling rate.&lt;/div&gt;</summary>
		<author><name>Orudge</name></author>
	</entry>
</feed>