Skip to content

shift()

Move every phrase's start time earlier or later, in place.

A positive time moves the music later; a negative time moves it earlier, but not before the start of the piece (0.0).

Parameters

Mod.shift() is a static utility. Call it on the Mod class itself, for example:

Mod.shift(material, time)
Parameter Type Default Description
material Phrase, Part, or Score required The music to change.
time int or float required How far to move the music, in beats.