feat: Add ModelsLab TTS engine#30
Merged
Merged
Conversation
- Added ModelsLabTTSClient in src/engines/modelslab.ts - Registered in factory.ts, factory-browser.ts, index.ts, browser.ts - Added 'modelslab' to SupportedTTS/SupportedBrowserTTS unions - Added 'modelslab' to UnifiedVoice provider union in types.ts - Supports 9 voices (madison, tara, leah, jess, mia, zoe, leo, dan, zac) - Handles async audio generation with polling - Works in both Node.js and browser environments via getFetch()
Added @types/node in devDependencies. Needed because TypeScript build failed (TS2688: Cannot find type definition file for 'node') after clean install. emoved one malformed lock entry (node_modules/sherpa-onnx-node/node_modules/sherpa-onnx-linux-arm64 without a version) that caused npm install/ci to crash with Invalid Version:. Lockfile also got small metadata churn from npm re-resolution (peer flags/versions), but no runtime code changed there. Simplified dynamic loading and improved fallback conversion for emphasis/prosody syntax. Needed because tests were failing in speech-markdown-converter.test.ts and throwing Jest teardown import errors.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds ModelsLab as a TTS engine, sister PR to willwade/tts-wrapper#66. Implements ModelsLabTTSClient with 9 voices, async polling, Node+browser support.