Beaming
public struct Beaming : Equatable
The beaming information for an entire Rhythm
.
-
Creates a
Beaming
with the givenverticals
.Declaration
Swift
public init<C>(_ verticals: C) where C : Collection, C.Element == Beaming.Point.Vertical
-
Subdivides beaming verticals by the given
amount
at the givenindex
.Throws
Error if theItem
at the givenindex
is empty.Throws
Error if theItem
at the givenindex
is less than 1 or greater than equal to the amount of events contained herein.Declaration
Swift
public func cut(amount: Int, at index: Int) throws -> Beaming
-
Errors which may occur when performing an cutting operation on an
See moreItem
.Declaration
Swift
public enum Error : Swift.Error
-
Whether a beamlet is pointed forward or backward.
See moreDeclaration
Swift
public enum BeamletDirection : Double
-
A single point of the beaming for a single beaming item (metrical context).
See moreDeclaration
Swift
public enum Point : Equatable
-
Declaration
Swift
public var description: String { get }
Return Value
An
ASCII
representation which looks vaguely like real-world rhythms, for the purposes of eye-balling beam(let) computation errors not caught in logic testing.