The random melody generator now includes modulated sequences.
A modulated sequence is a short phrase which is repeated, starting on a new note. Because the melody line itself doesn't change (the distance between each note remains the same), the repeated phrase is played in a different key. Thus, we can say the sequence has modulated into a new key.
Modulated sequences are quite common in jazz solos and are frequently used to connect inside and outside playing. The "out" part of the sequence is connected to the "in" part by the fact that the shape of the melodic line is the same. This connection adds cohesion to the solo and helps the listener identify the "out" portion as a deliberate act, rather than a bunch of funky notes.
Original phrase: C, D, G, E
Same phrase, modulated up a minor third: Eb, F, Bb, G
Notice that the spacing between the notes hasn't changed from the original phrase to the modulated phrase. We're playing the same melodic line but we've now started on an Eb instead of a C. If you were playing the above over a C7 chord, the original phrase is the "in" part, and the modulated phrase would be the "out" part.
Enough reading, try it out!