Similar to how we show the STT latency, we should also show the latency for TTS. Hopefully this will not be too difficult since we already have the tts latency reported on the tracing spans.
The latency for TTS should be displayed similarly (in the form of a region) but it should be on the lower audio track since that is where the audio playback is occurring. The region should be clickable and when you click it you should get a popup showing:
tts vendor
latency
whether it was retrieved from cache
Also, we should one color for the regions for TTS which was generated, and a different color for TTS which was retrieved from cache. As with the STT latency we should display the latency in secs next to each region.
Similar to how we show the STT latency, we should also show the latency for TTS. Hopefully this will not be too difficult since we already have the tts latency reported on the tracing spans.
The latency for TTS should be displayed similarly (in the form of a region) but it should be on the lower audio track since that is where the audio playback is occurring. The region should be clickable and when you click it you should get a popup showing:
Also, we should one color for the regions for TTS which was generated, and a different color for TTS which was retrieved from cache. As with the STT latency we should display the latency in secs next to each region.