In main script, before function main()


sound beep_sound = <beep.wav>;

were you thinking of a console or DOS application beep()?