Abstract: A method for performing melody detection comprises interpreting the global perceptual effect of all the sounds at once, to determine what is the melody actually perceived by the human ear, and providing a music sheet or a text printout including a time sequence of single notes describing that melody.