Displaying 2 results from an estimated 2 matches for "outfile_sampl".
Did you mean:
outfile_samples
2003 Aug 25
6
Syncronize Monitored Calls
...nfile = shift;
$outfile = shift;
$finishfile = shift;
chdir($monitordir);
$infile_output = `sox $infile -e stat 2>&1`;
$outfile_output = `sox $outfile -e stat 2>&1`;
$infile_output =~ /Samples read:\s+(\d+)/;
$infile_samples = $1;
$outfile_output =~ /Samples read:\s+(\d+)/;
$outfile_samples = $1;
if($outfile_samples > $infile_samples)
{
$diff_samples = $outfile_samples - $infile_samples;
system("sox $outfile temp${outfile} trim ${diff_samples}s");
system("wmix $infile temp${outfile} > $finishfile");
system("rm -f $i...
2004 Jan 20
1
help - recording both sides of a conversati on
...gt;
> > $infile_output = `sox $infile -e stat 2>&1`;
> > $outfile_output = `sox $outfile -e stat 2>&1`;
> >
> > $infile_output =~ /Samples read:\s+(\d+)/;
> > $infile_samples = $1;
> >
> > $outfile_output =~ /Samples read:\s+(\d+)/;
> > $outfile_samples = $1;
> >
> >
> > if($outfile_samples > $infile_samples)
> > {
> > $diff_samples = $outfile_samples - $infile_samples;
> > system("sox -v 3 $outfile temp${outfile} trim
${diff_samples}s");
> > system("wmix $in...