neoscore.western.duration_display
- neoscore.western.duration_display.BaseDuration
A base duration used to set notehead and rest glyphs.
Must be 0 or a power of 2. The values correspond to durations like so:
0: Double whole note
1: Whole note
2: Half note
4: Quarter note (etc)
- class neoscore.western.duration_display.DurationDisplay[source]
Bases:
object
The basic information about a
Duration
needed to write a note with.- base_duration: BaseDuration
- dot_count: int
- property flag_count: int
Flag and beam count needed if used in a note
- __init__(base_duration: BaseDuration, dot_count: int) None
- property requires_stem: bool