Structures

The following structures are available globally.

  • Information about a given beat within a Meter.

    See more

    Declaration

    Swift

    public struct BeatContext : Equatable
  • An IntervalSearchTree is an augmentatin of an AVLTree, wherein the the value of Node is an IntervalSearchTree.Node. An IntervalSearchTree.Node contains the interval indexing the payload, the max upper bound of subtrees, and the payload value itself.

    Todo

    Push down to dn-m/Structure/DataStructures when fully vetted.
    See more

    Declaration

    Swift

    public struct IntervalSearchTree<Metric, Value> where Metric : Comparable
  • A single musical event, as performed by a single Voice in a single interval of musical time.

    Declaration

    Swift

    public struct Event
  • Model of a single music-making object, through which a Performer can actuate musical actions.

    Todo

    Add Instrument.Kind metadata

    Todo

    Add long name

    Todo

    Add short name

    Todo

    Add abbreviation (with default abbreviating method)
    See more

    Declaration

    Swift

    public struct Instrument
  • Context of a performing environment, in which there are any number of performers and instruments. A performer can play one or more instruments, and an instrument can be played by one or more performers.

    See more

    Declaration

    Swift

    public struct PerformanceContext
  • Model of a single music-making agent.

    Todo

    Add long name

    Todo

    Add short name

    Todo

    Add abbreviation (with default abbreviating method)

    Todo

    Add more metadata
    See more

    Declaration

    Swift

    public struct Performer
  • Model of a single Voice in a PerformanceContext, actuated by a single performer through a single instrument.

    Todo

    Add long name

    Todo

    Add short name

    Todo

    Add abbreviation (with default abbreviating method)

    Todo

    Add more metadata
    See more

    Declaration

    Swift

    public struct Voice