FoscGlissando

Returns a FoscGlissando.


Description

A glissando

FIXME: none of the Glissando examples compiles successfully - ERROR: Object:assert


Attributes Summary

Instance Properties

allowRepeats Is true when glissando should allow repeated pitches. Otherwise false.
allowTies Is true when glissando should allow ties.
context Gets context. Returns Voice.
parenthesizeRepeats Is true when glissando should parenthesize repeated pitches.
persistent Is true.
rightBroken Is true when spanner is right-broken.
stems Is true when glissando formats stems-only timing marks on non-edge leaves.
style Gets style.
tweaks Gets tweaks.

Instance Methods: Special Methods

== Is true when all initialization values of Abjad value object equal the initialization values of argument.
asCompileString Gets interpreter representation.
hash Hashes Abjad value object.


Usage

  1. Example

    a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], [1/8]));
    m = FoscGlissando();
    a[0..].attach(m);
    a.show;
  2. !!!TODO

    Glissando avoids bend-after indicators.

    a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], [1/8]));
    b = FoscBendAfter();
    m = FoscGlissando();
    a[1].attach(b);
    a[0..].attach(m);
    a.show;


Instance Properties


allowRepeats

Is true when glissando should allow repeated pitches. Otherwise false.

Defaults to false.

  1. Does not allow repeated pitches. This is default behaviour.

    a = FoscStaff(FoscLeafMaker().(#[57,57,59,59,60,60,62,62], [1/8]));
    a[2..3].attach(FoscTie());
    a[4..5].attach(FoscTie());
    m = FoscGlissando(allowRepeats: false);
    a[0..].attach(m);
    a.show;
  2. Allows repeated pitches but not ties.

    a = FoscStaff(FoscLeafMaker().(#[57,57,59,59,60,60,62,62], [1/8]));
    a[2..3].attach(FoscTie());
    a[4..5].attach(FoscTie());
    m = FoscGlissando(allowRepeats: true);
    a[0..].attach(m);
    a.show;
  3. Allows both repeated pitches and ties.

    a = FoscStaff(FoscLeafMaker().(#[57,57,59,59,60,60,62,62], [1/8]));
    a[2..3].attach(FoscTie());
    a[4..5].attach(FoscTie());
    m = FoscGlissando(allowRepeats: true, allowTies: true);
    a[0..].attach(m);
    a.show;


allowTies

Is true when glissando should allow ties.

  1. Does not allow repeated pitches (including ties). This is default behaviour.

    a = FoscStaff(FoscLeafMaker().(#[57,57,59,59,60,60,62,62], [1/8]));
    a[2..3].attach(FoscTie());
    a[4..5].attach(FoscTie());
    m = FoscGlissando(allowRepeats: false);
    a[0..].attach(m);
    a.show;
  2. Allows repeated pitches but not ties.

    a = FoscStaff(FoscLeafMaker().(#[57,57,59,59,60,60,62,62], [1/8]));
    a[2..3].attach(FoscTie());
    a[4..5].attach(FoscTie());
    m = FoscGlissando(allowRepeats: true);
    a[0..].attach(m);
    a.show;
  3. Allows both repeated pitches and ties.

    a = FoscStaff(FoscLeafMaker().(#[57,57,59,59,60,60,62,62], [1/8]));
    a[2..3].attach(FoscTie());
    a[4..5].attach(FoscTie());
    m = FoscGlissando(allowRepeats: true, allowTies: true);
    a[0..].attach(m);
    a.show;


context

Gets context. Returns Voice.

  1. Example

    a = FoscGlissando();
    a.context.postln;
    'Voice'


parenthesizeRepeats

Is true when glissando should parenthesize repeated pitches.

Defaults to false.

  1. Does not parenthesize repeated pitches. Default behaviour.

    a = FoscStaff(FoscLeafMaker().(#[57,57,59,59,60,60,62,62], [1/8]));
    a[2..3].attach(FoscTie());
    a[4..5].attach(FoscTie());
    m = FoscGlissando();
    a[0..].attach(m);
    a.show;
  2. Spans and parenthesizes repeated pitches.

    a = FoscStaff(FoscLeafMaker().(#[57,57,59,59,60,60,62,62], [1/8]));
    a[2..3].attach(FoscTie());
    a[4..5].attach(FoscTie());
    m = FoscGlissando(allowRepeats: true, parenthesizeRepeats: true);
    a[0..].attach(m);
    a.show;
  3. Parenthesizes but does not span repeated pitches.

    a = FoscStaff(FoscLeafMaker().(#[57,57,59,59,60,60,62,62], [1/8]));
    a[2..3].attach(FoscTie());
    a[4..5].attach(FoscTie());
    m = FoscGlissando(parenthesizeRepeats: true);
    a[0..].attach(m);
    a.show;


persistent

Is true.

  1. Example

    a = FoscGlissando();
    a.persistent.postln;
    true


rightBroken

Is true when spanner is right-broken.


stems

Is true when glissando formats stems-only timing marks on non-edge leaves.

  1. Example

    a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], [1/8]));
    m = FoscGlissando(stems: true);
    a[0..].attach(m);
    a.show;


style

Gets style.

  1. Example

    a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], [1/8]));
    m = FoscGlissando(style: "trill");
    a[0..].attach(m);
    a.show;


tweaks

Gets tweaks.


Instance Methods: Special Methods


==

Is true when all initialization values of Abjad value object equal the initialization values of argument.


asCompileString

Gets interpreter representation.


hash

Hashes Abjad value object.