annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1311
df2c70f0ecd9 make_spectrograms
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
1 #!/bin/zsh
df2c70f0ecd9 make_spectrograms
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
2
1539
89842cc91ead make_spectrograms create output dir
Drew Perttula <drewp@bigasterisk.com>
parents: 1432
diff changeset
3 mkdir -p $LIGHT9_SHOW/spectrogram
1432
185f3e2208c3 show and config updates
drewp@bigasterisk.com
parents: 1311
diff changeset
4 for x ($LIGHT9_SHOW/music/pad/*) {
1311
df2c70f0ecd9 make_spectrograms
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
5 sox $x -n remix 1 rate 3k spectrogram -X 50 -y 100 -z 80 -m -r -o $LIGHT9_SHOW/spectrogram/$x:t:r.png
df2c70f0ecd9 make_spectrograms
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
6 }