loadAudio()
Purpose
Load an audio sample
Description
Load the specified audio sample and return a handle
Syntax
handle = loadAudio( sample )
Arguments
handle handle of the audio sample
sample path to the audio sample in the media library
Example
handle = loadAudio( "David Silvera/music_evil_presence" )
volume = 0.5
pan = 0.5
speed = 1
playAudio( 0, handle, volume, pan, speed, -1 )
loop
update()
repeat
Associated Commands
audioLength(), getChannelStatus(), note2Freq(), playAudio(), playNote(), setClipper(), setFilter(), setPan(), setVolume(), startChannel(), stopChannel()