FoscTremolo

Returns a FoscTremolo.


Description

Tremolo (of exactly two notes).


Attributes Summary

Instance Properties

beamCount Gets beam count of tremolo.
isSlurred Is true when tremolo is slurred.
tweaks Tweaks are not implemented on tremolo.

Instance Methods: Special Methods

format Formats stem tremolo.
str Gets string representation of tremolo.


Usage

  1. With three beams by default.

    a = FoscChord([61, 64], 1/4);
    m = FoscTremolo();
    a.attach(m);
    a.show; // ERROR: Message 'prTremoloReattackDuration' not understood.
  2. With two beams.

    a = FoscChord([61, 64], 1/4);
    m = FoscTremolo(beamCount: 2);
    a.attach(m);
    a.show; // ERROR: Message 'prTremoloReattackDuration' not understood.
  3. With slur.

    a = FoscChord([61, 64], 1/4);
    m = FoscTremolo(isSlurred: true);
    a.attach(m);
    a.show; // ERROR: Message 'prTremoloReattackDuration' not understood.


Instance Properties


beamCount

Gets beam count of tremolo.

  1. Example

    m = FoscTremolo();
    m.beamCount.postln;
    3
  2. Example

    m = FoscTremolo(beamCount: 2);
    m.beamCount.postln;
    2


isSlurred

Is true when tremolo is slurred.

  1. Example

    m = FoscTremolo(isSlurred: true);
    m.isSlurred.postln;
    true


tweaks

Tweaks are not implemented on tremolo.

The Lilypond \repeat tremolo command refuses tweaks.

Override the Lilypond Beam grob instead.


Instance Methods: Special Methods


format

Formats stem tremolo.


str

Gets string representation of tremolo.