My experience tells me that any time you hear people laughing on a sitcom, it's the writers who happen to be closest to the microphones - not the audience.