Hi, there's room for more responses here, but there are a couple of comments on this question here
/u/LordKettering in Was there an unspoken rule to spare the drummers in the Revolutionary or Civil Wars?
/u/OMGSPACERUSSIA in Drummers in battles during Colonial times: Did they switch to guns once the drums weren't needed anymore? Did they just have that one job and peace out afterwards? Curious about those guys.
Additionally, you'll find more general information on the roles of drummers in these threads
/u/TRB1783 and /u/GodEmperorTitus in What did the drummer boys in 17th and 18th century conflicts do when charging? Did they actually participate in the combat or did they just kinda awkwardly stand there and drum?
/u/GodEmperorTitus in The role of Drummer Boys in warfare.
These threads are all archived by now, so if you have further questions for any of these users, just ask here & tag their username to notify them
Edit: fixed link