Lightsaber Audio

I’m currently building a lightsaber, and I have an accelerometer, arduino, soundboard, and speaker, but I can’t figure out how to play sound effects in xod. Currently, I am planning to make it so if the velocity is above 5, then it will play a swing sound effect. But, I can’t do that until I found out how to play audio. Any help would be appreciated. Thanks!

If you want to play pre-recorded sound effects, you could use an mp3player, e.g.:

A library is available for this device:
https://xod.io/libs/chris-cross/wtv020-dfplayer/

Thank you for the help!