FoscLineage

Returns a FoscLineage.


Description

Lineage of a component.


Attributes Summary

Instance Properties

component The component from which the selection was derived.


Usage

  1. Example

    a = FoscStaff([FoscVoice([FoscNote(60, 1/4)])]);
    b = FoscStaff([FoscVoice([FoscNote(59, 1/4)])]);
    c = FoscScore([a, b]);
    FoscLineage(c).components.printAll;
    [ FoscScore([  ], 'Score', true), FoscStaff([  ], 'Staff', false), FoscVoice([  ], 'Voice', false), FoscNote(FoscPitch("C4"), FoscDuration(1, 4)), FoscStaff([  ], 'Staff', false), FoscVoice([  ], 'Voice', false), FoscNote(FoscPitch("B3"), FoscDuration(1, 4)) ]


Instance Properties


component

The component from which the selection was derived.

  1. Example

    a = FoscStaff([FoscVoice([FoscNote(60, 1/4)])]);
    b = FoscStaff([FoscVoice([FoscNote(59, 1/4)])]);
    c = FoscScore([a, b]);
    d = FoscLineage(c);
    d.component;
    FoscScore([  ], 'Score', true)