Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 808 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 808 Bytes

Chord Recognizer


Install

!pip install git+https://github.com/asigalov61/chord_recognizer.git
!wget https://github.com/asigalov61/chord_recognizer/raw/master/test_data/17%20Moments%20of%20Spring.mid

Usage example

import os
from chord_recognizer import recognize_chords

midi_path = './17 Moments of Spring.mid'

result = recognize_chords(midi_path, note_precision=0.125)
result.to_csv(os.path.splitext(midi_path)[0] + ".csv", index=False)
result

Try it in Google Colab

Open In Colab


Project Los Angeles

Tegridy Code 2024