Legacy:Sound
From Spherical
Holds a sound that can be played by Sphere.
Initializers
Methods
- Sound.play()
- Sound.pause()
- Sound.stop()
- Sound.isPlaying()
- Sound.getPan()
- Sound.setPan()
- Sound.getPitch()
- Sound.setPitch()
- Sound.getVolume()
- Sound.setVolume()
Members
None.
Examples
See the examples for Sound.play().
Notes
Sphere uses Audiere, a library that supports many sound formats. The sound formats supported include:
- Uncompressed WAV (seek supported)
- Uncompressed AIFF (seek supported)
- Ogg Vorbis (seek supported)
- FLAC (seek supported)
- MP3
- MOD, S3M, IT, XM (module music formats)
- MIDI
As mentioned above, streaming is only supported for certain kinds of audio files.
See also
- Audiere sound library