The readwav command loads a wav file.
Assuming that the file example.wav is stored in the directory sounds, input:
s:=readwav("/path/to/sounds/example.wav") |
You can now play the audio clip object s:
playsnd(s) |
Output: The sound of the audio file example.wav.