Every button, slider, or sound producing item needs it's own instance of soundHandler. This way a user can hear individual sliders played together, the selected+built chord played together, or a single note compared to the selected chord. I assigned them some priorities to guide what should block what.
[x] Preview button (priority 3)
When the user presses what is currently the preview button the sliders should stop playing and be blocked from creating sound.
NOTE: It is possible that the preview button will be removed with the combination of this issue and #74
[x] Play Button (priority 4)
The play button should not block any other object from playing sounds.
[x] Check Button (priority 2)
When the check button is pressed all other sound should stop.
Something should play comparing the built and selected chord (depends on #70).
[x] Sliders (priority 4)
Sliders should never block any other item from producing sound.
[x] Random Button (priority 2)
Should block everything - sound and onTouch functionality - of every other object.
[x] Dialogs and Nav Drawer (priority 1)
Should block all sounds and non-relevant (to dialog) onTouch functionality
Every button, slider, or sound producing item needs it's own instance of soundHandler. This way a user can hear individual sliders played together, the selected+built chord played together, or a single note compared to the selected chord. I assigned them some priorities to guide what should block what.
preview
button the sliders should stop playing and be blocked from creating sound. NOTE: It is possible that the preview button will be removed with the combination of this issue and #74play
button should not block any other object from playing sounds.check
button is pressed all other sound should stop. Something should play comparing the built and selected chord (depends on #70).