<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://oxeyegames.com/wiki/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=UpdateTrackedSound</id>
		<title>UpdateTrackedSound - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://oxeyegames.com/wiki/index.php?action=history&amp;feed=atom&amp;title=UpdateTrackedSound"/>
		<link rel="alternate" type="text/html" href="http://oxeyegames.com/wiki/index.php?title=UpdateTrackedSound&amp;action=history"/>
		<updated>2026-04-08T06:57:30Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://oxeyegames.com/wiki/index.php?title=UpdateTrackedSound&amp;diff=334&amp;oldid=prev</id>
		<title>Thewreck: Created page with '{{AudioMethod | audio.updateTrackedSound(soundId [, gain [, modulation [, x, y, z, [speedX, speedY, speedZ]]]]) | Updates a sound that has been started by audio.[[startTrackedSou...'</title>
		<link rel="alternate" type="text/html" href="http://oxeyegames.com/wiki/index.php?title=UpdateTrackedSound&amp;diff=334&amp;oldid=prev"/>
				<updated>2010-01-18T13:54:14Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#39;{{AudioMethod | audio.updateTrackedSound(soundId [, gain [, modulation [, x, y, z, [speedX, speedY, speedZ]]]]) | Updates a sound that has been started by audio.[[startTrackedSou...&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{AudioMethod&lt;br /&gt;
|&lt;br /&gt;
audio.updateTrackedSound(soundId [, gain [, modulation [, x, y, z, [speedX, speedY, speedZ]]]])&lt;br /&gt;
|&lt;br /&gt;
Updates a sound that has been started by audio.[[startTrackedSound]].&lt;br /&gt;
|&lt;br /&gt;
{{MethodParam|soundId |A number|The sound id returned by audio.[[startTrackedSound]]}}&lt;br /&gt;
{{MethodParam|gain|A number|The power at which the sound is emitted.}}&lt;br /&gt;
{{MethodParam|modulation|A number|How pitch shifted the sound should be. Original pitch is 1.}}&lt;br /&gt;
{{MethodParam|x|A number|Position in space, in meters.}}&lt;br /&gt;
{{MethodParam|y|A number|Position in space, in meters.}}&lt;br /&gt;
{{MethodParam|z|A number|Position in space, in meters.}}&lt;br /&gt;
{{MethodParam|speedX|A number|The speed of the sound in space, for creation of doppler effects, in meters/second.}}&lt;br /&gt;
{{MethodParam|speedY|A number|The speed of the sound in space, for creation of doppler effects, in meters/second.}}&lt;br /&gt;
{{MethodParam|speedZ|A number|The speed of the sound in space, for creation of doppler effects, in meters/second.}}&lt;br /&gt;
|&lt;br /&gt;
Returns one value, soundId, or nil in case the soundFilename doesn't exist.&lt;br /&gt;
}}&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   local mySound = audio.startTrackedSound(&amp;quot;fireball.wav&amp;quot;)&lt;br /&gt;
   local fireBall = { x = 100 , y = 0 }&lt;br /&gt;
   audio.updateTrackedSound(mySound, 1 ,1 , fireBall.x, fireBall.y, 0)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Thewreck</name></author>	</entry>

	</feed>