-
Notifications
You must be signed in to change notification settings - Fork 185
fix elevenlabs auto mode #820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
🦋 Changeset detectedLatest commit: 19a21a4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
I tried mirroring the python implementation and therefore also added the flush paramater when using sentence tokenizer and automode. but adding "flush" breaks it somehow....I guess I'm missing something that python has and we don't have in typescript. |
|
Followup on "flush: true". The reason why this actually broke thigns is that the livekit implemenation currently is not using the multi stream input api.. it starts a new websocket on each turn. the python version uses this: https://elevenlabs.io/docs/api-reference/text-to-speech/v-1-text-to-speech-voice-id-multi-stream-input, there we also need the flush parameter. I made a quick implementation, it seems to be portable from python but needs more work. |
toubatbrian
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG! Really nice about the inline comments!
Thanks for digging into this! Let me know if you need help! |
Description
fixes #819 (without blingfire implementation)
Changes Made
Pre-Review Checklist
Testing