FoscBeamSpecifier

Returns a FoscBeamSpecifier.


Description

Beam specifier.


Attributes Summary

Instance Properties

beamDivisionsTogether Is true when divisions should beam together.
beamEachDivision Is true when specifier beams each division.
beamRests Is true when beams should include rests.
hideNibs Is true when specifier hides nibs.
stemletLength Gets stemlet length.
useFeatherBeams Is true when multiple beams should feather.

Instance Methods: Special Methods

asCompileString !!!TODO: not yet implemented
value Calls beam specifier on selections.


Usage

  1. Beams each division by default.

    a = FoscStaff(FoscLeafMaker().(#[60], (1/8 ! 2) ++ (1/16 ! 4) ++ (1/8 ! 4)));
    b = FoscStaff(a);
    set(a).autoBeaming = false;
    b = a.selectLeaves.partitionBySizes(#[4,6]);
    FoscBeamSpecifier().(b);
    a.show;

  2. Beams each division but exclude rests.

    a = FoscStaff(FoscLeafMaker().((60 ! 7) ++ [nil] ++ (60 ! 2), (1/8 ! 2) ++ (1/16 ! 4) ++ (1/8 ! 4)));
    set(a).autoBeaming = false;
    b = a.selectLeaves.partitionBySizes(#[4,6]);
    FoscBeamSpecifier(beamEachDivision: true, beamRests: false).(b);
    a.show;

  3. Beams each division and include rests.

    a = FoscStaff(FoscLeafMaker().((60 ! 7) ++ [nil] ++ (60 ! 2), (1/8 ! 2) ++ (1/16 ! 4) ++ (1/8 ! 4)));
    set(a).autoBeaming = false;
    b = a.selectLeaves.partitionBySizes(#[4,6]);
    FoscBeamSpecifier(beamEachDivision: true, beamRests: true).(b);
    a.show;

  4. Beams divisions together but exclude rests.

    FIXME ERROR: Meta_FoscBeamSpecifier:new: only one of these arguments should be true: beamEachDivision: true beamEachRun: false beamDivisionsTogether: true

    a = FoscStaff(FoscLeafMaker().((60 ! 7) ++ [nil] ++ (60 ! 2), (1/8 ! 2) ++ (1/16 ! 4) ++ (1/8 ! 4)));
    set(a).autoBeaming = false;
    b = a.selectLeaves.partitionBySizes(#[4,6]);
    FoscBeamSpecifier(beamDivisionsTogether: true, beamRests: false).(b);
    a.show;
  5. Beams divisions together and include rests.

    FIXME ERROR: Meta_FoscBeamSpecifier:new: only one of these arguments should be true: beamEachDivision: true beamEachRun: false beamDivisionsTogether: true

    a = FoscStaff(FoscLeafMaker().((60 ! 7) ++ [nil] ++ (60 ! 2), (1/8 ! 2) ++ (1/16 ! 4) ++ (1/8 ! 4)));
    set(a).autoBeaming = false;
    b = a.selectLeaves.partitionBySizes(#[4,6]);
    FoscBeamSpecifier(beamDivisionsTogether: true, beamRests: true).(b);
    a.show;
  6. Beams rests with stemlets.

    a = FoscStaff(FoscLeafMaker().((60 ! 7) ++ [nil] ++ (60 ! 2), (1/8 ! 2) ++ (1/16 ! 4) ++ (1/8 ! 4)));
    set(a).autoBeaming = false;
    b = a.selectLeaves.partitionBySizes(#[4,6]);
    FoscBeamSpecifier(beamRests: true, stemletLength: 2).(b);
    a.show;


Instance Properties


beamDivisionsTogether

Is true when divisions should beam together.


beamEachDivision

Is true when specifier beams each division.


beamRests

Is true when beams should include rests.


hideNibs

Is true when specifier hides nibs.


stemletLength

Gets stemlet length.


useFeatherBeams

Is true when multiple beams should feather.


Instance Methods: Special Methods


asCompileString

!!!TODO: not yet implemented

Gets interpreter representation of beam specifier.

Returns string.


value

Calls beam specifier on selections.