https://github.com/evanpurkhiser/keyfinder-py
Basic python 3 bindings for libkeyfinder
https://github.com/evanpurkhiser/keyfinder-py
keyfinder music python python-module
Last synced: 4 months ago
JSON representation
Basic python 3 bindings for libkeyfinder
- Host: GitHub
- URL: https://github.com/evanpurkhiser/keyfinder-py
- Owner: evanpurkhiser
- License: gpl-3.0
- Created: 2017-08-29T07:17:43.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-06-29T22:50:50.000Z (about 1 year ago)
- Last Synced: 2025-03-13T20:18:08.948Z (4 months ago)
- Topics: keyfinder, music, python, python-module
- Language: C++
- Homepage: https://pypi.org/project/keyfinder
- Size: 51.8 KB
- Stars: 22
- Watchers: 1
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Keyfinder Python 3.x bindings
This package implements basic bindings for
[libKeyFinder](https://github.com/mixxxdj/libkeyfinder). It includes the
supporting libav code for reading audio data and passing it into libKeyFinder.[](https://github.com/evanpurkhiser/keyfinder-py/actions?query=workflow%3Abuild)
#### Usage
```pycon
>>> import keyfinder
>>> key = keyfinder.key('my-audio.mp3')>>> key
A
>>> key.camelot()
11B
>>> key.open_key()
4d
```#### Build requirements
You must have the following dependencies installed to build this module
- [libKeyFinder](https://github.com/mixxxdj/libkeyfinder#installation) which has
it's own set of dependencies. On mac you can use homebrew to tap
[`evanpurkhiser/homebrew-personal`](https://github.com/EvanPurkhiser/homebrew-personal)
and then `brew install libkeyfinder`.- ffmpeg. On mac use `brew install ffmpeg`