2017년 11월 6일 월요일

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

댓글 없음:

댓글 쓰기

gpustat command

sudo apt install gpustat watch --color -n0.1 gpustat --color