Video Link: https://youtu.be/fFOgGLUCcxA

Based on distance to the sensor, the brightness of the LED increases and the tone/pitch of the speaker changes.