File size: 205 Bytes
2a8b06e
 
 
 
1
2
3
4
5
#!/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