Add JavaScript API (node-addon) for Kokoro TTS models (#1725)

This commit is contained in:
Fangjun Kuang
2025-01-16 18:33:47 +08:00
committed by GitHub
parent 46f2e32e8a
commit e8d499d218
4 changed files with 101 additions and 0 deletions

View File

@@ -85,6 +85,13 @@ fi
echo "----------tts----------"
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/kokoro-en-v0_19.tar.bz2
tar xf kokoro-en-v0_19.tar.bz2
rm kokoro-en-v0_19.tar.bz2
node ./test_tts_non_streaming_kokoro_en.js
ls -lh *.wav
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/tts-models/matcha-icefall-en_US-ljspeech.tar.bz2
tar xvf matcha-icefall-en_US-ljspeech.tar.bz2
rm matcha-icefall-en_US-ljspeech.tar.bz2