# HG changeset patch # User Drew Perttula # Date 2017-05-10 07:01:10 # Node ID 89842cc91ead1b527caadf79db8b2733599c2b49 # Parent 75c30e4e59d41f2a4fbe2a99576fd8607641144b make_spectrograms create output dir Ignore-this: e4f6a1cf73c26855d7b6a31044e41a5c diff --git a/bin/make_spectrograms b/bin/make_spectrograms --- a/bin/make_spectrograms +++ b/bin/make_spectrograms @@ -1,5 +1,6 @@ #!/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 }