Basic text-to-speech example demonstrating the say verb over WebSocket transport.
Demonstrates:
- The
textproperty for speaking text - The
loopproperty for repeating a message - Verb chaining with
pauseandhangup
npm install| Variable | Default | Description |
|---|---|---|
PORT |
3000 |
Port the WebSocket server listens on |
LOG_LEVEL |
info |
Pino log level (debug, info, warn, error) |
npm startConfigure your jambonz application to use the WebSocket URL ws://your-server:3000/.