state of effects, volume and instrument managed by target in vm

This commit is contained in:
Eric Rosenbaum 2017-01-30 11:17:18 -05:00
parent 7b07d150da
commit c9029396c6

View file

@ -138,11 +138,6 @@ function AudioPlayer (audioEngine) {
// reset effects to their default parameters // reset effects to their default parameters
this.clearEffects(); this.clearEffects();
this.effectNames = ['PITCH', 'PAN', 'ECHO', 'REVERB', 'FUZZ', 'ROBOT'];
this.currentVolume = 100;
this.currentInstrument = 0;
// sound players that are currently playing, indexed by the sound's md5 // sound players that are currently playing, indexed by the sound's md5
this.activeSoundPlayers = Object.create({}); this.activeSoundPlayers = Object.create({});
} }