Mercurial > code > home > repos > light9
view bin/make_spectrograms @ 1637:cb39ef3dc1d5
fix colorselect so you can drag off the edge to pick white or pure-color
Ignore-this: b234a17b44c9a7ae3ea219c436e78acb
author | Drew Perttula <drewp@bigasterisk.com> |
---|---|
date | Sat, 10 Jun 2017 04:51:54 +0000 |
parents | 5421388ee6fa |
children | e42679dfdfd9 |
line wrap: on
line source
#!/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 }