http://www.perlmonks.org?node_id=595681


in reply to Simple tone to audio card speakers

The Audio namespace seems to have several options. It looks like Audio::Play is the most portable.

use Audio::Data; use Audio::Play; $audio = Audio::Data->new(...) $svr = Audio::Play->new; $svr->play($audio);

Audio::DSP or Audio::OSS may be good options on Linux.


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon