setVolume and popping noise

hello out there!
i’ve made a little setVolume sound randomizer based on josh davis’ random line script. technically it works, but apparently making setVolume changes that rapidly leads to tiny popping sounds at each change. here’s the thingy, headphones might be necessary to hear what i’m referring to.

anyone have any suggestions on how this might be worked around?