ChordTransposer class
An object that transposes chords into any given key.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
chordDown(
{required String chord, String? fromKey, required int semitones}) → String - Transposes the given chord down the given semitones.
-
chordsDown(
{required List< String> chords, String? fromKey, required int semitones}) → List<String> - Tranposes the given chords down the given semitones.
-
chordsToKey(
{required List< String> chords, String? fromKey, required String toKey}) → List<String> - Transposes the given chords to the given key.
-
chordsUp(
{required List< String> chords, String? fromKey, required int semitones}) → List<String> - Tranposes the given chords up the given semitones.
-
chordToKey(
{required String chord, required String fromKey, required String toKey}) → String - Transposes the given chord to the given key.
-
chordUp(
{required String chord, String? fromKey, required int semitones}) → String - Tranposes the given chord up the given semitones.
-
lyricsDown(
{required String lyrics, String? fromKey, required int semitones, bool ignoreInvalids = true}) → String - Transposes the given lyrics down the given semitones.
-
lyricsToKey(
{required String lyrics, String? fromKey, required String toKey, bool ignoreInvalids = true}) → String - Transposes the given lyrics to the given key.
-
lyricsUp(
{required String lyrics, String? fromKey, required int semitones, bool ignoreInvalids = true}) → String - Transposes the given lyrics up the given semitones.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited