# HG changeset patch # User Drew Perttula # Date 1494399670 0 # Node ID 89842cc91ead1b527caadf79db8b2733599c2b49 # Parent 75c30e4e59d41f2a4fbe2a99576fd8607641144b make_spectrograms create output dir Ignore-this: e4f6a1cf73c26855d7b6a31044e41a5c diff -r 75c30e4e59d4 -r 89842cc91ead bin/make_spectrograms --- a/bin/make_spectrograms Thu May 11 06:00:26 2017 +0000 +++ b/bin/make_spectrograms Wed May 10 07:01:10 2017 +0000 @@ -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 }