Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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: 7 days ago
JSON representation

Basic python 3 bindings for libkeyfinder

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.

[![Build Status](https://github.com/evanpurkhiser/keyfinder-py/workflows/build/badge.svg)](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`