FoscDynamicTrend

Returns a FoscDynamicTrend.


Description

A dynamic trend.


Attributes Summary

Instance Properties

context Gets context. Returns Voice.
leftBroken Is true when dynamic trend formats with left broken tag.
shape Gets shape. Returns string.
spannerStart Is true.
tweaks Gets tweaks.


Usage

  1. Example

    a = FoscVoice(FoscLeafMaker().(#[60,62,64,65], 1/4));
    a[0].attach(FoscDynamic('p'));
    a[0].attach(FoscDynamicTrend('<'));
    a[a.lastIndex].attach(FoscDynamic('f'));
    a.show;

  2. Set leftBroken to true to initialize without starting dynamic.

    a = FoscVoice(FoscLeafMaker().(#[60,62,64,65], 1/4));
    a[0].attach(FoscDynamicTrend('<', leftBroken: true));
    a[a.lastIndex].attach(FoscDynamic('f'));
    a.show;

  3. Crescendo dal niente.

    a = FoscVoice(FoscLeafMaker().(#[60,62,64,65], 1/4));
    a[0].attach(FoscDynamic('niente', hide: true));
    a[0].attach(FoscDynamicTrend('o<'));
    a[a.lastIndex].attach(FoscDynamic('f'));
    a.show;

  4. Decrescendo al niente.

    FIXME: ERROR: Message name not understood.

    a = FoscVoice(FoscLeafMaker().(#[60,62,64,65], 1/4));
    a[0].attach(FoscDynamic('f'));
    a[0].attach(FoscDynamicTrend('>o'));
    a[a.lastIndex].attach(FoscDynamic('niente', command: "\\!"));
    a.show;
  5. !!!TODO: abjad-flared-hairpin NOT IMPLEMENTED

    Subito crescendo.

    a = FoscVoice(FoscLeafMaker().(#[60,62,64,65], 1/4));
    a[0].attach(FoscDynamic('p'));
    a[0].attach(FoscDynamicTrend('<|'));
    a[a.lastIndex].attach(FoscDynamic('f'));
    a.show;

  6. !!!TODO: BROKEN. #constante-hairpin not implemented ??

    Constante.

    a = FoscVoice(FoscLeafMaker().(#[60,62,64,65], 1/4));
    a[0].attach(FoscDynamic('p'));
    a[0].attach(FoscDynamicTrend('--'));
    a[a.lastIndex].attach(FoscDynamic('f'));
    a.show;

  7. DynamicTrend can be tweaked.

    a = FoscVoice(FoscLeafMaker().(#[60,62,64,65], 1/4));
    a[0].attach(FoscDynamic('p'));
    a[0].attach(FoscDynamicTrend('<', tweaks: #[['color', 'blue']]));
    a[a.lastIndex].attach(FoscDynamic('f'));
    a.show;


Instance Properties


context

Gets context. Returns Voice.

  1. Example

    m = FoscDynamicTrend('<');
    m.context.postcs;
    'Voice'


leftBroken

Is true when dynamic trend formats with left broken tag.

  1. Example

    m = FoscDynamicTrend('<', leftBroken: true);
    m.leftBroken.postln;
    true


shape

Gets shape. Returns string.

  1. Example

    m = FoscDynamicTrend('<');
    m.shape.postcs;
    <


spannerStart

Is true.

  1. Example

    m = FoscDynamicTrend('<');
    m.spannerStart.postln;
    true


tweaks

Gets tweaks.

  1. Example

    a = FoscDynamicTrend('<', tweaks: #[['color', 'blue']]);
    a.tweaks.postcs;
    FoscLilypondTweakManager().prSetState(('color': blue))