Tools used to process some raw audio data.

This commit is contained in:
Gregor Richards
2018-08-30 00:24:59 -04:00
parent 2d65e62ef1
commit 21062ae57d
4 changed files with 167 additions and 0 deletions

14
tools/TSPspeech.raw.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
set -e
[ -d TSPspeech ] || (
mkdir -p TSPspeech
cd TSPspeech
7z x ../TSPspeech.iso
)
for i in `seq -w 01 10`
do
for j in TSPspeech/48k/*/*$i.wav
do
[ ! -e "$j" ] || ffmpeg -i "$j" -f s16le -ac 1 -ar 48000 -
done
done > TSPspeech.raw