-
The measurable unit of a
Tempo.Interpolationis aFraction.Declaration
Swift
public typealias Metric = Fraction
-
The duration in seconds of the
Tempo.Interpolation.Declaration
Swift
public var duration: Double { get } -
The original
Tempo.Interpolation.Declaration
Swift
public let base: Tempo.Interpolation -
The range within the original
Tempo.Interpolationof thisFragment.Declaration
Swift
public let range: Range<Fraction>
-
Declaration
Swift
public subscript(range: Range<Fraction>) -> Tempo.Interpolation.Fragment { get }Return Value
Interpolation.Fragmentin the givenrange.
-
Declaration
Swift
public var length: Fraction { get }Return Value
The length of this
Tempo.Interpolation.Fragmentvalue.
-
Creates a
Tempo.Interpolation.Fragmentwhich is equivalent to the givenwholeTempo.Interpolation.Declaration
Swift
public init(whole: Tempo.Interpolation)
-
Declaration
Swift
public func fragment(in range: Range<Fraction>) -> Tempo.Interpolation.FragmentReturn Value
A fragment in the given
range.
-
Create a
Tempo.Interpolation.Fragmentwith the giveninterpolationin the givenrange.Declaration
Swift
public init(_ interpolation: Tempo.Interpolation, in range: Range<Fraction>) -
Create a
Tempo.Interpolation.Fragmentwhich fills the entire length of the giveninterpolation.Declaration
Swift
public init(_ interpolation: Tempo.Interpolation)
-
Declaration
Swift
public func secondsOffset(for offset: Fraction) -> DoubleReturn Value
The offset in seconds of the given metrical
offset.
View on GitHub
Install in Dash
Fragment Structure Reference