Returns a FoscComponent.
A component
| startOffsetInSeconds | Gets start offset in seconds. If no effective metronome mark is found, tempo is set to 1/4 = 60. |
| stopOffsetInSeconds | Gets stop offset in seconds. If no effective metronome mark is found, tempo is set to 1/4 = 60. |
| tag | Gets component tag. |
| asCompileString | Gets interpreter representation. |
| copy | Shallow copies component. |
| format | Formats component. |
| illustrate | Illustrates component. |
| storeArgs | (abjad: getnewargs) |
Gets start offset in seconds. If no effective metronome mark is found, tempo is set to 1/4 = 60.
Gets stop offset in seconds. If no effective metronome mark is found, tempo is set to 1/4 = 60.
Gets component tag.
Gets interpreter representation.
Subclass responsibility.
Shallow copies component.
Copies indicators.
Does not copy spanners.
Does not copy children.
Returns new component.
Example
a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], [1/12,1/12,1/12,1/4]));
b = a.copy;
b.components;[ ]Copy with children
a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], [1/12,1/12,1/12,1/4]));
b = a.prCopyWithChildren;
b.components;[ FoscTuplet(FoscMultiplier(2, 3), [ ]), FoscNote(FoscPitch("F4"), FoscDuration(1, 4)) ]
b.show;
a.doComponents { |each| each.postln };FoscStaff([ ], 'Staff', false)
b.doComponents { |each| each.postln };FoscStaff([ ], 'Staff', false)Formats component.
Returns string.
Illustrates component.
Returns LilyPond file.
Example
a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], [1/4]));
a.show;
(abjad: getnewargs)
Gets new arguments.
Returns array.