Sound

One of the exciting things that Win32 platforms can handle is the capability to play back sound files, known as .WAV (wave) files. The .WAV format is the standard audio format that Win32 understands. Win32 machines typically have several .WAV files that come with the operating system.

The Win32::Sound extension facilitates the capability to play back these .WAV sounds. This can greatly enhance a Perl script by signaling when an event takes place. Unfortunately, this extension does not play back MP3, AU, Windows Media, Real Audio, QuickTime, or other audio formats.

Check with CPAN for the latest audio modules. For Windows Media, Real Audio, and QuickTime audio playback, you might need to interact with their respective audio SDKs using ...

Get Win32 Perl Programming: The Standard Extensions, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.