scratch-audio
Advanced tools
Comparing version 0.1.0-prerelease.1503425772 to 0.1.0-prerelease.1510703529
{ | ||
"name": "scratch-audio", | ||
"version": "0.1.0-prerelease.1503425772", | ||
"version": "0.1.0-prerelease.1510703529", | ||
"description": "audio engine for scratch 3.0", | ||
@@ -5,0 +5,0 @@ "main": "dist.js", |
@@ -49,2 +49,10 @@ const StartAudioContext = require('startaudiocontext'); | ||
/** | ||
* Get this sprite's input node, so that other objects can route sound through it. | ||
* @return {AudioNode} the AudioNode for this sprite's input | ||
*/ | ||
getInputNode () { | ||
return this.effectsNode; | ||
} | ||
/** | ||
* Play a sound | ||
@@ -51,0 +59,0 @@ * @param {string} soundId - the soundId id of a sound file |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
620724
3176
4179
27
66
5
385