Rules Guy: Is it legal to use a metronome between shots?

metronome golf

Is it legal to bring a metronome on the golf course?