importaudio
importaudio(
@path ## symbol (required)
@usecache 1
) -> llll
Imports an audio file (.wav
, .aif
, .aiff
, .mp3
) as a buffer, given a file path.
Arguments
@path
[symbol]: Input audio file path. (required)@usecache
[int]: Use buffer cache to optimize memory usage. (default:1
).0
: Off1
: On
Output
Buffer [llll]
Usage
$buffer = importaudio('badinerie.wav');
$buffer.view('importaudio buffer')