Sound(3)

NAME
PDL::Demos::Sound - play PDL-generated sounds

DESCRIPTION
This module is intended to be auto-discovered by the mechanisms of PDL::Demos. That module also defines our interface.

The demo creates some simple sound waves (a scale and a chord) and pipes them to an external sound player program. It knows how to invoke "aplay" (from alsa-utils), "play" and "sox" (the latter two from SoX - Sound eXchange). All of these are available as packages in Linux distributions, SoX is also available from <https://sourceforge.net/projects/sox/> for Microsoft Windows and MacOS.

If no suitable player is discovered, the demo does not die but shows an explanation where to obtain them.