Re:Show HN: Add a play button next to IPA on Wikipedia
by lauretas on Wednesday June 28, 2017 @05:22AM
(#14652751)
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?
[ Parent
| on HN ]
Re:Show HN: Add a play button next to IPA on Wikipedia
by josephfrazier on Wednesday June 28, 2017 @11:45AM
(#14655106)
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...