There is a slight bug in /usr/bin/rec (a symlink) to /usr/bin/play that causes rec to fail if any (valid) arguments other than the file to record to are given. A patch follows. --- play.orig Sun May 7 00:35:20 2000 +++ play Sun May 7 00:35:40 2000 @@ -185,7 +185,7 @@ # a sound file. if [ "$program_name" = "rec" ]; then echo "Send break (control-c) to end recording" - sox $volume $arch_defines $fopts $device "$filename" $effects + sox $volume $arch_defines $device $fopts "$filename" $effects else sox $volume $fopts "$filename" $arch_defines $device $effects fi
Fixed in sox-12.16-8; thanks for the bug report and the fix!