Files @ a362b892cb43
Branch filter:

Location: light9/bin/make_spectrograms

Drew Perttula
more makefile hacks to turn debug.js into an ES6 module
Ignore-this: 79b9757e462e9007ae4c2c5eaaf9d917

(can't wait for the js build fairy to come clean all this up)
1
2
3
4
5
6
7
8
#!/bin/zsh

# todo: "rainbowgrams" like page 5 of this: https://arxiv.org/pdf/1704.01279.pdf

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
}