There are several meanings. Since you didn't say which one you wanted to use, here are some different sentences.
The word loudness speaks to sound pressure or apparent volume of sound. Here's your sentence. The patrons found the loudnessof the music beyond what they could stand, so they left the club.
The density of the material was measured to determine its weight per unit volume.
The volume of the music was too loud, so the neighbors complained.
The volume of the music was so loud that it made my ears ring.
The volume of a gas increases with temperature due to the particles moving faster and occupying a larger space.