Fortraneries/SoundBrotching/runme.sh

17 lines
264 B
Bash
Raw Normal View History

2023-01-03 21:59:38 +01: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