Audrey_Play.pm |
Audrey_Play - This object can be used to play sound files on the Audrey.
Created for use with PAobj.pm, but can be used separately.
Tells an Audrey to download and play a file, already in the data/web folder, by passing the name of the file. The Audrey must be modified to respond to this request.
$audrey1 = new Audrey_Play('192.168.0.11'); #Create file data/web/tempfile.wav - perhaps by speaking to a file? my $speakFile = 'tempfile.wav'; $audrey1->play($speakFile);
Generic_Item
new($ip)
$ip is the IP address of the Audrey.
Hey! The above document had some coding errors, which are explained below:
=over without closing =back
Audrey_Play.pm |