mbitsnbites / soundbox

SoundBox is an HTML5 synth music tracker/editor, suitable for creating music for small JavaScript demos (4K / 8K).
https://gitlab.com/mbitsnbites/soundbox
429 stars 77 forks source link

request: mute currently playing sound when switching channels, instead of continuing playback with destination-channel's preset #52

Closed esaruoho closed 6 years ago

esaruoho commented 6 years ago

please protect user from accidental deafness: steps to replicate.

  1. Create a sound that has full clip and full distortion to channel1
  2. Create a sound that has a long long long release to channel2
  3. Play notes in channel2
  4. Switch to channel1

Expected result: All playing sound in channel2 either continues playing, or is muted

Current result: Channel2 playing sound "preset" is switched to channel1 "preset", causing at best annoying spikes in audio, at worst, tinnitus/deafness, depending on what you do with the settings.

please protect user from these