When Bilbo and the Dwarves enter the clearing in the Trollshaws, they hear a loud, deep, booming laugh—the laugh of the stone-troll William (or "Bert" in some editions, but William is the first speaker).
"A deep, booming laugh, like the sound of thunder, that shook the ground beneath their feet."
This auditory cue signals immediate danger and foreshadows the capture of the company by the three trolls (William, Tom, and Bert).