Collections

  • An ordered pair of NoteNumberRepresentable-conforming type values.

    Example Usage

    let good = Dyad(Pitch(60),Pitch(69))
    let bad = Dyad(Pitch(60),Pitch(66))
    let ugly = Dyad(Pitch(60,Pitch(65.5))
    
    See more

    Declaration

    Swift

    public struct Dyad<Element> where Element : NoteNumberRepresentable