is a program memory rom which store the needle amplitude data for forming stitching patterns and the stitching data including fabric feeding data and issues the stitching data a detector means 4 of an upper shaft timing signal outputs an amplitude phase information and a feeding phase information in synchronism with the phase of the upper shaft of a sewing machine a generator means 5 of the finish up information is a program memory rom which stores the predetermined stitching length and the stitching number information and outputs said information in accordance with said finish up stitching order a central processing unit cpu 6 controls all of the connected information and carries out calculations and comparisons in accordance with said information a pattern forming means 7 comprises an amplitude actuator not shown which controls the displacement or amplitude in the needle amplitude direction and a feed actuator not shown which controls the feeding amount in both back and forth feed directions of a fabric to be processed and drives in accordance with said amplitude phase information and said feeding phase information so as to form stitches a machine motor 8 starts drives and stops in response to the operations of a speed controller not shown the.