For the aircraft, the shock wave is what causes the loud, thundering sonic boom. It's happening all the time, but for people on the ground, they only hear it once when the wake passes over them. Occasionally a double bang is heard, because two wakes are created, one by the aircraft nose and the other by the tail.