about the wave thingy, I don't know how to use it, im looking at your code and I don't see anything wrong yet, but I would put : in-between the beeps and wait, like BEEP 50:WAIT 50:BEEP 29:, something like that.