arduino project 7

I'm doing the 7th project in the arduino book and tried to add a 5th button to the circuit but the piezo just make a weird noise when ever I touched the button. I was using a 1m ohm resistor to get a different current but it made one noise even when I changed the note

Which Arduino book? There several.

the one included in the arduino kit. sorry, didn't specify

Please do not refer to ‘the project . . . . . ‘

Not everyone knows what project 7 is about.

It is time to learn how to post schematics and your code.


Show us a good schematic of your circuit.
Show us a good image of your wiring.
Give links to components.
Posting images:

Use CTRL T to format your code.
Attach your ‘complete’ sketch between code tags, use the </> icon in the posting menu.
[code]Paste your sketch here[/code]

never mind. I fixed it