Load and Play Sound
Load sound during preload(). Play a sound when canvas is clicked.
To run this example locally, you will need the
p5.sound library
a sound file, and a running local server.
3
9
10
14
Load sound during preload(). Play a sound when canvas is clicked.
To run this example locally, you will need the
p5.sound library
a sound file, and a running local server.