。
I think I heard a noise.
Literal
Noise [subject-が] was-audible seems.
聞こえたようだ — ようだ expresses the speaker's judgment based on impression: 'it seems that I heard something.' Less uncertain than ~気がする, more confident inference.
I think I heard a noise.