tiny-voca-da / recipe /scripts /en_reference.sh
inlanger's picture
tiny-voca-da v0.1: frontend v4 + sm9 vocoder (ONNX fp32/int8, PyTorch, frontend, recipe, samples)
adabee1 verified
Raw History Blame Contribute Delete
467 Bytes
#!/usr/bin/env bash
# Render scripts/en_probes.txt with the original English tiny-voca (voices F2, M2).
set -euo pipefail
for VOICE in M2 F2; do
OUT="out/en-ref-$VOICE"; mkdir -p "$OUT"; n=0
while IFS= read -r line; do
n=$((n + 1))
python -m tiny_voca.infer --checkpoint weights/tiny-voca.pt --voice "$VOICE" \
--text "$line" --output "$OUT/en_$(printf %02d $n).wav" > /dev/null
done < scripts/en_probes.txt
echo "$VOICE: $n clips -> $OUT"
done