Returns a FoscSustainMask.
Sustain mask.
FIXME: none of these examples work
| value |
Rhythm-maker.
p = FoscPattern(#[0,1,4,5]) | FoscPattern.last(3);
m = FoscSustainMask(p);
a = FoscRhythmMaker();
m = a.(divisions: 1/4 ! 4, ratios: #[[1,1,1,1,1]], masks: [m]);
a.show;Leaf-maker
a = FoscLeafMaker().((60..75), [1/8]);
p = FoscPattern(#[0,1,4,5]) | FoscPattern.last(3);
m = FoscSustainMask(p).([a]);
FoscSelection(m).show;Fuse contiguous leaves when fuse is true.
a = FoscLeafMaker().((60..75), [1/8]);
p = FoscPattern(#[0,1,4,5]) | FoscPattern.last(3);
m = FoscSustainMask(p, fuse: true).([a]);
FoscSelection(m).show;Rewrite meter for previous example.
m = FoscMeterSpecifier(meters: #[[4,4],[4,4]], boundaryDepth: 1).(m);
FoscSelection(m).show;Fuse contiguous leaves when fuse is true.
p = FoscPattern(#[0,1,4,5]) | FoscPattern.last(3);
m = FoscSustainMask(p, fuse: true);
a = FoscRhythmMaker();
m = a.(divisions: 1/4 ! 4, ratios: #[[1,1,1,1,1]], masks: [m]);
FoscSelection(m).show;Apply tuplet specifier to previous example.
m = FoscTupletSpecifier(extractTrivial: true, rewriteRestFilled: true, rewriteSustained: true).(m); FoscSelection(m).show;Create a talea pattern.
p = FoscPattern(#[0,1,3], period: 6);
m = FoscSustainMask(p, fuse: true);
a = FoscRhythmMaker();
a.(divisions: 1/4 ! 4, ratios: #[[1,1,1,1,1]], masks: [m]);
a.show;Example
m = FoscSustainMask(FoscPattern(indices: #[0,1,4,5,17,18,19]), fuse: true);
a = FoscRhythmMaker();
a.(divisions: 1/4 ! 4, ratios: #[[1,1,1,1,1]], masks: [m]);
a.show;