I like to write music by repeating melodies, except I usually shift the notes a whole step or sometimes a minor third every measure. So let's say a song starts with a melody in A minor, the next measure it's the same melody but shifted to B minor, then C# minor.
What is it called when that happens? I asked my music teacher about it and he said it's called "modal music". Is that correct? I'm mostly curious so I can explain to people what I'm doing when I write.