fixing the sound playing to utilize the beep character on the console