ChordPattern class

An instance of ChordPattern represents the intervals of the chord, without the root; for example, Dom7. A ChordPattern represents the quality, suspensions, and additions.

Constructors

ChordPattern({required String name, required String fullName, required List<String> abbrs, required List<Interval> intervals})

Properties

abbr String
no setter
abbrs List<String>
final
fullName String
final
hashCode int
The hash code for this object.
no setterinherited
inspect String
no setter
intervals List<Interval>
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

at(Pitch root) Chord
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

fromIntervals(Iterable<Interval> intervals) ChordPattern
parse(String name) ChordPattern