How this is all done is one of the most amazing pieces of engineering in watchmaking. The repeater works by
link literally feeling the position of the hands via a system of snails and racks under the dial that's where the gears that actually move the hands are located. That count is
link then translated mechanically into a given number of
link hammer strikes for the hours quarter hours and minutes.
link