search API (or start typing anywhere)
Audio
snow.core.Audio
defined in ``
class
implements snow.modules.interfaces.Audio
Members
Methods
audio_format_from_pathinlinestatic
audio_format_from_path(_path:String) : snow.types.AudioFormatType
Uses the extension of the given path to return the
AudioFormatType
data_from_bytes
data_from_bytes(_id:String, _bytes:snow.api.buffers.Uint8Array, _format:snow.types.AudioFormatType) : snow.api.Promise
data_from_load
data_from_load(_path:String, _is_stream:Bool, _format:snow.types.AudioFormatType) : snow.api.Promise
instance_of
instance_of(_handle:snow.types.AudioHandle) : snow.systems.audio.AudioInstance
loop
loop(_source:snow.systems.audio.AudioSource, _volume:Float, _paused:Bool) : snow.types.AudioHandle
loop_of
loop_of(_handle:snow.types.AudioHandle) : Bool
pan
pan(_handle:snow.types.AudioHandle, _pan:Float) : Void
pan_of
pan_of(_handle:snow.types.AudioHandle) : Float
pause
pause(_handle:snow.types.AudioHandle) : Void
pitch
pitch(_handle:snow.types.AudioHandle, _pitch:Float) : Void
pitch_of
pitch_of(_handle:snow.types.AudioHandle) : Float
play
play(_source:snow.systems.audio.AudioSource, _volume:Float, _paused:Bool) : snow.types.AudioHandle
position
position(_handle:snow.types.AudioHandle, _time:Float) : Void
position_of
position_of(_handle:snow.types.AudioHandle) : Float
resume
resume() : Void
state_of
state_of(_handle:snow.types.AudioHandle) : snow.types.AudioState
stop
stop(_handle:snow.types.AudioHandle) : Void
suspend
suspend() : Void
unpause
unpause(_handle:snow.types.AudioHandle) : Void
volume
volume(_handle:snow.types.AudioHandle, _volume:Float) : Void
volume_of
volume_of(_handle:snow.types.AudioHandle) : Float