Created
April 9, 2026 12:01
-
-
Save peterc/2cdb2ba30476858b5d2a9a041ddf884c to your computer and use it in GitHub Desktop.
Text-to-speech with tiny-tts (Node.js ESM example)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import TinyTTS from 'tiny-tts'; | |
| const tts = new TinyTTS(); | |
| await tts.speak('Hello, welcome to Node Weekly.', { | |
| output: 'output.wav', | |
| }); | |
| await tts.dispose(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment