mirror of
https://github.com/GregorR/rnnoise-models
synced 2025-12-16 08:09:04 +00:00
Tools used to process some raw audio data.
This commit is contained in:
14
tools/TSPspeech.raw.sh
Executable file
14
tools/TSPspeech.raw.sh
Executable 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
|
||||
Reference in New Issue
Block a user