mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 14:02:29 -05:00
initialization
This commit is contained in:
parent
7483cbdb2f
commit
a1baa94d3c
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue