properties for number of instruments and drums for use by vm

This commit is contained in:
Eric Rosenbaum 2017-01-11 11:40:35 -05:00
parent 3c520d6e10
commit b32ee9267b

View file

@ -43,9 +43,11 @@ function AudioEngine () {
// instrument player for play note blocks
this.instrumentPlayer = new InstrumentPlayer(this.input);
this.numInstruments = this.instrumentPlayer.instrumentNames.length;
// drum player for play drum blocks
this.drumPlayer = new DrumPlayer(this.input);
this.numDrums = this.drumPlayer.drumSounds.length;
}
AudioEngine.prototype.setTempo = function (value) {