A Day in Agrabah

"A Day in Agrabah" is a musical composition by Yoko Shimomura that appears in the Kingdom Hearts series.

Appearances
"A Day in Agrabah" is the field theme for Agrabah in Kingdom Hearts, Sora's story in Kingdom Hearts Chain of Memories, Kingdom Hearts 358/2 Days, and Kingdom Hearts Re:coded, and Kingdom Hearts Union χ.

Kingdom Hearts

 * Agrabah: "Agrabah", "Princess Jasmine", "Magic Carpet"

Kingdom Hearts Chain of Memories

 * Agrabah: Opening, Key of Beginnings, Key of Guidance, Key to Truth

Kingdom Hearts II

 * Agrabah (1st visit): "Turning Over a New Feather", "Princess Jasmine", "Aladdin and Abu", "The Trap", "Mountains of Treasure", "Pete Chases the Peddler", "Get the Lamp!" (Japanese version only), "See You Again"
 * Agrabah (2nd visit): "The Magic Carpet", "Iago's Confession", "Cosmic Razzle-Dazzle"

Kingdom Hearts HD 1.5 ReMIX

 * Kingdom Hearts 358/2 Days: "Day 75 - Inseparable", "Day 95 - Nobodies"

Kingdom Hearts χ[chi]

 * Agrabah: "Kidnapped", "A Close Call", "A Failed Attempt", "Hope Renewed", "The Search Continues", "The Stolen Rubies", "A Hunch", "The Reunion"

Kingdom Hearts Union χ[Cross]

 * Agrabah: "The Golden Scarab", "The Cave of Wonders", "Much-Needed Rest", "Princess Jasmine", "Diamond in the Rough", "Aladdin's Been Caught", "The Magic Carpet", "The Magic Lamp", "Genie of the Lamp", "The First Wish", "Prince Ali Ababwa", "The Second Wish", "The Master, Jafar", "Back to Agrabah", "The Third Wish", "Reunion: The Desert Oasis"

Composition
In Kingdom Hearts, "A Day in Agrabah" is approximately two minutes and twenty-three seconds. In Kingdom Hearts HD 1.5 ReMIX, the piece is two minutes and twenty-four seconds long. In Kingdom Hearts Re:Chain of Memories, the piece is two minutes and seventeen seconds. For Kingdom Hearts II, the piece is reduced to one minute and fifty-one seconds. For the HD remake of Kingdom Hearts II Final Mix, the piece is two minutes and forty-seven seconds long. Regardless of the game, the piece has a time signature of 4/4, and a tempo of 122 beats per minute.

For instrumentation, each version uses the same instruments, though for games not in the HD remakes, some voices are covered through electronic means- such as synthesizer. In general, the instrumentation includes: a strings section- violin, cello, and stringed bass, cymbals, tambourine, shaker, bongos, guitar, electric bass, and hand clapping. Additional instruments, unique and primarily used in traditional Middle Eastern music include the, , and.

A musical exoticism is used for this piece, evoking a Middle Eastern-type environment through the use of traditional Middle Eastern instruments, melodic keys, and rhythms. Throughout the piece is a music composition technique called "syncopation," in which emphasis is placed on the weaker (or "off") beats in rhythm. This syncopation can be heard in the electric bass guitar. The use of a sixteenth note triplet, closely resembling other musical, is also apparent throughout the piece, primarily in the strings section.

With the exception of Kingdom Hearts II and Kingdom Hearts HD 2.5 ReMIX, the piece starts with a triplet pickup measure in the strings. While some instruments will play the shorter or "moving" rhythms, like eighth and sixteenth notes, other instruments, such as the higher voiced strings- namely the violin- instead prefer the longer, tied rhythmic values. The increased and varied instrumentation in the percussion section helps create a unique atmosphere. In Kingdom Hearts II and its HD counterpart, the tone relaxes slightly, creating the same Middle Eastern environment, but in a much calmer fashion. In this version, the percussion section does not play as dominate of a role, allowing the transferring melody between stringed and flute instruments to lead.