#!/bin/zsh DIR="./" rec --channels 1 --rate 44100 ./jarsound.flac silence -l 1 0.01 1% 1 2.0 1% $DIR/api2.sh ./jarsound.flac > ./jaroutput.txt echo 'speaking' $DIR/process.pl ./tmp/jaroutput.txt