neoscore.western.ped_and_star
- class neoscore.western.ped_and_star.PedAndStar[source]
Bases:
Spanner2D
,PositionedObject
,HasMusicFont
Pedal notation in the ornate ‘Ped’ and release star style.
- __init__(start: PointDef, start_parent: PositionedObject, end_pos: PointDef, end_parent: Optional[PositionedObject] = None, font: Optional[MusicFont] = None)[source]
- Parameters
start – The position of the start-pedal mark relative to
start_parent
.start_parent – Anchor for the start-pedal mark.
end_pos – The position of the release-pedal mark relative to
end_parent
.end_parent – An optional anchor for the release-pedal mark. Defaults to
self
.font – If provided, this overrides any font found in the ancestor chain.