1
0

chore: add ch 5-6

This commit is contained in:
xuu
2025-03-15 21:11:29 -06:00
parent ff069b52c4
commit cbb5561fc6
7 changed files with 3861 additions and 51 deletions

View File

@@ -1,13 +1,14 @@
PATH:=./piper:$(PATH)
TXT_FILES := $(patsubst %.raw,%.txt,$(wildcard *.raw))
WAV_FILES := $(patsubst %.txt,%.wav,$(wildcard *.txt))
MP3_FILES := $(patsubst %.txt,%.mp3,$(wildcard *.txt))
MODEL=en_GB-alan-medium.onnx
CONFIG=en_GB-alan-medium.onnx.json
complete: $(MP3_FILES)
complete: $(TXT_FILES) $(MP3_FILES)
echo $@ $^
$(WAV_FILES): %.wav: %.txt
@@ -17,6 +18,9 @@ $(WAV_FILES): %.wav: %.txt
$(MP3_FILES): %.mp3: %.wav
ffmpeg -y -i $^ $@
$(TXT_FILES): %.txt: %.raw
./cleanfile $^ $@
install:
wget -O piper.tar "https://github.com/rhasspy/piper/releases/download/v1.2.0/piper_amd64.tar.gz"