Sound sensitive microphone to LED...

Yeah yeah, I was in a hurry. I meant
digitalWrite(d13,HIGH);

It was a poor choice of name (ledval) for a digital input signal from the breakout led.