view bin/make_spectrograms @ 2275:dd9474bef2a6

decimal not double! this caused patch comparisons to fail and led to redundant work
author drewp@bigasterisk.com
date Mon, 29 May 2023 15:16:57 -0700
parents e42679dfdfd9
children
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/??-*) {
  sox $x -n remix 1 rate 3k spectrogram -X 50 -y 100 -z 80 -m -r -o $LIGHT9_SHOW/spectrogram/$x:t:r.png
}