Need Help With Tone Pitch Follower

Hi I am really new to programing. I am trying to program a tone pitch follower and I am using the code given on the website and it is not working:

I have everything wired up properly. I don't know what to do. PLEASE HELP....

Does the code compile? Does it upload to the Arduino? Does it run? Does it do something? Does it produce any serial output? Does the serial output match what you expect based on the inputs you gave it?

I'm having problems too.

HAS ANYONE ELSE HAD PROBLEMS WITH THEIR PIEZO BUSSER NOT RESPONDING??????

The piezo buzzer works fine with the toneMelody example.
I know my sensor wiring is O.K. because the serial output responds as expected with light variations.
I know my piezo buzzer wiring is O.K. because the same wiring works fine with the toneMelody example.

Thanks