Britannica Sources used in this answer

Why does Hans Beckert whistle “In the Hall of the Mountain King” in M?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In the 1931 thriller M, directed by Fritz Lang, the character Hans Beckert whistles the melody of "In the Hall of the Mountain King" from Edvard Grieg’s Peer Gynt as a leitmotif to signal his presence before committing a crime.1

Rather than depicting the murders on-screen, Lang utilized this auditory cue to build a sense of encroaching terror and psychological entrapment. By associating this specific melody with the character's actions, the film effectively uses offscreen sound to heighten the audience's fear and anticipation of the violence to come.1