diff options
author | kdx <kikoodx@paranoici.org> | 2023-05-07 02:20:00 +0200 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-05-07 02:22:23 +0200 |
commit | 64a5a528b40310baf29efca4c02e60dea70d3bbb (patch) | |
tree | 65ffe695ced955668b2b5fb6350ba7051ab04058 | |
parent | 599bfa923f414852780e2da4f3821d88547f4023 (diff) | |
download | study-sttky-64a5a528b40310baf29efca4c02e60dea70d3bbb.tar.gz |
gen tts voice
-rw-r--r-- | Tupfile | 1 | ||||
-rwxr-xr-x | mimic.sh | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -8,6 +8,7 @@ LDFLAGS = -lm -lSDL2 -lSDL2_image -lSDL2_mixer : foreach map/*.tmj |> tiled2c %f embed_%B_tmj >%o |> build/embed_%B_tmj.c : foreach map/*.tsj |> tiled2c %f embed_%B_tsj >%o |> build/embed_%B_tsj.c : foreach res/*.png res/pal.png |> pximg spr_%B %f res/pal.png >%o |> build/spr_%B.c +: foreach res/*.txt |> ./mimic.sh "%f" "%o" |> build/res/%B.wav : res/pal.png |> pxpal res/pal.png >%o |> build/pxpal.c : foreach src/*.c |> $(CC) $(CFLAGS) -c -o %o %f |> build/%B.o : foreach build/*.c |> $(CC) $(CFLAGS) -Isrc -c -o %o %f |> build/%B.o diff --git a/mimic.sh b/mimic.sh new file mode 100755 index 0000000..f646ae2 --- /dev/null +++ b/mimic.sh @@ -0,0 +1,2 @@ +#!/bin/sh +mimic --setf duration_stretch=0.7 -voice slt -t "$(cat "$1")" -o "$2" |