Skip to content

Audio.ReadFile

Name - Description Default Type
<input>
<output> Audio
File The audio file to read from (wav,ogg,mp3,flac). None String&String
Channels The number of desired output audio channels. 2 Int
SampleRate The desired output sampling rate. Ignored if inside an Audio.Channel. 44100 Int
Samples The desired number of samples in the output. Ignored if inside an Audio.Channel. 1024 Int
Looped If the file should be played in loop or should stop the wire when it ends. false Bool
From The starting time in seconds. None Float&Float
To The end time in seconds. None Float&Float

Experimental/unstable

This API is experimental and might produce unexpected results or crash.