Fretting class

A Fretting is a map of fingers to sets of frets, that voice a chord on a fretted instrument.

These are "frettings" and not "voicings" because they also include barre information.

Constructors

Fretting({required FrettedInstrument instrument, required Chord chord, required Iterable<FretPosition> positions})

Properties

chord Chord
final
fretString String
no setter
hashCode int
The hash code for this object.
no setterinherited
instrument FrettedInstrument
final
intervals Iterable<Interval>
no setter
inversionIndex int
no setter
positions List<FretPosition>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringFretList List<int?>
no setter

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

fromFretString(String fretString, {required FrettedInstrument instrument, required Chord chord}) Fretting