You do not need any code in the widget. Everything is in the pic.
Callback delegates are the bread & butter of comms. This sounds like the perfect use-case scenario. Keep your script as is, but add the slider onValueChanged and adjust the volume (stuff in the red frame) - see if it works.