# Reading wav files from disk: readwav

### 15.1.2 Reading wav files from disk: readwav

The readwav command loads a wav file.

- readwav takes one argument:
  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:
Input:

playsnd(s)

Output:
The sound of the audio file example.wav.