I’ve read several different stories about the origin of the song, Taps, but all agree that it was composed during the Civil War, about 1862. It has become a standard at military funeral when the haunting melody is traditionally played by one bugler or trumpeter. It is also played at dusk and for flag ceremonies.