Skip to content

Audio Basic

App: apps/audio_basic/

Minimal audio: load two sources (click and music), play the click on Space, and toggle looping music with M.

Terminal window
% ./plume3d audio_basic

or

Terminal window
% ./../plume3d .
  • Loads sounds/click.wav and sounds/music.wav with Audio.newSource(path).
  • Space — play the click once.
  • M — start/stop looping music.
  • A small GUI shows volume and control hints.

Place WAV files in sounds/click.wav and sounds/music.wav. The app warns if they’re missing.