物が壊れる is a relative clause modifying 音 — 'the sound of something breaking.' 音がする ('a sound is heard,' lit. 'a sound does') is the perception construction from the 声がする family. The overall structure: time + location + [relative clause]modifying sound + perception verb.