make_multiplied_quarter_notes

scoretools.make_multiplied_quarter_notes(pitches, multiplied_durations)

Make quarter notes with pitches and multiplied_durations:

>>> arguments = [[0, 2, 4, 5], [(1, 4), (1, 5), (1, 6), (1, 7)]]
>>> scoretools.make_multiplied_quarter_notes(*arguments)
Selection([Note("c'4 * 1"), Note("d'4 * 4/5"), Note("e'4 * 2/3"), Note("f'4 * 4/7")])

Read pitches cyclically where the length of pitches is less than the length of multiplied_durations:

>>> arguments = [[0], [(1, 4), (1, 5), (1, 6), (1, 7)]]
>>> scoretools.make_multiplied_quarter_notes(*arguments)
Selection([Note("c'4 * 1"), Note("c'4 * 4/5"), Note("c'4 * 2/3"), Note("c'4 * 4/7")])

Read multiplied_durations cyclically where the length of multiplied_durations is less than the length of pitches:

>>> arguments = [[0, 2, 4, 5], [(1, 5)]]
>>> scoretools.make_multiplied_quarter_notes(*arguments)
Selection([Note("c'4 * 4/5"), Note("d'4 * 4/5"), Note("e'4 * 4/5"), Note("f'4 * 4/5")])

Returns list of zero or more newly constructed notes.