Simulator
Using ||music:volume|| works on the micro:bit. It might not work in the simulator on every browser.
Get the current volume level of the sound synthesizer.
music.volume()
Using ||music:volume|| works on the micro:bit. It might not work in the simulator on every browser.
0 for silent and 255 for the loudest sound.music