this is an early version of a tool that extracts chords from audio files. It uses chord-extractor to extract chords from audio files and yt-dlp
to download audio from youtube videos. The extracted chords are then displayed using tombatossals/react-chords + tombatossals/chords-db.
it works for me. i hope it works for you too.
- Python (it's work for me on python 3.8.10)
- chord-extractor and its requirements
- https://code.soundsoftware.ac.uk/projects/vamp-plugin-pack/files to install
Chordino and NNLS Chroma
plugins - yt-dlp
You can either:
- use the prebuilt react app in
dist
, or, - build it yourself using
npm i
andnpm run build
.
Inside the project directory run
# for a local file
python chord.py path/to/your/file.mp3
# for yt video/audio
python chord.py https://www.youtube.com/watch?v=your_video_id
This project includes code from David Rubert under the MIT License:
guitar.json
andukulele.json
from https://github.com/tombatossals/chords-db (Copyright Original Author David Rubert).