Structures
The following structures are available globally.
-
Information about a given beat within a
See moreMeter
.Declaration
Swift
public struct BeatContext : Equatable
-
An
IntervalSearchTree
is an augmentatin of anAVLTree
, wherein the the value ofNode
is anIntervalSearchTree.Node
. AnIntervalSearchTree.Node
contains theinterval
indexing the payload, themax
upper bound of subtrees, and thepayload
value itself.Todo
Push down to dn-m/Structure/DataStructures when fully vetted.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
-
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 moreDeclaration
Swift
public struct PerformanceContext
-
Model of a single music-making agent.
Todo
Add long nameTodo
Add short nameTodo
Add abbreviation (with default abbreviating method)Todo
Add more metadataDeclaration
Swift
public struct Performer
-
Undocumented
See moreDeclaration
Swift
public struct PerformerInstrument
-
A triplet of identifiers for a
See morePerformer
,Instrument
,Voice
composite.Declaration
Swift
public struct PerformerInstrumentVoice
-
Model of a single
Voice
in aPerformanceContext
, actuated by a single performer through a single instrument.Todo
Add long nameTodo
Add short nameTodo
Add abbreviation (with default abbreviating method)Todo
Add more metadataDeclaration
Swift
public struct Voice