If you’re integrating Waves TTS into your application, one important decision is how to connect to the TTS engine. We support three protocols: HTTP, HTTP Streaming, and WebSocket, each tailored to different use cases. In this post, we’ll break down the strengths of each and help you choose the best fit for your needs.
What it is:
A classic REST-style interaction. You send a complete request (e.g., the full text to be converted to speech), and receive the synthesized audio as a downloadable response.
When to use it:
Pros and Cons:
What it is:
An enhancement of standard HTTP. The client sends a complete request, but the server streams back the audio as it’s being generated, no need to wait for the full file.
When to use it:
Pros and Cons:
What it is:
A full-duplex, persistent connection that allows two-way communication between the client and server. You can send text dynamically and receive streaming audio back continuously.
When to use it:
Pros and Cons: