0.1.7 • Published 7 years ago

node-red-contrib-speaker v0.1.7

Weekly downloads
37
License
MIT
Repository
github
Last release
7 years ago

node-red-contrib-speaker

This node-red node accepts PCM audio data and plays it to the speakers.

It uses the node-speaker node

Install

From your .node-red directory:

npm install --unsafe-perm node-red-contrib-speaker

Note : when installing on Raspberry PI, verify that the C compiler version is 4.8 (or more) before installing the package

Usage

The input should be a raw buffer containing the audio on msg.speech.

It can be used with the IBM Watson Text to Speech service on Bluemix.

You can define :

  • the number of audio channels (default: 2).
  • the sampling resolution (default: 16-bit).
  • the sampling rate (default: 11,025 Hz).

These default values are used by the IBM Watson Text to Speech service on Bluemix.

The audio parameters can be overwritten by msg.channels, msg.bitDepth and msg.sampleRate

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago