For instance, the series
matches the melody:
Quodlibet
Setting durations and rests in a series, so, that when two versions are played in counterpoint, some melody results from the
combination.
The series is generated at random, and it tries to match one the melodies:
E♭ F# A C E B D G B♭ C# F A♭
in counterpoint with its mirror form: