A small program designed to synthesize different frequency patterns