Wooden metronome sets the rhythm by swinging pendulum