in reply to Playing sounds
Hi,
gives an error I don't understand:$player = Audio::Play::MPG123->new;open3: exec of mpg123 -R --aggressive failed
That shows that the perl wrapper Audio::Play::MPG123 is attempting to launch the system binary mpg123 and failing. Dollars gets you donuts it's because you don't have it installed.
On my Linux the command is:
... you'll have to find the equivalent for MacPorts or whatever package manger you are using.$ sudo apt-get install mpg123 libmpg123-dev
When you read the docs for a module and it says something like:
"This is a frontend to the mpg123 player. It works by starting an external mpg123 process with the -R option and feeding commands to it."... it's pretty likely that you'll need a system application.
Hope this helps!
The way forward always starts with a minimal test.
|
---|
In Section
Seekers of Perl Wisdom