How to remove a channel's VolumeMod?

What's the proper way to remove an audio channel effect after it's added?

TIA!

Does snd.channel.removeEffect(effect) not work?

1 Like

Thanks! That's what I'd guessed but I swear I searched for that twice and didn't find it! :man_shrugging: It's right there in the docs.

Oops--that one I DID find, but what I did not find... how to remove a volumeMod, panMod, etc.?

What's the right way to remove this?

playdate.sound.channel:setVolumeMod(signal)

TIA

For API functions where you set something instead of add, you'd generally clear it by setting it to nil. I'll make a note to add that to the docs!

1 Like

Good rule of thumb. Thanks1