Today’s Google Doodle is an interactive Bach exhibit.
I used it to render a simply melody (in A minor-ish). The Doodle uses AI from about 300 Bach compositions and comes up with a simple harmony and a touch of counterpoint.
Then, you can save a MIDI file to keep your composition for later use.
Like Radar said in "M*A*S*H”, “Ah! Bach”.