Items Audrey_Play - hollie/misterhouse GitHub Wiki
Audrey_Play
See original
SYNOPSIS
This object can be used to play sound files on the Audrey
Created for use with PAobj, but can be used separately.
DESCRIPTION
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);
INHERITS
METHODS
Method | Description |
---|---|
new($ip) |
$ip is the IP address of the Audrey. |