neoscore.western.multi_staff_object
- class neoscore.western.multi_staff_object.MultiStaffObject[source]
Bases:
object
An object which spans several staves.
This is a mixin class for
PositionedObject
classes. SuchPositionedObject
s must have their highest staff also be their parent such thatself.parent == self.highest
.- __init__(staves: Union[StaffGroup, List[AbstractStaff]])[source]
- Parameters
staves – The staves this is associated with. If a raw list of staves is given, it must be in visually descending order.
- property staves: List[AbstractStaff]
The staves this is associated with, given in descending order.
- property highest: AbstractStaff
Shorthand for
staves[0]
- property lowest: AbstractStaff
Shorthand for
staves[-1]