A machine swung from side to side amid the cheerful music.