<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.vdrift.net/index.php?action=history&amp;feed=atom&amp;title=Configuring_the_sound</id>
	<title>Configuring the sound - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.vdrift.net/index.php?action=history&amp;feed=atom&amp;title=Configuring_the_sound"/>
	<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configuring_the_sound&amp;action=history"/>
	<updated>2026-10-09T00:04:57Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configuring_the_sound&amp;diff=1240&amp;oldid=prev</id>
		<title>Timo 6: Remove update template</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configuring_the_sound&amp;diff=1240&amp;oldid=prev"/>
		<updated>2012-09-01T10:25:05Z</updated>

		<summary type="html">&lt;p&gt;Remove update template&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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&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 10:25, 1 September 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{update}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;Currently VDrift has 3D sound using OpenAL. In-game sounds include engine RPM sound and tire sounds. The game doesn&amp;#039;t have any music yet.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;Currently VDrift has 3D sound using OpenAL. In-game sounds include engine RPM sound and tire sounds. The game doesn&amp;#039;t have any music yet.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot; &gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;[[Category:Configuration]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;[[Category:Configuration]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Update]]&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configuring_the_sound&amp;diff=365&amp;oldid=prev</id>
		<title>Timo 6: 7 revisions: Import from old wiki (on 15 May 2012)</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configuring_the_sound&amp;diff=365&amp;oldid=prev"/>
		<updated>2012-08-26T17:21:27Z</updated>

		<summary type="html">&lt;p&gt;7 revisions: Import from old wiki (on 15 May 2012)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{update}}&lt;br /&gt;
&lt;br /&gt;
Currently VDrift has 3D sound using OpenAL. In-game sounds include engine RPM sound and tire sounds. The game doesn&amp;#039;t have any music yet.&lt;br /&gt;
&lt;br /&gt;
==Sound settings==&lt;br /&gt;
Configuring the sound is done by editing [[VDrift.config]] manually, or by changing the settings in the Options -&amp;gt; Sounds menu. As there is no game music yet, the only option is the volume of game sounds:&lt;br /&gt;
 [sound]&lt;br /&gt;
 volume = 1&lt;br /&gt;
&lt;br /&gt;
{{note|The following sections refer mostly to the Linux version of VDrift.}}&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting sound==&lt;br /&gt;
If the engine sound is very broken or choppy sounding, and you hear some noise or crackling, you need to tell OpenAL to try to use a different sound backend. If you don&amp;#039;t have an ~/.openalrc file, create it with these contents, or modify your current one to look like this:&lt;br /&gt;
&lt;br /&gt;
 (define devices                 &amp;#039;(native alsa sdl arts esd null))&lt;br /&gt;
 (define alsa-device             &amp;quot;dsp0&amp;quot;)&lt;br /&gt;
 (define speaker-num             2)&lt;br /&gt;
 ;(define sampling-rate          22050)&lt;br /&gt;
&lt;br /&gt;
The important line here is the &amp;quot;define devices&amp;quot; line, OpenAL attempts to use each of those sound output methods in order. It uses the first one that works; in some cases native will work best, in other cases perhaps alsa. If Gnome is running its sound daemon, esd would be the best choice, while KDE usually uses artsd.&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
If you don&amp;#039;t hear lots of crackling and choppiness, but you still hear a &amp;#039;click, click, click&amp;#039; sound as the engine sample loops, this is a bug in OpenAL for Linux (or a feature we haven&amp;#039;t found a way around...). We&amp;#039;ve heard there is a fix in the works from the OpenAL project.&lt;br /&gt;
&lt;br /&gt;
Also, certain cars have engines that rev very high, and our engine sound system can&amp;#039;t pitch shift high enough to play the sound at the correct frequency, after it hits the maximum pitch. This is currently only obvious on the F1 car.&lt;br /&gt;
&lt;br /&gt;
==OpenAL Utility Toolkit==&lt;br /&gt;
On older versions of OpenAL, ALUT was part of the OpenAL library. At some point not easily markable with a version number, ALUT became a separate library. This changed the way VDrift must be built, as well as some of the sound code.&lt;br /&gt;
&lt;br /&gt;
To accomodate users of the old version of OpenAL with ALUT included, there is a switch in the SCons build system used on Linux and FreeBSD. To compile VDrift with &amp;quot;old OpenAL&amp;quot; support, simply add the option to the scons compile command:&lt;br /&gt;
 scons old_openal=1&lt;br /&gt;
For more information on the build system see [[Using SCons]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration]]&lt;br /&gt;
[[Category:Update]]&lt;/div&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configuring_the_sound&amp;diff=363&amp;oldid=prev</id>
		<title>Timo 6 at 14:33, 11 December 2010</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configuring_the_sound&amp;diff=363&amp;oldid=prev"/>
		<updated>2010-12-11T14:33:33Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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&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 14:33, 11 December 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&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=&#039;diff-marker&#039;&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;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;==Sound settings==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;==Sound settings==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Configuring the sound is done by editing &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&amp;#039;&lt;/del&gt;VDrift.config&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;#039;&amp;#039; &lt;/del&gt;manually, or by changing the settings in the Options -&amp;gt; Sounds menu. As there is no game music yet, the only option is the volume of game sounds:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;Configuring the sound is done by editing &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;VDrift.config&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;manually, or by changing the settings in the Options -&amp;gt; Sounds menu. As there is no game music yet, the only option is the volume of game sounds:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;  [sound]&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;  [sound]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&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;  volume = 1&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&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;  volume = 1&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
	<entry>
		<id>http://wiki.vdrift.net/index.php?title=Configuring_the_sound&amp;diff=362&amp;oldid=prev</id>
		<title>Timo 6: Added the vdrift.config option</title>
		<link rel="alternate" type="text/html" href="http://wiki.vdrift.net/index.php?title=Configuring_the_sound&amp;diff=362&amp;oldid=prev"/>
		<updated>2010-12-11T14:29:24Z</updated>

		<summary type="html">&lt;p&gt;Added the vdrift.config option&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Currently VDrift has 3D sound using OpenAL. In-game sounds include engine RPM sound and tire sounds. The game doesn&amp;#039;t have any music yet.&lt;br /&gt;
&lt;br /&gt;
==Sound settings==&lt;br /&gt;
Configuring the sound is done by editing &amp;#039;&amp;#039;VDrift.config&amp;#039;&amp;#039; manually, or by changing the settings in the Options -&amp;gt; Sounds menu. As there is no game music yet, the only option is the volume of game sounds:&lt;br /&gt;
 [sound]&lt;br /&gt;
 volume = 1&lt;br /&gt;
&lt;br /&gt;
{{note|The following sections refer mostly to the Linux version of VDrift.}}&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting sound==&lt;br /&gt;
If the engine sound is very broken or choppy sounding, and you hear some noise or crackling, you need to tell OpenAL to try to use a different sound backend. If you don&amp;#039;t have an ~/.openalrc file, create it with these contents, or modify your current one to look like this:&lt;br /&gt;
&lt;br /&gt;
 (define devices                 &amp;#039;(native alsa sdl arts esd null))&lt;br /&gt;
 (define alsa-device             &amp;quot;dsp0&amp;quot;)&lt;br /&gt;
 (define speaker-num             2)&lt;br /&gt;
 ;(define sampling-rate          22050)&lt;br /&gt;
&lt;br /&gt;
The important line here is the &amp;quot;define devices&amp;quot; line, OpenAL attempts to use each of those sound output methods in order. It uses the first one that works; in some cases native will work best, in other cases perhaps alsa. If Gnome is running its sound daemon, esd would be the best choice, while KDE usually uses artsd.&lt;br /&gt;
&lt;br /&gt;
==Known bugs==&lt;br /&gt;
If you don&amp;#039;t hear lots of crackling and choppiness, but you still hear a &amp;#039;click, click, click&amp;#039; sound as the engine sample loops, this is a bug in OpenAL for Linux (or a feature we haven&amp;#039;t found a way around...). We&amp;#039;ve heard there is a fix in the works from the OpenAL project.&lt;br /&gt;
&lt;br /&gt;
Also, certain cars have engines that rev very high, and our engine sound system can&amp;#039;t pitch shift high enough to play the sound at the correct frequency, after it hits the maximum pitch. This is currently only obvious on the F1 car.&lt;br /&gt;
&lt;br /&gt;
==OpenAL Utility Toolkit==&lt;br /&gt;
On older versions of OpenAL, ALUT was part of the OpenAL library. At some point not easily markable with a version number, ALUT became a separate library. This changed the way VDrift must be built, as well as some of the sound code.&lt;br /&gt;
&lt;br /&gt;
To accomodate users of the old version of OpenAL with ALUT included, there is a switch in the SCons build system used on Linux and FreeBSD. To compile VDrift with &amp;quot;old OpenAL&amp;quot; support, simply add the option to the scons compile command:&lt;br /&gt;
 scons old_openal=1&lt;br /&gt;
For more information on the build system see [[Using SCons]].&lt;br /&gt;
&lt;br /&gt;
[[Category:Configuration]]&lt;br /&gt;
[[Category:Update]]&lt;/div&gt;</summary>
		<author><name>Timo 6</name></author>
	</entry>
</feed>