mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2025-01-03 11:35:49 -05:00
comments
This commit is contained in:
parent
c54fc0f154
commit
e2255bbbbf
1 changed files with 2 additions and 0 deletions
|
@ -43,8 +43,10 @@ function AudioEngine () {
|
||||||
// global tempo in bpm (beats per minute)
|
// global tempo in bpm (beats per minute)
|
||||||
this.currentTempo = 60;
|
this.currentTempo = 60;
|
||||||
|
|
||||||
|
// instrument player for play note blocks
|
||||||
this.instrumentPlayer = new InstrumentPlayer(this.input);
|
this.instrumentPlayer = new InstrumentPlayer(this.input);
|
||||||
|
|
||||||
|
// drum player for play drum blocks
|
||||||
this.drumPlayer = new DrumPlayer(this.input);
|
this.drumPlayer = new DrumPlayer(this.input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue