Arduino Lightsaber

Dear Friends just a couple of questions.

Im trying to do the same build as Jakesoft using an accelerometer and the clash sensor.
First of all, is there a way to include the "play command" to reproduce the boot up just once sound by including it in the void setup?

Is it possible to play the hum sound in the background and interrupt it as a swing is detected by the accelerometer? Then resume it and continue playing it in a loop.

Im trying to accomplish this without using any delay functions in the main loop to avoid lag.

Currently using the wt588d, an arduino nano and a mm8452 accelerometer. So far i have accomplished to run the functions "power on and power off" (including led and corresponding sound) with an attach interrupt function, a hardware debounce with an inverse Schmitt trigger and the 1 line serial mode.