from Hacker News

JavaScript-TTS-Wrapper – A Node and CommonJS TTS Wrapper

by willwade on 5/7/25, 12:27 AM with 1 comments

  • by willwade on 5/7/25, 12:27 AM

    Its a bit rough with SherpaOnnx and eSpeak - So PR's welcome.

    Idea here is this is a unifed TTS wrapper so getVoices is the same for all engines, and bytestream is the same and word events are the same - even if they don't support it we estimate it.

    Maybe useful since I see a lot of TTS hackers out there!

    NB: I will say JS isnt my bag - so feedback all welcome.