Skip to content

shuffle()

Randomly reorder the notes, in place.

Every note is kept; only their order changes.

Parameters

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

Mod.shuffle(material)
Parameter Type Default Description
material Phrase, Part, or Score required The music to change.