Mercurial > code > home > repos > light9
annotate bin/make_spectrograms @ 2409:ba2f00912e20
fix white output on RGBW devices
author | drewp@bigasterisk.com |
---|---|
date | Sat, 18 May 2024 22:43:43 -0700 |
parents | e42679dfdfd9 |
children |
rev | line source |
---|---|
1311 | 1 #!/bin/zsh |
2 | |
1540 | 3 # todo: "rainbowgrams" like page 5 of this: https://arxiv.org/pdf/1704.01279.pdf |
4 | |
1539
89842cc91ead
make_spectrograms create output dir
Drew Perttula <drewp@bigasterisk.com>
parents:
1432
diff
changeset
|
5 mkdir -p $LIGHT9_SHOW/spectrogram |
2119
e42679dfdfd9
unpad tool and edits for processing 2022 audio
drewp@bigasterisk.com
parents:
1540
diff
changeset
|
6 for x ($LIGHT9_SHOW/music/??-*) { |
1311 | 7 sox $x -n remix 1 rate 3k spectrogram -X 50 -y 100 -z 80 -m -r -o $LIGHT9_SHOW/spectrogram/$x:t:r.png |
8 } | |
2119
e42679dfdfd9
unpad tool and edits for processing 2022 audio
drewp@bigasterisk.com
parents:
1540
diff
changeset
|
9 |