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:

For instance, the series

E♭ F# A C E B D G B♭ C# F A♭
in counterpoint with its mirror form:

matches the melody: