AudioPlayback
A WAV file as audio.
As many channels as the file holds, resampled to the engine's rate.
out
- Type name
audio:AudioPlayback- Plane
audio- Tags
input- Language
rust- Tier
native- Source
- compiled into the engine
- Availability
- available
Slots
| Slot | Direction | Type | |
|---|---|---|---|
out | output | AUDIO |
Parameters
play
| Name | Type | Default | Range | Doc |
|---|---|---|---|---|
file | string | "" | the WAV file to play; a bare name is looked for in the recordings folder | |
position | float | 0 | 0 … 1 | where in the file to play from; playback runs on its own, and a MOVE of this skips |
reset | pulse | null | play from the start again | |
loop | bool | false | start again at the end, instead of falling silent |
Source
AudioPlayback is built into the audio engine rather than loaded from a file, so there is no source to copy.