Skip to content
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

Custom TTS #2

Open
cod3r0k opened this issue Nov 14, 2024 · 5 comments
Open

Custom TTS #2

cod3r0k opened this issue Nov 14, 2024 · 5 comments

Comments

@cod3r0k
Copy link

cod3r0k commented Nov 14, 2024

Hi, thank you for sharing your code. Do you have any guide about custom Text to speech for livekit?

@billyg88
Copy link

billyg88 commented Dec 5, 2024

Second this, that would be amazing

@atyenoria
Copy link
Owner

It's pretty simple, just add some OSS or Commercial tts, get audio, and feed into the livekit session when you need the audio guide agent in the web conference session or

@cod3r0k
Copy link
Author

cod3r0k commented Dec 6, 2024

What is OSS @atyenoria ? I have my own TTS which I trained before, Now I want to integrate it with LiveKit. How can I integrate it? Do you have document or sample code for that?

Consider I have a function which get sentence and create voice as below:

class myOwnTTS:
     def __init__(self, configs):
            # prepare self.load_model
            
     def  generate_voice(self, text):
            # text is a sentence or paragraph   
            voice = self.load_model(text)
            return voice

@cod3r0k
Copy link
Author

cod3r0k commented Dec 6, 2024

Great, but they are general. I am seeking more similar ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants