Difference between revisions of "Sound"

From GiderosMobile
(Created page with "__NOTOC__ '''Supported platforms:''' <br/> '''Available since:''' Gideros 2011.6<br/> === Description === <br /> The `Sound` class lets you load and play WAV, MP3, MOD, XM, S3...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Supported platforms:''' <br/>
+
'''Supported platforms:''' android, ios, mac, pc<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
Line 8: Line 8:
 
object.<br />
 
object.<br />
 
<br />
 
<br />
 +
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 +
 
 
{|-
 
{|-
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Methods ===
 
=== Methods ===
 +
[[Sound.new]] - creates a new Sound object<br/>
 +
[[Sound.setListenerPosition]] - <br/>
 +
[[Sound:getLength]] - <br/>
 +
[[Sound:play]] - creates a new SoundChannel object to play the sound<br/>
 
| style="width: 50%;"|
 
| style="width: 50%;"|
 
=== Events ===
 
=== Events ===
 
=== Constants ===
 
=== Constants ===
 
|}
 
|}

Revision as of 08:56, 23 August 2018

Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6

Description


The `Sound` class lets you load and play WAV, MP3, MOD, XM, S3M and IT sound files.
Control of the playing sound is performed through the `SoundChannel`
object.






Methods

Sound.new - creates a new Sound object
Sound.setListenerPosition -
Sound:getLength -
Sound:play - creates a new SoundChannel object to play the sound

Events

Constants