rotate()
Shift the notes around the phrase, in place.
Mod.rotate(phrase)
Each shift moves the last note to the front, so the first note becomes the second, and so on.
Parameters
Mod.rotate(phrase, times=1)
| Parameter | Type | Default | Description |
|---|---|---|---|
phrase |
Phrase |
required | The phrase to change. |
times |
int |
1 |
How many notes to shift by. |