note-seq icon indicating copy to clipboard operation
note-seq copied to clipboard

How to get chord symbol from chord midi?

Open 980202006 opened this issue 2 years ago • 2 comments

Hi, thanks for your work. I am trying to infer chord names from a chord's midi track. is there any way?

980202006 avatar Jun 20 '23 09:06 980202006

Depending on what the MIDI track looks like, you can try one of the following two functions:

https://github.com/magenta/note-seq/blob/main/note_seq/sequences_lib.py#L1668 (if the MIDI track consists of block chords) https://github.com/magenta/note-seq/blob/main/note_seq/chord_inference.py#L260 (if the MIDI track consists of notes arranged some other way and you want a reasonable guess at the chords)

-Ian

On Tue, Jun 20, 2023 at 2:53 AM 980202006 @.***> wrote:

Hi, thanks for your work. I am trying to infer chord names from a chord's midi track. is there any way?

— Reply to this email directly, view it on GitHub https://github.com/magenta/note-seq/issues/74, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKMO37UIAD2HSU6NXTDNL3XMFXJPANCNFSM6AAAAAAZNAXVGU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

iansimon avatar Jun 20 '23 19:06 iansimon

Thank you!

980202006 avatar Jun 27 '23 05:06 980202006