six windows
#!/bin/bash
for file in *.wav
do
outfile="${file%.*}1.png"
sox "$file" -n spectrogram -x 512 -w hann -a -r -o "$outfile"
outfile="${file%.*}2.png"
sox "$file" -n spectrogram -x 512 -w hamming -a -r -o "$outfile"
outfile="${file%.*}3.png"
sox "$file" -n spectrogram -x 512 -w bartlett -a -r -o "$outfile"
outfile="${file%.*}4.png"
sox "$file" -n spectrogram -x 512 -w rectangular -a -r -o "$outfile"
outfile="${file%.*}5.png"
sox "$file" -n spectrogram -x 512 -w kaiser -a -r -o "$outfile"
outfile="${file%.*}6.png"
sox "$file" -n spectrogram -x 512 -w dolph -a -r -o "$outfile"
done
댓글
댓글 쓰기