https://github.com/andrewn/simon-say
An implementation of SSIP for macOS
https://github.com/andrewn/simon-say
Last synced: 12 months ago
JSON representation
An implementation of SSIP for macOS
- Host: GitHub
- URL: https://github.com/andrewn/simon-say
- Owner: andrewn
- Created: 2018-02-22T18:09:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T17:06:31.000Z (about 3 years ago)
- Last Synced: 2025-04-04T19:18:03.577Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 15.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# simon-say
A (partial) implementation of the [Speech Synthesis Interface Protocol](https://devel.freebsoft.org/doc/speechd/ssip.html) for macOS.
The macOS `say` command is used for speech synthesis.
## Supported commands
| Command |
| ----------------------------------------- |
| `LIST VOICES` |
| `SET (all \| self \| id) VOICE_TYPE type` |
| `GET VOICE_TYPE` |
| `SPEAK` |
## Installation and usage
This requires node v8+.
You can install globally:
npm install --global https://github.com/andrewn/simon-say/archive/master.tar.gz
Or you can install locally:
npm install --save https://github.com/andrewn/simon-say/archive/master.tar.gz
## Usage
Start the server listening on port `12345` using the command:
PORT=12345 simon-say
Start the server listening on host `0.0.0.0` and port `12345` using the command:
HOST=0.0.0.0 PORT=12345 simon-say
Start the server listening on the socket path `/tmp/speechd.sock` use the command:
SOCKET_PATH=/tmp/speechd.sock simon-say
You can then use a client that speaks SSIP to connect to that socket and send commands.