Programming Technique: Volume as OFF

<>

An alternative approach could be to provide a control in which the user can select the effects chain. For example:
dummy-gui.png
select-fx1.png
I could post example code if you’re interested.