Last active
December 18, 2015 02:39
-
-
Save timpulver/5712869 to your computer and use it in GitHub Desktop.
This is a helper script for Yate, which calls the application KeyFinder to analyse the musical key of a track and return it. If you set up custom key codes (Camelot system) in KeyFinder, these will also be returned.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # getkey.sh – Musical Key Analysis | |
| # | |
| # This is a helper script for Yate, which calls the application | |
| # KeyFinder to analyse the musical key of a track and return it. | |
| # If you set up custom key codes (Camelot system) in KeyFinder, | |
| # these will also be returned. | |
| # | |
| # Download KeyFinder here: http://www.ibrahimshaath.co.uk/keyfinder/ | |
| # argument1: Path to mp3 / flac / m4a? file | |
| cd /Applications/KeyFinder.app/Contents/MacOS/ | |
| RET=$(./KeyFinder -f "$1") | |
| echo $RET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment