simon-say

0.0.2 • Public • Published

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.

Package Sidebar

Install

npm i simon-say

Weekly Downloads

1

Version

0.0.2

License

Apache-2

Unpacked Size

11.8 kB

Total Files

15

Last publish

Collaborators

  • andrewn