A selection of a new pitch of a single melody:
Before a new randomly selectedtest-pitch is accepted in a construction process of a melody line, it has to pass several tests. The tests in the melody construction take into account the potential test-pitchand previous selected pitch or pitches of the same melody line.