Difference between revisions of "Legacy:Sound"
From Spherical
m (→See also: fix link) |
m (→Notes: fix link) |
||
Line 25: | Line 25: | ||
==Notes== | ==Notes== | ||
− | Sphere uses [http:/audiere.sf.net Audiere], a library that supports many sound formats. The sound formats supported include: | + | Sphere uses [http://audiere.sf.net Audiere], a library that supports many sound formats. The sound formats supported include: |
* Uncompressed WAV (seek supported) | * Uncompressed WAV (seek supported) |
Revision as of 18:37, 20 May 2013
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