1

Could you please suggest a Python library which detects chords out of notes like this:

>>> chord ('A C# E G')
It's A7 chord ^_^

What I've already tried:

Detects only more or less basic chords

It does exactly what I need, but is quite tricky to work with because of deprecated requirements and no documentation.

The amazingly powerful library made at MIT. Looks very promising, but displays chord names like this:

>>> chord.Chord('D F# C E').pitchedCommonName
'D-whole-tone tetramirror'

while I'm looking for the following output:

D9

So the library I'm looking for:

  • is able to recognize advanced chords
  • outputs common abbreviated chord names
  • is well-documented

Ideally:

  • has a pip installation
  • has easy-to-install requirements
  • has clean and minimalistic syntax

Thank you very much in advance!

  • 1
    If it is Python, it’ll work on a Mac. – Eric Shain Oct 6 '19 at 14:32
  • 1
    Thanks! Edited. – ZenBerry Oct 6 '19 at 16:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.