chord 0.0.1 copy "chord: ^0.0.1" to clipboard
chord: ^0.0.1 copied to clipboard

A Dart library for chord recognition, manipulation, and instrument chord chart generation.

Note: This package isn't finished yet. Many of the core features are still under development.

Features #

  • Parsing and anlyzing chords from their string representations.
  • Generating fingerings and tabs for fretted string instruments like guitar or ukulele.
  • Generating the list of pitches that make up a chord.
  • Can be used in combination of the flutter_guitar_tabs and keyboard_chord_charts packages.

Usage #

// Create a [Chord] object
Chord chord = Chord('C#m7sus2');
// Get all information about the chord.
print(chord); // "C Sharp  Minor Seventh Suspended Two"
print(chord.getPitches()); // {0, 7, 10, 2}
print(chord.note); // C Sharp
print(chord.chordType); // ChordType.minor

Additional information #

TODO's

  • Guitar fretting generation
  • Unit tests
  • Documentation

This package is still under development, and breaking changes may happen. Many of the essential features aren't developed yet. If you find anything unexpected or think you have a suggestion for anything, submit an issue or pr. If you like this package, please give it a github star.

3
likes
140
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

A Dart library for chord recognition, manipulation, and instrument chord chart generation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on chord