As early as the 1400’s architects would use music to define structure for the most beautiful of building types.
Renaissance architect Leon Battista Alberti described it in this way;
“We shall therefore borrow all our Rules for Finishing our Proportions, from the Musicians, who are the greatest Masters of this Sort of Numbers, and from those Things wherein Nature shows herself most excellent and compleat.”
On the flipside to this, time has seen music progressively adapting to fit the containers in which it is being exhibited in, hence the birth of electronic music and stadium rock.