If you read about Hall effect sensors — the usual way to detect and measure magnetic fields these days — it sounds ...
In traditional film cameras and early digital cameras, the clicking sound was real. It came from mechanical parts inside the camera.