l a needle drive device dv controls lateral driving or swinging of the needle relative to the fabric feeding direction for a necessary period of time each time the signal of the right basic line r and the signal of the left basic line l are newly issued as in fig5 f and f 39 the needle amplitude drive device dv is driven in the beginning by the signal of the right basic line r when the amplitude phase detecting device ph is h level and is driven by the signal of the left basic line l nearly at termination thereof and as seen in fig5 g and g 39 the needle is returned from the left basic l to the right basic line r in the interval between 34 b 34 and 34 e 34 or 34 b 39 34 and 34 e 39 34 this interval is controllable in the amplitude where the needle point is above the fabric and in addition a time interval between 34 c 39 34 and 34 d 39 34 is provided as seen in fig5 g 39 where the needle is stopped in spite of the high speed in the instant case the signal of the basic line of the needle is switched with the timer tm but it is allowed that the amplitude phase detecting device ph detects the rotation phase of the upper shaft of the sewing machine and the.