Other Functions
The following functions are available globally.
-
Declaration
Swift
@inlinable public func * (subdivision: Int, proportions: [Int]) -> DurationTreeReturn Value
A
DurationTreewith the givensubdivisionapplied to each node. -
If an empty array is given, a single child is created with the same
Durationvalue as the root.Declaration
Swift
@inlinable public func * (duration: Duration, proportions: [Int]) -> DurationTreeReturn Value
A single-depth
DurationTreewith the givendurationas the value of the root node, and the givenproportionsmapped accordingly as the children.
-
Declaration
Swift
public func * <Element>(lhs: DurationTree, rhs: [Rhythm<Element>.Context]) -> Rhythm<Element>Return Value
Rhythmwith the givenDurationTreeandRhythm.Context.Kindvalues.
View on GitHub
Install in Dash
Other Functions Reference