Periodic signal modeling for the octave problem in music transcription