Title: Flag anthem
Content:  A flag anthem is a patriotic song or ode dedicated to a flag, usually one of a country (in which case it is also known as a national flag anthem). It is often either sung or performed during or immediately before the raising or lowering of a flag during a ceremony. Most countries use their respective national anthems or some other patriotic song for this purpose. However, some countries, particularly in South America, use a distinct flag anthem for such purposes. Not all countries have flag anthems. Some used them in the past but no longer do, such as Iran and South Africa. Flag anthems can be officially codified in law, or unofficially recognized as such through mere custom and convention. In some countries, the flag anthem may be just another song, and in others, it may be an official symbol of the state akin to a second national anthem, such as in Republic of China.
Title: Ragged Old Flag (song)
Content:  At the first Americana Music Awards in September 2002, Cash added references to Operation Desert Storm and Afghanistan. During live performances, Cash usually introduced the song with the following: "'I thank God for all the freedom we have in this country, I cherish them and treasure them - even the right to burn the flag. We also got the right to bear arms and if you burn my flag - I'll shoot you. But I'll shoot you with a lot of love, like a good american'." "Ragged Old Flag" is recited at events around the country. It has been played by the West Point Band, and recited by various veterans groups at events on Veterans Day and the 4th of July.
Title: Anthem
Content:  A flag anthem is generally a patriotic musical composition that extols and praises a flag, typically one of a country, in which case it is sometimes called a national flag anthem. It is often either sung or performed during or immediately before the raising or lowering of a flag during a ceremony. Most countries use their respective national anthems or some other patriotic song for this purpose. However, some countries, particularly in South America, use a discrete flag anthem for such purposes. Not all countries have flag anthems. Some used them in the past but no longer do, such as Iran, China, and South Africa. Flag anthems can be officially codified in law, or unofficially recognized as such through mere custom and convention. In some countries, the flag anthem may be just another song, and in others, it may be an official symbol of the state akin to a second national anthem, such as in Taiwan.
Title: America (Neil Diamond song)
Content:  The song's theme is a positive interpretation of the history of immigration to the United States, both during the early 1900s and the present. Combining Diamond's typically powerful melody, dynamic arrangement, and bombastic vocal, it ends with an interpolation of the traditional patriotic song "My Country, 'Tis of Thee". In Diamond's concerts, the song is a very popular number both home and abroad, with a large United States flag often displayed from the rafters on cue to the lyric, "Every time that flag's unfurled / They're coming to America." The song was featured at the Stone Mountain Laser Show near Atlanta, Georgia. 
Title: You're a Grand Old Flag
Content:  The song was first publicly performed on February 6, the play's opening night, at Herald Square Theater in New York City. "You're a Grand Old Flag" quickly became the first song from a musical to sell over a million copies of sheet music. The title and first lyric comes from someone Cohan once met; the Library of Congress website notes. "You're a Grand Old Flag" would go on to become one of the most popular U.S. marching-band pieces of all time. "The original lyric for this perennial George M. Cohan favorite came, as Cohan later explained, from an encounter he had with a Civil War veteran who fought at Gettysburg. The two men 
Title: Virginia International Tattoo
Content:  =The Flag Raising ceremony is a cultural sampling of music and a colorful display of NATO Member National flags and uniforms in this military presentation representing all 29 NATO member nations. Each Nation's representative will present the national flag, while a portion of their national anthem is performed by the United States Fleet Forces Band.
Title: Flag of the United States
Content: Star Spangled Banner Flag (1814) – Flag that flew over Fort McHenry during a British bombardment in the War of 1812. This flag is depicted by Francis Scott Key in the song "Star-Spangled Banner" which would later become the national anthem of the United States.                                                                                                                                 Details :                                                                                                                                                                                                                                                                           30 x 34 ft. (Currently)                                                                                                                                                                                                                                                      15 horizontal stripes alternating red and white stripes 14 stars (one missing)                                                                                                                                                                                                                                                          Stars arranged in a staggered 3-3-3-3-3 pattern 
Title: You're a Grand Old Flag
Content:  "You're a Grand Old Flag" is an American patriotic march. The song, a spirited march written by George M. Cohan, is a tribute to the U.S. flag. In addition to obvious references to the flag, it incorporates snippets of other popular songs, including one of his own. Cohan wrote it in 1906 for his stage musical George Washington, Jr.
Title: Reveille
Content:  Reveille". In modern times, the U.S. military plays (or sounds) "Reveille" in the morning, generally near sunrise, though its exact time varies from base to base. On U.S. Army posts and Air Force bases, "Reveille" is played by itself or followed by the bugle call "To the Colors" at which time the national flag is raised and all U.S. military personnel outdoors are required to come to attention and present a salute in uniform, either to the flag or in the direction of the music if the flag is not visible. While in formation, soldiers are brought to the position of parade rest while "Reveille" plays then called to attention and present arms as the national flag is raised. On board U.S. 
Title: You're a Grand Old Flag
Content:  rag / You're a high-flying flag". Despite Cohan's efforts to pull that version, some artists such as Billy Murray had recorded it under its original title, "The Grand Old Rag", in advance of the play's opening, and copies under that title still circulate among collectors. Cohan's second attempt at writing the chorus began, "You're a grand old flag / Though you're torn to a rag". The final version, with its redundant rhyme, is as shown below. Today, many different arrangements of the song exist. In particular, Paul V. Yoder's 1954 arrangement of "You're a Grand Old Flag" is a version commonly used today by the U.S. military in its performances of the song.

Question: what song is played while raising the american flag?
Answer: Reveille.
"Reveille".