set () () to ()%

Set () () to ()%

The set () () to ()% block is a stack block in the Sound Systems extension. It sets the given attribute to the selected audio group by the given percentage.

Dropdowns

  • The first dropdown is the list of audio groups, the list will expand as you add more and more audio groups.
  • The second dropdown is a selection of attributes to change to the selected audio group, these include:
    • volume: Changes the volume of the audio group, which is a thing you can do with vanilla blocks.
    • speed: Changes the speed of the audio group.
    • detune: Changes the detune of thee audio group.
    • pan: Changes the pan of the audio group, again you can change this with the vanilla blocks as well.

Workaround

If you want to change the volume of an audio group, you can do something like this:

broadcast (audio group volume change v)
when I receive [audio group volume change v]//Put this in the sprites that has the audio you want
set volume to (...)%

Pan:

broadcast (audio group pan change v)
when I receive [audio group pan change v]//Put this in the sprites that has the audio you want
set [pan left/right v] effect to (...)::sound

However, the downside is that it will affect EVERY sound the sprite has.