What kind of algoritme did you use to generate melody lines?
Without using random notes?

Just being curious and I don't have any knowledge about music patterns..