'Andy Griffith' theme song also part of Americana

Earle Hagen is shown in Beverly Hills at the 2006 BMI Film/TV Awards, where he received the Classic Composition Award.

Story highlights

  • Earle Hagen wrote the music for "The Andy Griffith Show" theme song
  • He provided the whistle
  • It's one of the most recognizable TV songs

Earle Hagen spent a couple of months trying to come up with suitable music for "The Andy Griffith Show."

He awoke one morning, convinced the theme should be simple enough to whistle. In about 10 minutes, Hagen had composed the music that, like the show, became a fixture in American culture.

Tuesday's death of Andy Griffith, who played Sheriff Andy Taylor in the fictional town of Mayberry, brought a range of tributes to the legendary actor.

White House mourns the death of Andy Griffith

    Just Watched

    Andy Griffith dies at age 86

Andy Griffith dies at age 86 02:31

    Just Watched

    Griffith co-star: Andy one of a kind

Griffith co-star: Andy one of a kind 02:32

    Just Watched

    2011: Town where Andy Griffith grew up

2011: Town where Andy Griffith grew up 01:55

    Just Watched

    2005: Griffith gets Medal of Freedom

2005: Griffith gets Medal of Freedom 02:46

For its part, YouTube showcased an eclectic mix of theme song variations.

One clip features a hip-hop instrumental version. A whistling cockatiel stars in another, and a guitar-playing performer sings the little-known words to "The Fishin' Hole," as the theme became known, in a third clip. Everett Sloane wrote the unused lyrics.

In 1997, Hagen told the Television Academy Foundation's Archive of American Television that he provided the whistle for the original recording.

    "I never whistled before in my life and never since," he said.

    After Hagen came up with the toe-tapping music, the show's producers filmed the familiar intro shot of Griffith and his son, Opie, played by Ron Howard, walking to their favorite Mayberry fishing hole.

    "Andy can't go anywhere without somebody starting to whistle that theme at him," said Hagen, who died in 2008.

    Although he wrote music for other TV hits, including "I Spy," "The Mod Squad" and "The Danny Thomas Show," Hagen knew there was something special about "The Andy Griffith Show."

    "Mayberry has become utopia for a lot of people," he said.

    Remembering Andy Griffith with Lyrics

    What we love about Andy Griffith

    Actor Andy Griffith dead at 86

    Officials, stars and fans react to the death of Andy Griffith

    Mayberry in mourning

    10 things we learned from Andy Griffith