jambonz / jambonz-webapp

A simple provisioning web app for jambonz
MIT License
5 stars 21 forks source link

Feature: Streaming Say verb #407

Closed flean closed 6 months ago

flean commented 7 months ago

Is there a way to add a Streaming Say verb that will work like config with bargein for listening but for sending TTS?

davehorton commented 7 months ago

I dont understand what you are asking for.

flean commented 7 months ago

I'll clarify, I'd like to be able to stream text to an always open SAY verb.

It's like the inverse of sticky bargein listening to the user talk and if they talk it hits an actionHook with event speechDetected and streams the text.

I'd like to be able to stream the text response I receive from an LLM Agent stream so it can speak faster.

Currently I created a FIFO queue and after a few words I send them off but there is a hiccup and sometimes the audio gets cut off. I'm not sure why, I've logged it and there is nothing that should be interrupting the last say verb but it gets cut off every now and then.

davehorton commented 6 months ago

we have no plans for this, the the upcoming bidirectional audio streaming support in listen verb may do what you want