Bobby Horton in his collection of 10 Civil War CDs says it was written by Butterfield' bugler
However, my recollection from my father, who was a Canadian military bandmaster, is that there is the Taps lights out bugle call, and the longer lament The Last Post which, naturally and appropriately includes Taps. (We played it at his graveside service)
The last post is played at Nov 11 services here in Canada. Taps I remember from Scout camp. To leaders it meant lights out--tous it meant just minuets until just minuetes until we could raid the other tents.
richard