This kind of “positional wizardry” can be used to generate interesting melodic patterns that can be used in a variety of ways.