How did music influence World War 1 and how did the war influence music?

It inspired the soldiers to have fun and enjoy the war (ha ha)

It influenced the BEF greatly, their nickname before they were called the old contemptibles was the Musical Army. Tunes like Long way to Tipperary, Keep the home fires burning, where did you get that hat and much more were excellent for soldiers morale in WW1.