New to Arduino, need help with melody function and pitches.h

Like i said i need some help with some code i found and would like to use

Im trying to design an electric/digital ocarina of sorts based this guys template and code. (code is in the link) I fixed up the code and created the pitches.h file, but when i go to compile the code i get this error

piches.h.ino:28:21: fatal error: pitches.h: No such file or directory
compilation terminated.
Error compiling.

Im not sure which directory they're talking about, or what im mission, help would be much appreciated ^^

Im not sure which directory they're talking about

piches.h.ino:28:21: fatal error:

Why do you have a file named pitches.h.ino ?

Please post your program and tell us the filenames being used and in which folder they are situated.

Where you have your file "pitches.h"? In the folder of the sketch? In the code you have 2 setup() functions and 2 loop() functions. I hope it was an error copying it to pastebin and you don't have that in your code.