6 lines
169 B
Bash
Executable file
6 lines
169 B
Bash
Executable file
#!/bin/sh
|
|
# Show a frequance spectrogram using sox and timg
|
|
out=${2:-/tmp/$1-sox.png}
|
|
mkdir -p "$(dirname "$out")"
|
|
sox "$1" -n spectrogram -o "$out"
|
|
timg --title "$out"
|