use_transpose note_shift (number)
Transposes your music by shifting all notes played by the specified amount. To shift up by a semitone use a transpose of 1. To shift down use negative numbers. See with_transpose for setting the transpose value only for a specific do/end block. To transpose entire octaves see use_octave.
Introduced in v2.0
| # Example 1 | |
|
|
|
| # Example 2 | |
|
|
|