Fortraneries/SoundBrotching/runme.sh

17 lines
264 B
Bash
Raw Normal View History

2023-01-04 07:59:38 +11:00
#!/bin/bash
set -e # trap on error
DATAFILE="essai.text"
OUTWAV="essai.wav"
make essai
./essai | tee $DATAFILE | c-tools/text2wav $OUTWAV
sndfile-spectrogram \
--min-freq=30 --max-freq=2000 \
--hann \
$OUTWAV \
1200 600 \
spectrogram.png