The sound of clapping, explained by physics