Collections
-
An ordered pair of
NoteNumberRepresentable
-conforming type values.Example Usage
See morelet good = Dyad(Pitch(60),Pitch(69)) let bad = Dyad(Pitch(60),Pitch(66)) let ugly = Dyad(Pitch(60,Pitch(65.5))
Declaration
Swift
public struct Dyad<Element> where Element : NoteNumberRepresentable
-
Declaration
Swift
extension Collection where Element: NoteNumberRepresentable