initialization

This commit is contained in:
Eric Rosenbaum 2017-02-02 14:49:17 -05:00
parent 7483cbdb2f
commit a1baa94d3c

View file

@ -2,9 +2,9 @@ var Tone = require('tone');
var log = require('./log');
function SoundPlayer () {
this.outputNode;
this.buffer; // a Tone.Buffer
this.bufferSource;
this.outputNode = null;
this.buffer = new Tone.Buffer();
this.bufferSource = null;
this.playbackRate = 1;
this.isPlaying = false;
}