BeatContext
public struct BeatContext : Equatable
Information about a given beat within a Meter.
-
Declaration
Swift
public var metricalOffset: Duration { get }Return Value
Metrical offset from start of a
Meter.Structure. -
Meter containing
BeatContext.Declaration
Swift
public let meterContext: Meter.Context -
Metrical offset of beat within
Meter.Declaration
Swift
public let offset: Duration
-
Creates a
BeatContextwith the givensubdivisionandposition.Declaration
Swift
public init( meterContext: Meter.Context, offset: Duration, interpolation: Tempo.Interpolation )
View on GitHub
Install in Dash
BeatContext Structure Reference