You can change the volume of a sound via JavaScript.
First you need to load a sound clip which is described here: https://cospaces.io/api/#sceneloadsound
And then you can control the volume of a sound clip described here: https://cospaces.io/api/#soundsetvolume
You can copy the example code into your code editor. Just replace the id of the sound clip in the code.
Benjamin