This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

radio tts: fix news not being in order

+2 -1
+2 -1
2configs/services/radio/tts.nix
··· 25 25 trap 'rm -rf "$OUTPUT"' EXIT 26 26 SPEAKER=$[ $RANDOM % 900 ] 27 27 while read line; do 28 + filename=$(printf '%04d' $offset).wav 28 29 echo "$line" | 29 30 ${pkgs.piper-tts}/bin/piper \ 30 31 --model ${model}/model.onnx \ 31 32 -s "$SPEAKER" \ 32 - -f "$OUTPUT"/"$offset".wav >/dev/null 33 + -f "$OUTPUT"/"$filename" >/dev/null 33 34 34 35 ((offset+=1)) 35 36 done