Speech / download_samples.sh
azils3's picture
Upload 38 files
7a3a321 verified
raw
history blame contribute delete
205 Bytes
#!/bin/sh
for i in alloy echo fable onyx nova shimmer; do
[ ! -e "voices/$i.wav" ] && curl -s https://cdn.openai.com/API/docs/audio/$i.wav | ffmpeg -loglevel error -i - -ar 22050 -ac 1 voices/$i.wav
done