File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,7 @@ WORKDIR /app
2121RUN wget https://github.com/jpreprocess/jpreprocess/releases/download/v0.6.1/naist-jdic-jpreprocess.tar.gz \
2222 && tar xzf naist-jdic-jpreprocess.tar.gz \
2323 && rm naist-jdic-jpreprocess.tar.gz
24- RUN wget http://downloads.sourceforge.net/open-jtalk/hts_voice_nitech_jp_atr503_m001-1.05.tar.gz \
25- && tar xzf hts_voice_nitech_jp_atr503_m001-1.05.tar.gz \
26- && rm hts_voice_nitech_jp_atr503_m001-1.05.tar.gz
24+ RUN git clone --depth 1 https://github.com/icn-lab/htsvoice-tohoku-f01.git
2725
2826FROM gcr.io/distroless/nodejs20-debian12:nonroot@sha256:015be521134f97b5f2b4c1543615eb4be907fadc8c6a52e60fd0c18f7cda0337 AS runner
2927WORKDIR /app
Original file line number Diff line number Diff line change @@ -18,15 +18,14 @@ docker run --rm -d --env-file .env ghcr.io/discordjs-japan/om:latest
1818
1919For copyright of dependent packages, please see package.json.
2020
21- ### [ HTS Voice "NIT ATR503 M001" version 1.05 ] ( http ://downloads.sourceforge.net/open-jtalk/hts_voice_nitech_jp_atr503_m001-1.05.tar.gz )
21+ ### [ HTS voice tohoku-f01 ] ( https ://github.com/icn-lab/htsvoice-tohoku-f01 )
2222
2323> [ !NOTE]
2424> HTS Voice is only included in Docker container
2525
26- Creative Commons Attribution 3 .0
26+ Creative Commons Attributions 4 .0
2727
28- - Copyright (c) 2003-2012 Nagoya Institute of Technology Department of Computer Science
29- - Copyright (c) 2003-2008 Tokyo Institute of Technology Interdisciplinary Graduate School of Science and Engineering
28+ - Copyright (c) 2015 Intelligent Communication Network (Ito-Nose) Laboratory, Tohoku University.
3029
3130### [ naist-jdic] ( https://github.com/jpreprocess/jpreprocess/releases/download/v0.6.1/naist-jdic-jpreprocess.tar.gz )
3231
Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ import WorkerSynthesizer from "./worker-synthesizer";
44export const synthesizer : Synthesizer = new WorkerSynthesizer (
55 process . env . DICTIONARY ?? "/app/model/naist-jdic" ,
66 process . env . MODEL ??
7- "/app/model/hts_voice_nitech_jp_atr503_m001-1.05/nitech_jp_atr503_m001 .htsvoice" ,
7+ "/app/model/htsvoice-tohoku-f01/tohoku-f01-neutral .htsvoice" ,
88) ;
Original file line number Diff line number Diff line change @@ -2,5 +2,8 @@ import { Message } from "discord.js";
22import { SynthesisOption } from "node-altjtalk-binding" ;
33
44export function createSynthesisOption ( _ : Message ) : SynthesisOption {
5- return { } ;
5+ return {
6+ additionalHalfTone : - 5 ,
7+ speechSpeedRate : 1.2 ,
8+ } ;
69}
You can’t perform that action at this time.
0 commit comments