could hear …の turns the preceding clause into the thing that was heard. 聞こえました describes something being audible, often without implying that the listener intentionally listened.
JA: 隣の部屋で誰かが笑うのが聞こえました。
EN: I could hear someone laughing in the next room.