Exemplo n.º 1
0
 public static ChordOrigin FromParseResults(NoteValue root,
                                            Accidental accidental,
                                            KnownChordKind knownChordKind,
                                            ChordExtensions.ExtensionBase extensionBase,
                                            IEnumerable <ChordExtensions.Extension> extensions,
                                            Tuple <NoteValue, Accidental> inversionOrBass) => new ChordOrigin
 {
     ChordKind           = knownChordKind,
     Extensions          = extensions,
     ExtensionBase       = extensionBase,
     Root                = new Note(root, accidental),
     BassNoteOrInversion =
         inversionOrBass != null ? new Note(inversionOrBass.Item1, inversionOrBass.Item2) : null
 };
Exemplo n.º 2
0
 public ParsedDegree(Accidental accidental,
                     int degree,
                     KnownChordKind degreeChordKind,
                     ChordExtensions.ExtensionBase baseExtension,
                     IEnumerable <ChordExtensions.Extension> extensions,
                     Tuple <int, KnownChordKind> jazzChordInversion = null)
 {
     Accidental         = accidental;
     Degree             = degree;
     DegreeChordKind    = degreeChordKind;
     BaseExtension      = baseExtension;
     Extensions         = extensions;
     JazzChordInversion = jazzChordInversion;
 }