<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=Sound</id>
	<title>Sound - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=Sound"/>
	<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=Sound&amp;action=history"/>
	<updated>2026-04-07T18:44:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.splashdamage.com/index.php?title=Sound&amp;diff=3356&amp;oldid=prev</id>
		<title>Ducks: Batch update</title>
		<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=Sound&amp;diff=3356&amp;oldid=prev"/>
		<updated>2007-11-21T15:32:42Z</updated>

		<summary type="html">&lt;p&gt;Batch update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Usage ==&lt;br /&gt;
Speakers emit sound from their origin, and pan around the user's speakers as they turn their character and move around inside the map environment. Sounds can be either called from within code, or by being placed as a [[Entity speaker|speaker]] at a specific location inside a map.&lt;br /&gt;
&lt;br /&gt;
Sounds themselves are defined within sound shader files. ETQW uses a number of files containing many sound shaders in each. For example, 'ambience.sndshd' contains a list of sound shaders for environmental and ambient sounds. Sound shaders define how a sound is played and allow a single sound to be constructed from a number of .wav files.&lt;br /&gt;
&lt;br /&gt;
=== Map Usage ===&lt;br /&gt;
A [[Entity speaker|speaker]] entity should be placed at all sound sources within the map. In some cases - such as forests or sea shore - it is necessary to create a number of sound entities along the length and breadth of the area in order to ensure the sound is present within (or along) the entire area.&lt;br /&gt;
&lt;br /&gt;
* See [[Entity speaker|speaker]] for information on how to use this entity&lt;br /&gt;
&lt;br /&gt;
== Creating Sounds ==&lt;br /&gt;
Sounds consist of two elements:&lt;br /&gt;
&lt;br /&gt;
* A .wav file of the sound itself&lt;br /&gt;
* A .sndshd sound shader declaration, referencing the .wav file&lt;br /&gt;
&lt;br /&gt;
Sounds are then referred to by the name given to them in their shader declaration.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Sound shaders are typically set up using [[editSounds]].&lt;br /&gt;
&lt;br /&gt;
A sound shader declaration can be as simple as this:&lt;br /&gt;
&lt;br /&gt;
 sound ambience/outdoors/quacking {&lt;br /&gt;
 	sounds/ambience/outdoors/water_creatures/ducks_quacking.wav&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
The sound could then be referred to by the name {{keyvalue|ambience/outdoors/quacking}} from both speakers and coded events.&lt;br /&gt;
&lt;br /&gt;
== Reference ==&lt;br /&gt;
&lt;br /&gt;
Royalty-free sounds can be sourced from a number of places.&lt;br /&gt;
&lt;br /&gt;
* [http://freesound.iua.upf.edu/ The freesound project]&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[editSounds]]&lt;br /&gt;
* [[Entity speaker|speaker]]&lt;br /&gt;
* [[ScriptEvent:startSound]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Basic Level Design]]&lt;/div&gt;</summary>
		<author><name>Ducks</name></author>
		
	</entry>
</feed>