-
Notifications
You must be signed in to change notification settings - Fork 131
Items Audrey_Play
ggodart edited this page Jan 1, 2021
·
1 revision
See original
This object can be used to play sound files on the Audrey
Created for use with PAobj, 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);
Method | Description |
---|---|
new($ip) |
$ip is the IP address of the Audrey. |