@@ -50,7 +50,7 @@ _.inherits(AnalyserNode, AnalyserNodeConstructor);
5050AnalyserNode . exports = AnalyserNodeConstructor ;
5151AnalyserNode . jsonAttrs = [ "fftSize" , "minDecibels" , "maxDecibels" , "smoothingTimeConstant" ] ;
5252
53- AnalyserNode . prototype . getFloatFrequencyData = function ( ) {
53+ AnalyserNodeConstructor . prototype . getFloatFrequencyData = function ( ) {
5454 var inspector = new Inspector ( this , "getFloatFrequencyData" , [
5555 { name : "array" , type : "Float32Array" } ,
5656 ] ) ;
@@ -60,7 +60,7 @@ AnalyserNode.prototype.getFloatFrequencyData = function() {
6060 } ) ;
6161} ;
6262
63- AnalyserNode . prototype . getByteFrequencyData = function ( ) {
63+ AnalyserNodeConstructor . prototype . getByteFrequencyData = function ( ) {
6464 var inspector = new Inspector ( this , "getByteFrequencyData" , [
6565 { name : "array" , type : "Uint8Array" } ,
6666 ] ) ;
@@ -70,7 +70,7 @@ AnalyserNode.prototype.getByteFrequencyData = function() {
7070 } ) ;
7171} ;
7272
73- AnalyserNode . prototype . getByteTimeDomainData = function ( ) {
73+ AnalyserNodeConstructor . prototype . getByteTimeDomainData = function ( ) {
7474 var inspector = new Inspector ( this , "getByteTimeDomainData" , [
7575 { name : "array" , type : "Uint8Array" } ,
7676 ] ) ;
@@ -121,7 +121,7 @@ _.inherits(AudioBuffer, AudioBufferConstructor);
121121
122122AudioBuffer . exports = AudioBufferConstructor ;
123123
124- AudioBuffer . prototype . getChannelData = function ( channel ) {
124+ AudioBufferConstructor . prototype . getChannelData = function ( channel ) {
125125 var inspector = new Inspector ( this , "getChannelData" , [
126126 { name : "channel" , type : "number" }
127127 ] ) ;
@@ -224,7 +224,7 @@ _.inherits(AudioBufferSourceNode, AudioBufferSourceNodeConstructor);
224224AudioBufferSourceNode . exports = AudioBufferSourceNodeConstructor ;
225225AudioBufferSourceNode . jsonAttrs = [ "buffer" , "playbackRate" , "loop" , "loopStart" , "loopEnd" ] ;
226226
227- AudioBufferSourceNode . prototype . start = function ( when ) {
227+ AudioBufferSourceNodeConstructor . prototype . start = function ( when ) {
228228 var inspector = new Inspector ( this , "start" , [
229229 { name : "when" , type : "optional number" } ,
230230 { name : "offset" , type : "optional number" } ,
@@ -241,7 +241,7 @@ AudioBufferSourceNode.prototype.start = function(when) {
241241 this . _startTime = _ . defaults ( when , 0 ) ;
242242} ;
243243
244- AudioBufferSourceNode . prototype . stop = function ( when ) {
244+ AudioBufferSourceNodeConstructor . prototype . stop = function ( when ) {
245245 var inspector = new Inspector ( this , "stop" , [
246246 { name : "when" , type : "optional number" }
247247 ] ) ;
@@ -650,7 +650,7 @@ _.inherits(AudioListener, AudioListenerConstructor);
650650
651651AudioListener . exports = AudioListenerConstructor ;
652652
653- AudioListener . prototype . setPosition = function ( ) {
653+ AudioListenerConstructor . prototype . setPosition = function ( ) {
654654 var inspector = new Inspector ( this , "setPosition" , [
655655 { name : "x" , type : "number" } ,
656656 { name : "y" , type : "number" } ,
@@ -662,7 +662,7 @@ AudioListener.prototype.setPosition = function() {
662662 } ) ;
663663} ;
664664
665- AudioListener . prototype . setOrientation = function ( ) {
665+ AudioListenerConstructor . prototype . setOrientation = function ( ) {
666666 var inspector = new Inspector ( this , "setOrientation" , [
667667 { name : "x" , type : "number" } ,
668668 { name : "y" , type : "number" } ,
@@ -677,7 +677,7 @@ AudioListener.prototype.setOrientation = function() {
677677 } ) ;
678678} ;
679679
680- AudioListener . prototype . setVelocity = function ( ) {
680+ AudioListenerConstructor . prototype . setVelocity = function ( ) {
681681 var inspector = new Inspector ( this , "setVelocity" , [
682682 { name : "x" , type : "number" } ,
683683 { name : "y" , type : "number" } ,
@@ -750,7 +750,7 @@ _.inherits(AudioNode, AudioNodeConstructor);
750750
751751AudioNode . exports = AudioNodeConstructor ;
752752
753- AudioNode . prototype . connect = function ( destination ) {
753+ AudioNodeConstructor . prototype . connect = function ( destination ) {
754754 var inspector = new Inspector ( this , "connect" , [
755755 { name : "destination" , type : "AudioNode | AudioParam" , validate : sameContext } ,
756756 { name : "output" , type : "optional number" , validate : checkNumberOfOutput } ,
@@ -787,7 +787,7 @@ AudioNode.prototype.connect = function(destination) {
787787 }
788788} ;
789789
790- AudioNode . prototype . disconnect = function ( ) {
790+ AudioNodeConstructor . prototype . disconnect = function ( ) {
791791 var inspector = new Inspector ( this , "connect" , [
792792 { name : "output" , type : "optional number" , validate : checkNumberOfOutput } ,
793793 ] ) ;
@@ -922,7 +922,7 @@ _.inherits(AudioParam, AudioParamConstructor);
922922
923923AudioParam . exports = AudioParamConstructor ;
924924
925- AudioParam . prototype . setValueAtTime = function ( value , startTime ) {
925+ AudioParamConstructor . prototype . setValueAtTime = function ( value , startTime ) {
926926 var inspector = new Inspector ( this , "setValueTime" , [
927927 { name : "value" , type : "number" } ,
928928 { name : "startTime" , type : "number" } ,
@@ -939,7 +939,7 @@ AudioParam.prototype.setValueAtTime = function(value, startTime) {
939939 } ) ;
940940} ;
941941
942- AudioParam . prototype . linearRampToValueAtTime = function ( value , endTime ) {
942+ AudioParamConstructor . prototype . linearRampToValueAtTime = function ( value , endTime ) {
943943 var inspector = new Inspector ( this , "linearRampToValueAtTime" , [
944944 { name : "value" , type : "number" } ,
945945 { name : "endTime" , type : "number" } ,
@@ -956,7 +956,7 @@ AudioParam.prototype.linearRampToValueAtTime = function(value, endTime) {
956956 } ) ;
957957} ;
958958
959- AudioParam . prototype . exponentialRampToValueAtTime = function ( value , endTime ) {
959+ AudioParamConstructor . prototype . exponentialRampToValueAtTime = function ( value , endTime ) {
960960 var inspector = new Inspector ( this , "exponentialRampToValueAtTime" , [
961961 { name : "value" , type : "number" } ,
962962 { name : "endTime" , type : "number" } ,
@@ -973,7 +973,7 @@ AudioParam.prototype.exponentialRampToValueAtTime = function(value, endTime) {
973973 } ) ;
974974} ;
975975
976- AudioParam . prototype . setTargetAtTime = function ( target , startTime , timeConstant ) {
976+ AudioParamConstructor . prototype . setTargetAtTime = function ( target , startTime , timeConstant ) {
977977 var inspector = new Inspector ( this , "setTargetAtTime" , [
978978 { name : "target" , type : "number" } ,
979979 { name : "startTime" , type : "number" } ,
@@ -992,7 +992,7 @@ AudioParam.prototype.setTargetAtTime = function(target, startTime, timeConstant)
992992 } ) ;
993993} ;
994994
995- AudioParam . prototype . setValueCurveAtTime = function ( values , startTime , duration ) {
995+ AudioParamConstructor . prototype . setValueCurveAtTime = function ( values , startTime , duration ) {
996996 var inspector = new Inspector ( this , "setValueCurveAtTime" , [
997997 { name : "values" , type : "Float32Array" } ,
998998 { name : "startTime" , type : "number" } ,
@@ -1011,7 +1011,7 @@ AudioParam.prototype.setValueCurveAtTime = function(values, startTime, duration)
10111011 } ) ;
10121012} ;
10131013
1014- AudioParam . prototype . cancelScheduledValues = function ( startTime ) {
1014+ AudioParamConstructor . prototype . cancelScheduledValues = function ( startTime ) {
10151015 var inspector = new Inspector ( this , "cancelScheduledValues" , [
10161016 { name : "startTime" , type : "number" } ,
10171017 ] ) ;
@@ -1221,7 +1221,7 @@ _.inherits(BiquadFilterNode, BiquadFilterNodeConstructor);
12211221BiquadFilterNode . exports = BiquadFilterNodeConstructor ;
12221222BiquadFilterNode . jsonAttrs = [ "type" , "frequency" , "detune" , "Q" , "gain" ] ;
12231223
1224- BiquadFilterNode . prototype . getFrequencyResponse = function ( ) {
1224+ BiquadFilterNodeConstructor . prototype . getFrequencyResponse = function ( ) {
12251225 var inspector = new Inspector ( this , "getFrequencyResponse" , [
12261226 { name : "frequencyHz" , type : "Float32Array" } ,
12271227 { name : "magResponse" , type : "Float32Array" } ,
@@ -1959,7 +1959,7 @@ _.inherits(OscillatorNode, OscillatorNodeConstructor);
19591959OscillatorNode . exports = OscillatorNodeConstructor ;
19601960OscillatorNode . jsonAttrs = [ "type" , "frequency" , "detune" ] ;
19611961
1962- OscillatorNode . prototype . start = function ( when ) {
1962+ OscillatorNodeConstructor . prototype . start = function ( when ) {
19631963 var inspector = new Inspector ( this , "start" , [
19641964 { name : "when" , type : "optional number" } ,
19651965 ] ) ;
@@ -1974,7 +1974,7 @@ OscillatorNode.prototype.start = function(when) {
19741974 this . _startTime = _ . defaults ( when , 0 ) ;
19751975} ;
19761976
1977- OscillatorNode . prototype . stop = function ( when ) {
1977+ OscillatorNodeConstructor . prototype . stop = function ( when ) {
19781978 var inspector = new Inspector ( this , "stop" , [
19791979 { name : "when" , type : "optional number" } ,
19801980 ] ) ;
@@ -1992,7 +1992,7 @@ OscillatorNode.prototype.stop = function(when) {
19921992 this . _stopTime = _ . defaults ( when , 0 ) ;
19931993} ;
19941994
1995- OscillatorNode . prototype . setPeriodicWave = function ( periodicWave ) {
1995+ OscillatorNodeConstructor . prototype . setPeriodicWave = function ( periodicWave ) {
19961996 var inspector = new Inspector ( this , "setPeriodicWave" , [
19971997 { name : "periodicWave" , type : "PeriodicWave" } ,
19981998 ] ) ;
@@ -2098,7 +2098,7 @@ PannerNode.jsonAttrs = [
20982098 "rolloffFactor" , "coneInnerAngle" , "coneOuterAngle" , "coneOuterGain"
20992099] ;
21002100
2101- PannerNode . prototype . setPosition = function ( ) {
2101+ PannerNodeConstructor . prototype . setPosition = function ( ) {
21022102 var inspector = new Inspector ( this , "setPosition" , [
21032103 { name : "x" , type : "number" } ,
21042104 { name : "y" , type : "number" } ,
@@ -2110,7 +2110,7 @@ PannerNode.prototype.setPosition = function() {
21102110 } ) ;
21112111} ;
21122112
2113- PannerNode . prototype . setOrientation = function ( ) {
2113+ PannerNodeConstructor . prototype . setOrientation = function ( ) {
21142114 var inspector = new Inspector ( this , "setOrientation" , [
21152115 { name : "x" , type : "number" } ,
21162116 { name : "y" , type : "number" } ,
@@ -2122,7 +2122,7 @@ PannerNode.prototype.setOrientation = function() {
21222122 } ) ;
21232123} ;
21242124
2125- PannerNode . prototype . setVelocity = function ( ) {
2125+ PannerNodeConstructor . prototype . setVelocity = function ( ) {
21262126 var inspector = new Inspector ( this , "setVelocity" , [
21272127 { name : "x" , type : "number" } ,
21282128 { name : "y" , type : "number" } ,
@@ -2307,7 +2307,7 @@ var WebAudioAPI = require("./WebAudioAPI");
23072307
23082308var WebAudioTestAPI = { } ;
23092309
2310- WebAudioTestAPI . VERSION = "0.2.0 " ;
2310+ WebAudioTestAPI . VERSION = "0.2.1 " ;
23112311WebAudioTestAPI . sampleRate = 44100 ;
23122312
23132313WebAudioTestAPI . use = function ( ) {
0 commit comments