15.1.4 Audio playback: playsnd
The playsnd command plays audio clips.
-
playsnd takes one argument:
A, an audio clip.
- playsnd(A) plays the audio clip A.
Example.
Input:
playsnd(createwav(sin(2*pi*440*soundsec(3))))
Output:
The sound of the sine wave will be played.