Skip to content

palindrome()

Double the music by adding a reversed copy of itself onto the end, in place.

The result plays forward and then backward.

Parameters

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

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