Skip to content

Latest commit

 

History

History
42 lines (24 loc) · 1.19 KB

README.md

File metadata and controls

42 lines (24 loc) · 1.19 KB

simon-say

A (partial) implementation of the Speech Synthesis Interface Protocol 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.