Using ffmpeg
, ffmpeg-normalize
& ffprobe
to manage samples for Grandpa per the manual.
ffmpeg -i my_audio.wav -acodec pcm_s16le -ac 1 -ar 16000 P1.wav
ffmpeg-normalize P*.wav -ext wav -f
You want to see output like Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 16000 Hz, 1 channels, s16, 256 kb/s
for all of your files.
for i in `ls *.wav`
do
ffprobe -hide_banner -i $i|grep Audio
done