heliosdesign / helios-audio-mixer

Web Audio API mixer library
https://heliosdesign.github.io/helios-audio-mixer/demo
MIT License
60 stars 11 forks source link

Mute, gain, etc, not affecting track #15

Closed YeomansIII closed 8 years ago

YeomansIII commented 8 years ago

I'm trying to mute, unmute, and modify gain of tracks after they are loaded but the changes don't seem to be affecting the tracks when I run Mixer.play();

I'm just simply running Mixer.getTrack(tracksubtrack.subtrack.label).mute(); then calling Mixer.play(). With four tracks loaded into the mixer, and even having all of them muted, they all still play. I also tried setting gain to 0 instead of muting, and that did not have an effect either. I can see the status of the track set to mute: true, but the mixer does not reflect that status.

Let me know if I can give any more information.

YeomansIII commented 8 years ago

After doing some refactoring, things seem to be working now.