### 28.2.3 Reading wav files from disk

The readwav command loads a wav file.

- readwav takes file, a string containing the name of a wav file.
- readwav(file) loads file and returns an audio clip object.

#### Example

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.