-
Undocumented
Declaration
Swift
public typealias Metric = Fraction
-
Concrete duration of
Interpolation, in seconds.Declaration
Swift
public var duration: Double { get }
-
Declaration
Swift
public func tempo(at offset: Fraction) -> TempoReturn Value
The effective tempo at the given metrical
offset. -
Todo
Change Double -> Seconds
Declaration
Swift
public func secondsOffset(for metricalOffset: Fraction) -> DoubleReturn Value
The concrete offset in seconds of the given symbolic
Durationoffset. If the easing type is .linear, this method gives an exact answer; otherwise, it uses an approximation method with complexity linear in the magnitude ofmetricalOffset.
-
A fragment of a
See moreTempo.Interpolation.Declaration
Swift
public struct Fragment
-
Declaration
Swift
public func fragment(in range: Range<Fraction>) -> FragmentReturn Value
a
Tempo.Interpolation.Fragmentin the givenrange.
-
An ordered, contiguous collection of
Tempo.Interpolation.Fragmentsindexed by their fractional offset.Declaration
Swift
typealias Collection = ContiguousSegmentCollection<Tempo.Interpolation>
View on GitHub
Install in Dash
Interpolation Structure Reference