Quick attempt to turn proxomity to the sensor into loudness of a note.

Again, not a clue if this works. I'm just making a lot of guesses here.