view bin/make_spectrograms @ 1539:89842cc91ead

make_spectrograms create output dir Ignore-this: e4f6a1cf73c26855d7b6a31044e41a5c
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 10 May 2017 07:01:10 +0000
parents 185f3e2208c3
children 5421388ee6fa
line wrap: on
line source

#!/bin/zsh

mkdir -p $LIGHT9_SHOW/spectrogram
for x ($LIGHT9_SHOW/music/pad/*) {
  sox $x -n remix 1 rate 3k spectrogram -X 50 -y 100 -z 80 -m -r -o $LIGHT9_SHOW/spectrogram/$x:t:r.png
}