Returns a FoscRepeat.
Repeat
| context | Gets context. |
| repeatCount | Gets repeat count of repeat. |
| repeatType | Gets repeat type of repeat. |
| tweaks | Tweaks are not implemented on repeat. |
| str | Gets string representation of repeat |
Volta repeat.
a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], [1/4]));
m = FoscRepeat();
a.attach(m);
a.show;
Unfold repeat.
a = FoscContainer(FoscLeafMaker().(#[60,62,64,65], [1/4]));
m = FoscRepeat(repeatCount: 3, repeatType: 'unfold');
a.attach(m);
b = FoscScore([a]);
b.show;
Gets context.
Example
m = FoscRepeat();
m.context.postcs;'Score'Gets repeat count of repeat.
Example
m = FoscRepeat();
m.repeatCount.postcs;2Gets repeat type of repeat.
Example
m = FoscRepeat();
m.repeatType.postcs;'volta'Tweaks are not implemented on repeat.
The LilyPond command refuses tweaks.
Override the LilyPond BarLine grob instead.
Gets string representation of repeat
Example
m = FoscRepeat();
m.str.cs;"\\repeat volta 2"