I have discovered arecord which, for the time being, enables me to record audio, triggered by a command line.
I notice that arecord will display a primitive VU meter: When you type "arecord -V stereo" (plus some other options), you get some activity on the next line in the terminal window. I also get other output in the window which confirms the file name which is being created.
I wrote a script which calls on arecord - so that I don't need to put in all the options manually. When I run the script, I still get the file name displayed - but I don't get the VU meter. Where might it be hiding?
EDIT. I thought I should include a (simplified) sample of the script I want to use
Quote:
#!/bin/bash
echo "Running Script"
echo "To test by hand, type"
echo "arecord -V stereo -f cd byHand.wav"
FileName="${HOME}/byScript.wav"
echo "Filename=${FileName}"
sh `arecord -V "stereo" -f "cd" "${Filename}"`
|
However, this script is even worse that the real one - the filename does not make it through correctly.
So, now I have two questions - where does the VU Meter go and what am I doing wrong with the quotes in my script?