![]() |
![]()
| ![]() |
![]()
NAMEload_asample - Preload an audio sample for later/repeated playback. SYNOPSISaid
DESCRIPTIONThis function is used to creat a short audio samples that can be triggered repeatedly, usable for sound effects and audio feedback to user events. There are two forms to this function, the first one where a resource with a RIFF / WAV file backing where the format defines the parameters. The other is for caller supplied buffer of normalised, interleaved float values in the -1..1 range. EXAMPLEfunction load_asample0() SEE ALSO:play_audio(3)
|