trillSpanner

Returns a trillSpanner.


Description

Trill spanner.

[ ]


Usage

  1. Attached unpitched trill spanner to all notes in staff.

    a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], 1/8));
    a[0..].trillSpanner;
    a.show;

  2. Attached pitched trill spanner to all notes in staff.

    a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], 1/8));
    a[0..].trillSpanner(pitch: "C#4");
    a.show;

  3. Attached pitched trill spanner to all notes in staff.

    a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], 1/8));
    a[0..].trillSpanner(interval: 1);
    a.show;

  4. Pitched trill spanner must appear after markup to avoid hiding markup in output.

    a = FoscStaff(FoscLeafMaker().(#[60,62,64,65], 1/8));
    n = FoscMarkup('Allegro', direction: 'up');
    a[0].attach(n);
    a[0..].trillSpanner;
    a.show;