a sewing machine with an electronic memory stores stitch control signals which are sequentially read out in synchronism with rotation of the upper drive shaft to control at least one of the needle swinging amplitude and the feeding amount or both . pattern selecting switches are operated to select a pattern of stitches , each stitch being produced by the needle swinging amplitude and feeding amount predetermined by a selected set of stitch control signals of the memory . manually influenced stitch adjusting means vary either the needle swinging amplitude or feeding amount for fine adjustment of the selected pattern .