One slider, two ways to set a metronome
On a wooden metronome, you slide a weight to a mark, set the arm in motion, and hear the tick. We kept that sequence in Pendulum 1.1 for iPhone and iPad. The tempo control also has to give players the numbers between the engraved marks.
Give the weight two gestures
Drag the brass weight to snap to one of 39 traditional tempo marks between 40 and 208 BPM. If you want 93 BPM for a passage, hold the weight briefly. A magnified scale appears, and dragging now moves in 1 BPM steps.
The accent bell has its own control. Pull the side rod to 3 and the bell rings on the first of every three beats. The wooden tick is still there underneath, which makes the downbeat stand out while keeping the pulse familiar across the bar.
Let the sound lead the arm
The audio engine sets the beat, and the on-screen arm follows its clock. A beat can fall between audio samples, so the engine carries that fractional remainder across beats and audio buffers. Each redraw reads the audio clock, so the next tick keeps its place even if a frame arrives late.
In the first part of the demo, the weight is at 96 BPM, the rod is set to 3, and the bell marks the first beat of each bar. Later in the clip, you can see the tempo and accent controls.