Difference between revisions of "SoundChannel"
Line 12: | Line 12: | ||
<br /></translate> | <br /></translate> | ||
{|- | {|- | ||
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Methods === | === Methods === | ||
− | [[SoundChannel:getPitch]] | + | [[SoundChannel:getPitch]] ''<translate>returns the current pitch of the sound channel</translate>''<br/> |
− | [[SoundChannel:getPosition]] | + | [[SoundChannel:getPosition]] ''<translate>returns the position of the current playback</translate>''<br/> |
− | [[SoundChannel:getVolume]] | + | [[SoundChannel:getVolume]] ''<translate>returns the current volume of the sound channel</translate>''<br/> |
− | [[SoundChannel:isLooping]] | + | [[SoundChannel:isLooping]] ''<translate>returns the looping state of the channel</translate>''<br/> |
− | [[SoundChannel:isPaused]] | + | [[SoundChannel:isPaused]] ''<translate>returns the paused state of the channel</translate>''<br/> |
− | [[SoundChannel:isPlaying]] | + | [[SoundChannel:isPlaying]] ''<translate>returns the playing state for the sound channel</translate>''<br/> |
− | [[SoundChannel:setLooping]] | + | [[SoundChannel:setLooping]] ''<translate>sets the looping state of the channel</translate>''<br/> |
− | [[SoundChannel:setPaused]] | + | [[SoundChannel:setPaused]] ''<translate>sets the paused state of the channel</translate>''<br/> |
− | [[SoundChannel:setPitch]] | + | [[SoundChannel:setPitch]] ''<translate>sets the pitch of the sound channel</translate>''<br/> |
− | [[SoundChannel:setPosition]] | + | [[SoundChannel:setPosition]] ''<translate>sets the position of the current playback</translate>''<br/> |
− | [[SoundChannel:setVolume]] | + | [[SoundChannel:setVolume]] ''<translate>sets the volume of the sound channel</translate>''<br/> |
− | [[SoundChannel:setWorldPosition]] | + | [[SoundChannel:setWorldPosition]] ''<translate></translate>''<br/> |
− | [[SoundChannel:stop]] | + | [[SoundChannel:stop]] ''<translate>stops the sound playing in the channel</translate>''<br/> |
− | | style="width: 50%;"| | + | | style="width: 50%; vertical-align:top;"| |
=== Events === | === Events === | ||
[[Event.COMPLETE]]<br/> | [[Event.COMPLETE]]<br/> | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 14:29, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
The SoundChannel class is used to control and monitor a playing sound.
SoundChannel Events
- Event.COMPLETE = "complete" When the sound channel has finished playing, Event.COMPLETE event is dispatched.
MethodsSoundChannel:getPitch returns the current pitch of the sound channel |
EventsConstants |