Add C++ runtime for vocos (#2014)
This commit is contained in:
@@ -159,7 +159,7 @@ function initTts(context: Context): OfflineTts {
|
||||
// https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/matcha.html#matcha-icefall-zh-baker-chinese-1-female-speaker
|
||||
// modelDir = 'matcha-icefall-zh-baker';
|
||||
// acousticModelName = 'model-steps-3.onnx';
|
||||
// vocoder = 'hifigan_v2.onnx';
|
||||
// vocoder = 'vocos-22khz-univ.onnx';
|
||||
// lexicon = 'lexicon.txt';
|
||||
// dictDir = 'dict';
|
||||
// ruleFsts = `date.fst,phone.fst,number.fst`;
|
||||
@@ -169,7 +169,7 @@ function initTts(context: Context): OfflineTts {
|
||||
// https://k2-fsa.github.io/sherpa/onnx/tts/pretrained_models/matcha.html#matcha-icefall-en-us-ljspeech-american-english-1-female-speaker
|
||||
// modelDir = 'matcha-icefall-en_US-ljspeech';
|
||||
// acousticModelName = 'model-steps-3.onnx';
|
||||
// vocoder = 'hifigan_v2.onnx';
|
||||
// vocoder = 'vocos-22khz-univ.onnx';
|
||||
// dataDir = 'espeak-ng-data';
|
||||
|
||||
// Example 10
|
||||
|
||||
Reference in New Issue
Block a user