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

Feature: Text to speech #255

Open
map7 opened this issue Oct 12, 2023 · 4 comments
Open

Feature: Text to speech #255

map7 opened this issue Oct 12, 2023 · 4 comments

Comments

@map7
Copy link

map7 commented Oct 12, 2023

Instead of recording audio which takes a lot of space, what about using 'text to speech' instead and getting the browser to play the correct text at the right time of the recording.

https://dev.to/asaoluelijah/text-to-speech-in-3-lines-of-javascript-b8h

This would keep the size of the recordings down but add the ability to put speech alongside the videos. It could also double as captions.

This would have a big advantage over recording audio tracks in which you could change the narrative as it's just text.

@ku1ik
Copy link
Contributor

ku1ik commented Oct 16, 2023

Ooh, that's interesting idea. This would indeed handle audio in a similar fashion as we handle "video" - through minimal amount of information needed to synthesize the output. Nice!

Have you used TTS API "in anger"? Is it widely supported across browsers these days? I see the original post is from 2020 so I guess there's good chance it's already out there, at least in major browsers.

@map7
Copy link
Author

map7 commented Oct 16, 2023

Yeah I was thinking about your problem whilst listening to you on changelog. I haven't used TTS but thought there would be something which could do text to speech and it would fit in with your project.

@ku1ik
Copy link
Contributor

ku1ik commented Oct 16, 2023

Got it. Thanks for the idea, I'll explore this for sure!

@ku1ik
Copy link
Contributor

ku1ik commented Jan 29, 2024

Moving to asciinema-player as this is mostly player related feature.

@ku1ik ku1ik transferred this issue from asciinema/asciinema Jan 29, 2024
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

2 participants