Learn how to use @responsivevoice/core with these examples
Drop a <script> tag on any page — no build step.
Minimal text-to-speech example with speak, cancel, and event handling.
Full-featured demo with voice selection, speech controls, and event logging.
Inline player with paragraph highlighting, click-to-jump, and sticky mini-player. Multi-mount and dynamic rv.webPlayer.mount() shown side-by-side.
Live control panel for every webPlayer option — theme, controls, navigation, layout, and the --rv-player-margin CSS variable. Shows the matching JSON config snippet as you tweak.
Interactive voice browser with language filtering and preview.
Deep dive into event handling and speech progress tracking.
Install @responsivevoice/core from npm and bundle with your tool of choice.
Server-side usage — runs in Node.js, not the browser. Uses
@responsivevoice/api-client.
Command-line TTS tool. Run with: npm run cli -- "Hello"
REST API server for TTS. Run with: npm run server