Chord class

A Chord is a set of pitches. It can also be considered as a root, and a set of intervals.

Constructors

Chord({required ChordPattern pattern, required Pitch root})

Properties

abbr String
no setter
fullName String
no setter
hashCode int
The hash code for this object.
no setterinherited
intervals List<Interval>
no setter
name String
no setter
pattern ChordPattern
getter/setter pair
pitches List<Pitch>
no setter
root Pitch
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromPitches(List<Pitch> pitches) Chord
parse(String chordName) Chord