We use "a" before "sound" because it's the first mention of an indefinite sound. We use "the" before "living room" because it refers to a specific, known room in the context - typically understood to be the speaker's or a relevant house's living room.