Web-Multi-Media / multi-web-audio-sequencer

Web collaborative step sequencer
https://labs.freesound.org/sequencer
GNU General Public License v3.0
10 stars 2 forks source link

Solo and mute track #39

Closed xavierfav closed 6 years ago

xavierfav commented 6 years ago

It would be nice to be able to solo and mute the tracks.

I think this actions should not be shared across users as they are just actions for understanding the different tracks that are playing, but not part of the loop creation process.

We could add the buttons around the gain knob.

xavierfav commented 6 years ago

As suggested by @DerouineauNicolas, maybe a better way to do is to just not connect nodes of the track that are muted (instead of setting the gain to 0). Or even better, not calling the function playNote() for tracks that are muted. In the schedule() function, we could select only the pads ($currentPads) that correspond to non-muted tracks.