Batty Boop plays the smurfs theme song when it sees something, and varies the speed of the melody depending on the distance objects are from it. When up close it plays quickly, and further away to a point it gradually plays slower. Perhaps this is because Batty Boop gets nervous when things are too close?

BattyBoop-v2

See the video here.

techDemo2-v2-5.ino

smurfNotes.h