Audio::Ecasound 0.91 review

Download
by rbytes.net on

Audio::Ecasound is a Perl binding to the ecasound sampler, recorder, fx-processor. SYNOPSIS One function interface: use Audi

License: GPL (GNU General Public License)
File size: 10K
Developer: Brad Bowman
0 stars award from rbytes.net

Audio::Ecasound is a Perl binding to the ecasound sampler, recorder, fx-processor.

SYNOPSIS
One function interface:
use Audio::Ecasound qw(:simple);

eci("cs-add play_chainsetup");
eci("c-add 1st_chain");
eci("-i:some_file.wav");
eci("-o:/dev/dsp");
# multiple n separated commands
eci("cop-add -efl:100
# with comments
cop-select 1
copp-select 1
cs-connect");
eci("start");
my $cutoff_inc = 500.0;
while (1) {
sleep(1);
last if eci("engine-status") ne "running";

my $curpos = eci("get-position");
last if $curpos > 15;

my $next_cutoff = $cutoff_inc + eci("copp-get");
# Optional float argument
eci("copp-set", $next_cutoff);
}
eci("stop");
eci("cs-disconnect");
print "Chain operator status: ", eci("cop-status");

Object Interface

use Audio::Ecasound;

my $e = new Audio::Ecasound;
$e->on_error('');
$e->eci("cs-add play_chainsetup");
# etc.
Vanilla Ecasound Control Interface (See Ecasound's Programmer Guide):
use Audio::Ecasound qw(:std);

command("copp-get");
$precise_float = last_float() / 2;
command_float_arg("copp-set", $precise_float);
warn last_error() if error();
IAM Interface, pretend interactive mode commands are functions.
use Audio::Ecasound qw(:iam :simple);

# iam commands as functions with s/-/_/g
my $val = copp_get;
copp_set $val+0.1; # floats are stringified so beware
eci("-i /dev/dsp"); # not all commands are exported

Audio::Ecasound provides perl bindings to the ecasound control interface of the ecasound program. You can use perl to automate or interact with ecasound so you don't have to turn you back on the adoring masses packed into Wembly Stadium.
Ecasound is a software package designed for multitrack audio processing. It can be used for audio playback, recording, format conversions, effects processing, mixing, as a LADSPA plugin host and JACK node. Version >= 2.2.X must be installed to use this package. "SEE ALSO" for more info.

Requirements:
Perl

Audio::Ecasound 0.91 search tags