Loudness of any sound is only determined by how close it is to the player.
Obsidian doesn't mute sounds. To prove this I just put a note block in the middle of a 5x5x5 obsidian box, and I could clearly hear the sound.
(Repeaters can pull redstone current through blocks, so I didn't have to make any holes in the box.)