Audio.WriteFile¶
| Name | Mandatory | Description | Default | Type | 
|---|---|---|---|---|
| ⬅️ Input | Accepts audio data as an Audio chunk, containing the sample rate, number of samples, number of channels, and the audio samples. | Audio | ||
| Output ➡️ | Outputs the same audio data as the input, allowing for further processing in the audio chain. | Audio | ||
| File | No | The audio file to read from (wav,ogg,mp3,flac). | none | StringVar(String) | 
| Channels | No | An int representing the number of desired output audio channels. | 2 | Int | 
| SampleRate | No | An int representing the desired number of samples in the output. | 44100 | Int | 
Experimental/unstable
This API is experimental and might produce unexpected results or crash.
This shard writes audio data to WAV format file.