singdict / singdict.github.io

MIT License
1 stars 0 forks source link

TTS button not working #2

Open changukshin opened 4 months ago

changukshin commented 4 months ago

TTS button not working

siewyeng commented 4 months ago

Current button seems to pronounce the word according to the default en-US pronunciation instead of the XSAMPA as defined in data/words

singdict commented 4 months ago

Failed to find free X-SAMPA API (or at least testable or free daily quota based as well).

Tried

Temporally, I removed the speaker button for now.

9

fcbond commented 4 months ago

It should be easy to convert X-SAMPA to IPA if that helps.

https://github.com/jhasegaw/phonecodes

https://dohliam.github.io/xsampa/

On Wed, 8 May 2024 at 13:32, singdict @.***> wrote:

Failed to find free X-SAMPA API (or at least testable or free daily quota based as well).

Tried

  • Google TTS(paid) - doesn't go along with vite(static web generator)
  • Amazon Polly(paid) - doesn't support X-SAMPA
  • Azure(paid) - doesn't support X-SAMPA

Temporally, I removed the speaker button for now.

9 https://github.com/singdict/singdict.github.io/pull/9

— Reply to this email directly, view it on GitHub https://github.com/singdict/singdict.github.io/issues/2#issuecomment-2100369656, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIPZRUAWE7RMX66RQOCMLTZBIENVAVCNFSM6AAAAABHMDGDPCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGM3DSNRVGY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Francis Bond https://fcbond.github.io/