Returns a FoscSilenceMask.
FoscSilenceMask
Replaces pitched events with rests at matching indices for ‘pattern’.
If ‘fuseRests’ is true, fuse all contiguous rests in the same parent, and extract any rest-filled tuplets.
| value | |
| !!!TODO: | method for use with rhythm-makers, mutation performed directly on array of selections |
Insert silences.
FIXME Execution warning: Class FoscSegmentList not found ERROR: Primitive _ObjectIsKindOf failed. Wrong type.
p = FoscPattern(#[0,1,4,5]) | FoscPattern.last(7);
m = FoscSilenceMask(p);
a = FoscRhythmMaker().(1/4 ! 4, #[[1,1,1,1,1]], masks: [m]);
f = FoscLilypondFile.rhythm(a);
f.show;Insert silences and fuse resulting rests.
FIXME Execution warning: Class FoscSegmentList not found ERROR: Primitive _ObjectIsKindOf failed. Wrong type.
p = FoscPattern(#[0,1,4,5]) | FoscPattern.last(7);
m = FoscSilenceMask(p, fuseRests: true);
a = FoscRhythmMaker().(1/4 ! 4, #[[1,1,1,1,1]], masks: [m]);
f = FoscLilypondFile.rhythm(a);
f.show;method for use with rhythm-makers, mutation performed directly on array of selections
FIXME: ERROR: Class not defined
p = #[3,3,3,3,3,-1,3,3,3,3,3,-1];
m = Threads.makeImpulseRhythm(4/8 ! 8, #[5], fusePattern: p);
f = FoscLilypondFile.rhythm(m, stretch: 0.8);
f.show;