News for hackers. Stuff that matters.
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?
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...

Re:Show HN: Add a play button next to IPA on Wikipedia by rusbus on Wednesday June 28, 2017 @01:16PM (#14656039)
OP here! I'm using Amazon's polly API which lets you convert IPA directly to audio
Re:Show HN: Add a play button next to IPA on Wikipedia by sborra on Wednesday June 28, 2017 @06:06AM (#14652915)
From what I can tell, it's bending an english TTS engine to make it pronounce IPA sounds