https://github.com/needle-engine/kokoro-tts
Experimental kokoro-tts worker package
https://github.com/needle-engine/kokoro-tts
Last synced: about 2 months ago
JSON representation
Experimental kokoro-tts worker package
- Host: GitHub
- URL: https://github.com/needle-engine/kokoro-tts
- Owner: needle-engine
- Created: 2025-03-01T18:14:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-01T20:15:21.000Z (over 1 year ago)
- Last Synced: 2025-03-01T20:31:26.076Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://needle-engine.github.io/kokoro-tts/
- Size: 35.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Kokoro TTS & Needle Engine
This package contains a kokoro TTS worker and a small typed API for local text to speech.
[Live Example](https://needle-engine.github.io/kokoro-tts/)
### Usage
```ts
import { Voice } from "@needle-tools/kokoro-tts"
const myVoice = new Voice({
context: new AudioContext(),
voice: "af_jessica",
});
myVoice.say("Hello World");
```
To test it locally go to the [./examples](/examples/) directory and run `npm i && npm dev`, then open the local URL in your browser.