Permalink
Browse files

Fix bug with Parameter Node not getting correct value

  • Loading branch information...
1 parent e7620cc commit 2d247c20f00676566a0d1185a24b95755d221981 @oampo committed Feb 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/ParameterNode.js
View
2 src/core/ParameterNode.js
@@ -36,7 +36,7 @@ extend(ParameterNode, AudioletNode);
* Process a block of samples
*/
ParameterNode.prototype.generate = function() {
- output.samples[0] = this.parameter.getValue();
+ this.outputs[0].samples[0] = this.parameter.getValue();
};
/**

0 comments on commit 2d247c2

Please sign in to comment.