Giulio Motta > Audio-Beep-0.11 > Audio::Beep::BSD::beep

Download:
Audio-Beep-0.11.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.11   Source  

NAME ^

Audio::Beep::BSD::beep - Audio::Beep player module using the beep program

IMPORTANT! ^

This player module IS NOT TESTED! I found docs about the BSD beep program but I never had a chance to use it or test it. So use it AT YOUR OWN RISK and report me bugs if possible.

SYNOPIS ^

    my $player = Audio::Beep::BSD::beep->new([%options]);

USAGE ^

The new class method can receive as option in hash fashion the following directives

path => '/full/path/to/beep'

With the path option you can set the full path to the beep program in the object. If you don't use this option the new method will look anyway in some likely places where beep should be before returning undef.

device => '/dev/myspeaker'

Use the device option if your speaker device is different from "/dev/speaker". AFAIK this device exists only on i386 architecture. That also means that this module won't probably work for different architectures.

NOTES ^

The beep program is a BSD program wrote by Andrew Stevenson. I found it at http://www.freshports.org/audio/beep/ , but you can find it also here http://www.freebsd.org/ports/audio.html

BUGS ^

None known, but all possible, cause this IS NOT TESTED.

COPYRIGHT ^

Copyright 2004 Giulio Motta giulienk@cpan.org.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: