Skip to content

Commit

Permalink
removing vad and gain
Browse files Browse the repository at this point in the history
  • Loading branch information
mnr committed Jul 15, 2016
1 parent 95d3903 commit 5324a57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion software/fish_config.sh
Expand Up @@ -39,6 +39,7 @@ case "$1" in
echo "checking for existence of rubberfish/sounds"
[ ! -d /home/pi/rubberfish/sounds ] && mkdir /home/pi/rubberfish/sounds

echo "working on rec - 7/15/2016:2:45"
# relies on the sox package. sudo apt-get install sox
# http://sox.sourceforge.net/
# set up the audiodev so sox know where to look
Expand All @@ -47,7 +48,8 @@ case "$1" in
AUDIODEV=hw:1,0
export AUDIODEV
# the following produces "rec FAIL gain: usage: [-e|-b|-B|-r] [-n] [-l|-h] [gain-dB]"
rec /home/pi/rubberfish/sounds/snd.wav silence 1 .5 2.85% 1 1.0 3.0% vad gain -n --no-show-progress : newfile : restart & #best so far
# rec /home/pi/rubberfish/sounds/snd.wav silence 1 .5 2.85% 1 1.0 3.0% vad gain -n --no-show-progress : newfile : restart & #best so far
rec /home/pi/rubberfish/sounds/snd.wav silence 1 .5 2.85% 1 1.0 3.0% --no-show-progress : newfile : restart &

echo "##########"
echo "Finished with Initial Fish"
Expand Down

0 comments on commit 5324a57

Please sign in to comment.