A system for producing pieces of center-filled chewing gum includes an extruder, at least one measuring apparatus, and a control system. The extruder is extruding a gum rope having geometrical characteristics. The at least one measuring apparatus measures data related to at least one of the geometrical characteristics, and the measured data is used by the control system to regulate at least one geometrical characteristic of the gum rope.