Use pin_Set(..) command to turn the Audio Amplifier off after playing the WAV file.