MusicTheory Documentation

Enumeration Value

public enum Value  

Representation of value of a note in a music context.

Enumeration Cases

sixtyfourth

case sixtyfourth

A sixty-fourth note.

thirtysecond

case thirtysecond

A thirty-second note.

sixteenth

case sixteenth

A sixteenth note.

eighth

case eighth

An eighth note.

quarter

case quarter

A quarter note.

half

case half

A half note.

whole

case whole

A whole note.

double

case double

A double whole note.

long

case long

A long.

Properties

beats

public var beats: Double  

Beats correspondence of the value.

Operators

+

public static func + (_ lhs: Self, _ rhs: Self) -> Self?  

Adding two values.