Skip to content

cycle()

Repeat a phrase until it holds a set number of notes, in place.

Mod.cycle(phrase, numberOfNotes)

Like Mod.repeat(), but the last repetition may be cut short once the note count is reached.

Parameters

Mod.cycle(phrase, numberOfNotes)
Parameter Type Default Description
phrase Phrase required The phrase to change.
numberOfNotes int required How many notes the phrase should end up with.