Files @ 69ca2b2fc133
Branch filter:

Location: light9/bin/make_spectrograms

drewp@bigasterisk.com
overcomplicated attempt at persisting the pane layout in the rdf graph

this was hard because we have to somehow wait for the graph to load before config'ing the panes
1
2
3
4
5
6
7
8
9
#!/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/??-*) {
  sox $x -n remix 1 rate 3k spectrogram -X 50 -y 100 -z 80 -m -r -o $LIGHT9_SHOW/spectrogram/$x:t:r.png
}