NoteModifier

public enum NoteModifier: Double, Codable

Defines the length of a NoteValue

  • No additional length.

    Declaration

    Swift

    case `default` = 1
  • Adds half of its own value.

    Declaration

    Swift

    case dotted = 1.5
  • Three notes of the same value.

    Declaration

    Swift

    case triplet = 0.6667
  • Five of the indicated note value total the duration normally occupied by four.

    Declaration

    Swift

    case quintuplet = 0.8