Beaming
public struct Beaming : Equatable
The beaming information for an entire Rhythm.
-
Creates a
Beamingwith the givenverticals.Declaration
Swift
public init<C>(_ verticals: C) where C : Collection, C.Element == Beaming.Point.Vertical -
Subdivides beaming verticals by the given
amountat the givenindex.Throws
Error if theItemat the givenindexis empty.Throws
Error if theItemat the givenindexis 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
ASCIIrepresentation which looks vaguely like real-world rhythms, for the purposes of eye-balling beam(let) computation errors not caught in logic testing.
Install in Dash
Beaming Structure Reference