FoscFermata

Returns a FoscFermata.


Description

A fermata.


Attributes Summary

Instance Properties

command Gets command.
context Gets context.
tweaks Gets tweaks.

Instance Methods: Special Methods

str Gets string representation of breath mark.


Usage

  1. A short fermata.

    a = FoscScore([FoscStaff([FoscNote(60, 1/4)])]);
    m = FoscFermata('shortfermata');
    a[0][0].attach(m);
    a.show;

  2. A regular fermata.

    a = FoscScore([FoscStaff([FoscNote(60, 1/4)])]);
    m = FoscFermata();
    a[0][0].attach(m);
    a.show;

  3. A long fermata.

    a = FoscScore([FoscStaff([FoscNote(60, 1/4)])]);
    m = FoscFermata('longfermata');
    a[0][0].attach(m);
    a.show;

  4. A very long fermata.

    a = FoscScore([FoscStaff([FoscNote(60, 1/4)])]);
    m = FoscFermata('verylongfermata');
    a[0][0].attach(m);
    a.show;

  5. Fermata can be tweaked.

    a = FoscScore([FoscStaff([FoscNote(60, 1/4)])]);
    m = FoscFermata('longfermata', tweaks: #[['color', 'blue']]);
    a[0][0].attach(m);
    a.show;


Instance Properties


command

Gets command.

  1. Example

    m = FoscFermata('longfermata');
    m.command.postln;
    'longfermata'


context

Gets context.

  1. Example

    m = FoscFermata('longfermata');
    m.context.postln;
    'Score'


tweaks

Gets tweaks.

  1. Example

    m = FoscFermata(tweaks: #[['color', 'blue']]);
    m.tweaks.postcs;
    FoscLilypondTweakManager().prSetState(('color': blue))


Instance Methods: Special Methods


str

Gets string representation of breath mark.

  1. Example

    m = FoscFermata('longfermata');
    m.str;
    \longfermata