Rhythm
-
Undocumented
See moreDeclaration
Swift
public struct Rhythm<Element> -
Declaration
Swift
public func event<T>(_ value: T) -> Rhythm<T>.ContextReturn Value
.instance(.event(T))wrapping the givenvalue. -
Declaration
Swift
public func rest<T>() -> Rhythm<T>.ContextReturn Value
.instance(.absence)with generic context provided by the external environment. -
Declaration
Swift
public func tie<T>() -> Rhythm<T>.ContextReturn Value
.continuationwith generic context provided by the external environment.
-
Similar to the proportional aspect of the
OpenMusicRhythm Treestructure.Declaration
Swift
public typealias ProportionTree = Tree<Int, Int>
-
Whether a context is a
See morerest
or an actual event of typeElement.Declaration
Swift
public enum AbsenceOrEvent<Element>
-
Whether a metrical context is
See moretied
over from the previous context, or if it is new instance ofElement.Declaration
Swift
public enum ContinuationOrInstance<Element>
-
Create a
Durationwith the/>operator between twoIntvalues.Declaration
Swift
public func /> (numerator: Beats, denominator: Subdivision) -> Duration
View on GitHub
Install in Dash
Rhythm Reference