construct.run

abjad.tools.construct.run(count, duration=Rational(1, 8))

Returns a list of notes with equal duration and same middle C pitch.

  • count, the number of notes to create.
  • duration, a duration token indicating the duration of each note. The default is 1/8.

Examples:

abjad> construct.run(4)
[Note(c', 8), Note(c', 8), Note(c', 8), Note(c', 8)]
abjad> construct.run(4, (1, 16))
[Note(c', 16), Note(c', 16), Note(c', 16), Note(c', 16)]

Previous topic

construct.rests

Next topic

construct.scale

This Page