Patrick!
I suppose, you need to do batch processing in the end and you will have
finite audiofies as input, not infinite live inputs. So you might try:
#!/bin/bash
TIME=`ecalength $FILE | awk '{ print $2 }' | awk '{ len = length($0); $realtime = substr($myname,0,(len-1)); printf("%s",$realtime); }'`
then you can use the $TIME variable for -t: option of Ecasound. It's the
dirty way, but it works. After having read the piece of code, which I modified
for this, I don't even know, why it works, since there is an undefined
variable used for the substr, but it does. Let sleeping dogs lie. :-)
Best regards
Julien