RageAgainstThePixel / com.rest.elevenlabs

A non-official Eleven Labs voice synthesis client for Unity (UPM)
https://elevenlabs.io/?from=partnerbrown9849
MIT License
74 stars 9 forks source link

Audio Streaming #28

Closed chrisecoleman closed 10 months ago

chrisecoleman commented 1 year ago

Feature Request

Is your feature request related to a problem? Please describe.

Yes, i want to reinforce the need for streaming support. I am encountering the mentioned instabilities in Stream Text to Speech

Describe the solution you'd like

Unity support for Stream Text to Speech

Describe alternatives you've considered

currently i am loading the full audio and its a very long delay for multi-page text.

Additional context

I realize this may be out of your control, but alternative solutions would be appreciated, is Unity aware of and tracking this bug?

StephenHodgson commented 1 year ago

Never got an update after submitting repro examples

https://forum.unity.com/threads/downloadhandleraudioclip-streamaudio-is-ignored.699908/#post-9127066

StephenHodgson commented 1 year ago

I also discussed the same problem to the eleven labs team and proposed changes to the API to enable streaming of the raw pcm data but they didn't want to make the requred changes.

StephenHodgson commented 1 year ago

My only suggestion is to maybe break up the text into smaller segments and submit in chunks

chrisecoleman commented 1 year ago

thanks for the reply, and the suggestion!