Table of Contents


Available since version: Gideros 2011.6


Creates a new SoundChannel object to play the sound. By using the retured SoundChannel object,
you can stop the sound and monitor the position.


(SoundChannel) = Sound:play(startTime, looping, paused)


  • startTime: (number, default = 0) The initial position in milliseconds at which playback should start.
  • looping: (boolean, default = false)
  • paused: (boolean, default = false)

Return value:

  • SoundChannel: A `SoundChannel` object, which you use to control the sound. This function returns `nil` if you run out of available sound channels.