Bug fix
Google and Sarvam voice previews play again.
Before: pressing play on any Google voice, or on a Sarvam voice in Safari or on an iPhone, showed "Audio playback failed". After: they play in every browser.
- Type
- Bug fix
- Shipped
- Areas
- Platform
Before: pressing play on any Google voice, or on a Sarvam voice in Safari or on an iPhone, showed "Audio playback failed". After: they play in every browser.
There were two separate faults:
| Voices | Why they failed | Fix |
|---|---|---|
| Google (30) | Google deleted the sample files we linked to. All 30 URLs return 404. | We synthesize each sample once with our Google TTS account and host it, like Sarvam. |
| Sarvam (60) | Files served from S3 go out with no size, and a "send part of the file" (Range) request gets the whole file. Chrome copes. Safari and iOS refuse such a WAV. | Send the size and answer Range requests with 206. |
