Listening to a digital sound: playsnd

### 15.1.13 Listening to a digital sound: playsnd

The playsnd command plays digitized sound data.

- playsnd takes one argument:
  s, digitized sound data, such as that which can be read with the readwav command or generated with the help of soundsec. s should be either in the format of the output of the readwav command or a list of sampled data for mono sound with the default settings of 1 channel, 16 bits and 44100 Hz.
- playsnd(s) plays the given sound.