An open API service indexing awesome lists of open source software.

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)

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.

![screenshot](screenshot.png)

# 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).