---
name: "PDL::Demos::Sound"
section: "3pm"
platform: "linux"
package: "pdl"
version: "1:2.100-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/PDL::Demos::Sound"
---

# PDL::Demos::Sound(3pm)

play PDL-generated sounds

## 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.
