bin/freq: script to create spectrogram

This commit is contained in:
xeruf 2021-11-14 14:28:55 +01:00
parent 7d80a75276
commit 0bd4308ef6
2 changed files with 8 additions and 1 deletions

6
.local/bin/scripts/freq Executable file
View File

@ -0,0 +1,6 @@
#!/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"

View File

@ -44,8 +44,9 @@ and configuration for ~less~ and ~fzf~.
- experiments :: kakoune
** Applications
- productivity :: activitywatch-bin
- music :: mpd mpc ncmpc mpd-mpris vlc phonon-qt5-vlc
- music :: mpd mpc ncmpc mpd-mpris vlc phonon-qt5-vlc sox
: mkdir -p ~/.local/state/mpd && systemctl --user enable --now mpd mpd-mpris
: sudo npm install -g bpm
- bluetooth :: bluez bluez-utils pulseaudio-bluetooth
- tagging :: puddletag beets picard ffmpegthumbnailer
- sync :: syncthing