search for: diff_sampl

Displaying 2 results from an estimated 2 matches for "diff_sampl".

Did you mean: diff_samples
2003 Aug 25
6
Syncronize Monitored Calls
...$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 $infile temp${outfile} $outfile"); } elsif($infile_samples > $outfile_...
2004 Jan 20
1
help - recording both sides of a conversati on
...`; > > > > $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 $infile temp${outfile} > $finishfile"); > > system("rm -f $infile temp${outfile} $outfile"); &...