1Sound(3) User Contributed Perl Documentation Sound(3)
2
3
4
6 PDL::Demos::Sound - play PDL-generated sounds
7
9 This module is intended to be auto-discovered by the mechanisms of
10 PDL::Demos. That module also defines our interface.
11
12 The demo creates some simple sound waves (a scale and a chord) and
13 pipes them to an external sound player program. It knows how to invoke
14 "aplay" (from alsa-utils), "play" and "sox" (the latter two from SoX -
15 Sound eXchange). All of these are available as packages in Linux
16 distributions, SoX is also available from
17 <https://sourceforge.net/projects/sox/> for Microsoft Windows and
18 MacOS.
19
20 If no suitable player is discovered, the demo does not die but shows an
21 explanation where to obtain them.
22
23
24
25perl v5.38.0 2023-07-21 Sound(3)