Sound.new: Difference between revisions
From GiderosMobile
m Text replacement - "</source>" to "</syntaxhighlight>" |
|||
| Line 7: | Line 7: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
Sound.new(filename) | Sound.new(filename) | ||
Sound.new(data,rate,stereo) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 05:41, 31 August 2023
Available since: Gideros 2011.6
Class: Sound
Description
Creates a new Sound object.
Sound.new(filename)
Sound.new(data,rate,stereo)
Parameters
filename: (string) the path of the sound file to be loaded