<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.crumbledworld.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.crumbledworld.com/index.php?action=history&amp;feed=atom&amp;title=Sound"/>
	<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Sound&amp;action=history"/>
	<updated>2026-04-22T00:35:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://wiki.crumbledworld.com/index.php?title=Sound&amp;diff=132&amp;oldid=prev</id>
		<title>Anders: Created page with &quot;{{:SoundExampleCode}}  ==Constructor== {| class=&quot;wikitable&quot; !|function !|description |- |Sound(string fileName, SoundType type) | |- |}  ==Functions== {| class=&quot;wikitable&quot; !|return !|function !|description |- |String |getName() |Get sound file name. |- |bool |successFullyLoaded() |Get if the sound was successfully loaded. |- |SoundSource |playSound(float so...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.crumbledworld.com/index.php?title=Sound&amp;diff=132&amp;oldid=prev"/>
		<updated>2025-07-05T14:26:30Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{:SoundExampleCode}}  ==Constructor== {| class=&amp;quot;wikitable&amp;quot; !|function !|description |- |Sound(string fileName, &lt;a href=&quot;/index.php/SoundType&quot; title=&quot;SoundType&quot;&gt;SoundType&lt;/a&gt; type) | |- |}  ==Functions== {| class=&amp;quot;wikitable&amp;quot; !|return !|function !|description |- |&lt;a href=&quot;/index.php/String&quot; title=&quot;String&quot;&gt;String&lt;/a&gt; |&lt;a href=&quot;/index.php?title=Sound:getName()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Sound:getName() (page does not exist)&quot;&gt;getName&lt;/a&gt;() |Get sound &lt;a href=&quot;/index.php/File&quot; title=&quot;File&quot;&gt;file&lt;/a&gt; name. |- |bool |&lt;a href=&quot;/index.php?title=Sound:successFullyLoaded()&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Sound:successFullyLoaded() (page does not exist)&quot;&gt;successFullyLoaded&lt;/a&gt;() |Get if the sound was successfully loaded. |- |&lt;a href=&quot;/index.php/SoundSource&quot; title=&quot;SoundSource&quot;&gt;SoundSource&lt;/a&gt; |&lt;a href=&quot;/index.php?title=Sound:playSound(float_soundLevel,_bool_loop)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Sound:playSound(float soundLevel, bool loop) (page does not exist)&quot;&gt;playSound&lt;/a&gt;(float so...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{:SoundExampleCode}}&lt;br /&gt;
&lt;br /&gt;
==Constructor==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|Sound(string fileName, [[SoundType]] type)&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Functions==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!|return&lt;br /&gt;
!|function&lt;br /&gt;
!|description&lt;br /&gt;
|-&lt;br /&gt;
|[[String]]&lt;br /&gt;
|[[Sound:getName()|getName]]()&lt;br /&gt;
|Get sound [[file]] name.&lt;br /&gt;
|-&lt;br /&gt;
|bool&lt;br /&gt;
|[[Sound:successFullyLoaded()|successFullyLoaded]]()&lt;br /&gt;
|Get if the sound was successfully loaded.&lt;br /&gt;
|-&lt;br /&gt;
|[[SoundSource]]&lt;br /&gt;
|[[Sound:playSound(float soundLevel, bool loop)|playSound]](float soundLevel, bool loop)&lt;br /&gt;
|Play the sound.&lt;br /&gt;
soundLevel value bettwen [0-1] 1 max volume.&lt;br /&gt;
loop if the sound should loop for all eternity.&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[Sound:getSoundBufferId()|getSoundBufferId]]()&lt;br /&gt;
|Get sound buffer id.&lt;br /&gt;
|-&lt;br /&gt;
|int&lt;br /&gt;
|[[Sound:getPlayTime()|getPlayTime]]()&lt;br /&gt;
|Get the play time in seconds.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Anders</name></author>
	</entry>
</feed>