view bin/make_spectrograms @ 1461:a7de122a7b18

clients were reading this file a LOT. Probably not a performance issue, but distracting in strace output Ignore-this: 180916361bbcc3b0e3a4fe82bda0990a
author drewp@bigasterisk.com
date Sun, 12 Jun 2016 02:12:28 +0000
parents 185f3e2208c3
children 89842cc91ead
line wrap: on
line source

#!/bin/zsh

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
}