https://github.com/adielbm/chord-extractor
extract chords from an audio file (using ohollo/chord-extractor & Chordino)
https://github.com/adielbm/chord-extractor
chord-recognition chords
Last synced: about 2 months ago
JSON representation
extract chords from an audio file (using ohollo/chord-extractor & Chordino)
- Host: GitHub
- URL: https://github.com/adielbm/chord-extractor
- Owner: adielBm
- Created: 2024-02-26T15:16:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-21T09:27:37.000Z (2 months ago)
- Last Synced: 2025-03-21T10:38:52.527Z (2 months ago)
- Topics: chord-recognition, chords
- Language: JavaScript
- Homepage:
- Size: 1.3 MB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
this is an early version of a tool that extracts chords from audio files. It uses [chord-extractor](https://github.com/ohollo/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](https://github.com/tombatossals/react-chords) + [tombatossals/chords-db](https://github.com/tombatossals/chords-db).
it works for me. i hope it works for you too.

# Requirements
- Python (it's work for me on python 3.8.10)
- [chord-extractor](https://github.com/ohollo/chord-extractor) and its requirements
- https://code.soundsoftware.ac.uk/projects/vamp-plugin-pack/files to install `Chordino and NNLS Chroma` plugins
- yt-dlp# Usage
You can either:
- use the prebuilt react app in `dist`, or,
- build it yourself using `npm i` and `npm run build`.Inside the project directory run
```bash
# 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
```## Acknowledgements
This project includes code from David Rubert under the MIT License:
- `guitar.json` and `ukulele.json` from [https://github.com/tombatossals/chords-db](https://github.com/tombatossals/chords-db) (Copyright Original Author David Rubert).