An open API service indexing awesome lists of open source software.

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

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.