annotate bin/make_spectrograms @ 1436:d0d5900a8031

collector run the blocking dmx output calls in another thread, so they don't add delay to our http server Ignore-this: b5385085b654e1ac0b8018e6813f36e
author drewp@bigasterisk.com
date Sat, 11 Jun 2016 20:30:34 +0000
parents 185f3e2208c3
children 89842cc91ead
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
1432
185f3e2208c3 show and config updates
drewp@bigasterisk.com
parents: 1311
diff changeset
3 for x ($LIGHT9_SHOW/music/pad/*) {
1311
df2c70f0ecd9 make_spectrograms
Drew Perttula <drewp@bigasterisk.com>
parents:
diff changeset
4 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
5 }