node-red-contrib-play-audio
Advanced tools
Comparing version 2.1.0 to 2.2.0
{ | ||
"name": "node-red-contrib-play-audio", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "A node-red node for playing audio in the browser", | ||
@@ -13,6 +13,10 @@ "scripts": { | ||
"keywords": [ | ||
"node-red" | ||
"node-red", "audio", "TTS", "text-to-speech" | ||
], | ||
"author": "Lorentz Lasson", | ||
"license": "MIT", | ||
"contributors": [ { | ||
"name": "Dave Conway-Jones" | ||
} | ||
], | ||
"license": "Apache-2.0", | ||
"bugs": { | ||
@@ -19,0 +23,0 @@ "url": "https://github.com/lorentzlasson/node-red-contrib-play-audio/issues" |
@@ -0,1 +1,18 @@ | ||
/** | ||
* Copyright 2015 Lorentz Lasson | ||
* Copyright 2015, 2016 Lorentz Lasson, Dave Conway-Jones | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
**/ | ||
module.exports = function(RED) { | ||
@@ -2,0 +19,0 @@ function PlayAudioNode(config) { |
@@ -1,4 +0,7 @@ | ||
# node-red-contrib-play-audio | ||
node-red-contrib-play-audio | ||
=========================== | ||
Node to play audio from a raw audio buffer. Works well togather with the [Watson Text to Speech node](http://flows.nodered.org/node/node-red-node-watson), | ||
<a href="http://nodered.org" target="_new">Node-RED</a> node to play audio from a raw audio buffer. | ||
Works well together with the [Watson Text to Speech node](http://flows.nodered.org/node/node-red-node-watson), | ||
using the WAV audio format. | ||
@@ -8,14 +11,21 @@ | ||
## Requirements | ||
Browser support for Web Audio API. | ||
## Install | ||
[Available on npm](https://www.npmjs.com/package/node-red-contrib-play-audio) | ||
Follow general [installation instructions](http://nodered.org/docs/getting-started/adding-nodes) for node-red nodes | ||
#### Local | ||
### On Bluemix | ||
Download the starter code and insert "node-red-contrib-play-audio" as a dependency in `package.json` | ||
Run the following command in your Node-RED user directory - typically `~/.node-red` | ||
## Requirements | ||
Browser support for Web Audio API. | ||
npm install node-red-contrib-play-audio | ||
#### Bluemix | ||
The easiest method to install on Bluemix is to fork the starter code | ||
<a href="https://github.com/node-red/node-red-bluemix-starter" target="_new">here</a> | ||
and insert "node-red-contrib-play-audio" as a dependency in `package.json` | ||
## Sample flow | ||
http://flows.nodered.org/flow/2b6b1fa3ca62f36854ce |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18038
31
31
6
1