Karaoke Game Help

I'm brand new to Arduino and I'm looking for help on code for a project I have in mind. I want a circuit that will play a short, simple tune, then the user will need to sing the tune back. It would need to compare that the notes sung matched the notes played in the tune, then output a successful or unsuccessful result. Is this something that would even be possible?