Hacker News new | ask | show | jobs
by lauretas 3284 days ago
How does this work? Where does the audio come from? Does it use some database of recorded IPA sounds, or does it convert from text to speech on the fly?
3 comments

Judging from the source (viewable with Chrome extension source viewer [1]), it's POSTing the IPA text to https://www.ipaaudio.click/audio as the `ipa` key of a JSON object, the server does the heavy lifting and sends back an audio buffer, which the extension sends to a WebAudio context.

It'd be neat to know what exactly the server is doing, though.

[1]: https://chrome.google.com/webstore/detail/chrome-extension-s...

OP here! I'm using Amazon's polly API which lets you convert IPA directly to audio
From what I can tell, it's bending an english TTS engine to make it pronounce IPA sounds