New open source key detection tool

Home :: General Discussion :: New open source key detection toolReply
New open source key detection tool
Posted on: 30.09.2011 by Kari Spindel
Hey all,

I just finished a computer science course and built a key detection tool for DJs as my final project. The tool is called KeyFinder. It's designed to work primarily with EDM, but it's highly tweakable and I've had decent results with various genres.

In addition to a batch key detection interface which can write to metadata tags, it includes a musical visualisation tool called a chromagram. I've found this quite useful for visualising chord structures, melodies and key changes, and I believe it's pretty unique in the DJ software world; I haven't seen any other tools that have something similar.

I got good accuracy during my experiments but unfortunately I didn't test it on a wide selection of music. I had very little time and had to key it all manually and then get the results verified. It would be great to improve KeyFinder to work on a wide variety of genres.

So I'm releasing it for free under the GPL, in the hope the community finds it useful. It's a bit primitive, and for Mac only at present, but it should be pretty simple to port to Windows if there's interest.

If you want to try it you can download a Mac binary here. My write-up which describes the algorithms is also there if you're into that kind of thing. If anyone has any interest in working on it, or any comments or questions, feel free to get in touch here or using the email address on that page.

Cheers
Khadijah Wojtach
20.11.2011
Awesome. I'll be following your project, hopefully your software will get a proper Win 7 version and camelot coding. As Mil0, I too find it weird that MiK as copyright on letters? It's like getting copyright on converting 'a' into '1' or 'b' into '2'. Surely the copyrights laws are that messed up (properly are, but one can hope).
Random X
20.11.2011
Will check up on the newer version, thanks a bunch for developing and spreading this one, ibsh!
Kari Spindel
20.11.2011
There's a new version up with some bug fixes and minor new features.
It also fixes a couple of the most common Windows dependencies, though not all of them.

@bartboy, you can find a (limited) comparison with MIK and RE on pages 51-53 of my report.
Nedra Fresneda
07.11.2011
The circle has been around for longer, so I guess the number/letter coding.
Arcelia Siebeneck
07.11.2011
Originally Posted by padi_04
MiK owns the circle of fifths? wow
I believe they copyrighted the camelot circle which gives each musical key a code number between 1 and 12? Maybe they've only copyrighted the actual circle diagram... surely you can't copyright/patent the idea of converting, say, the key/note of "C" into a number?
Dana Ordinario
07.11.2011
I'll definitely give this a run through did you compare results against any of the other Key Detection softwares? I'll compare it against MiK and BeaTunes at least for a hundred or so and see if the results are similar. Thanks for sharing the project notes I was believeing of doing something similar for a Project in my course. My idea was for a MP3 manager for iPad. I have only really been kicking the idea around in my head for a few weeks and I'm not where close to even needing to have a full idea worked out to start on but it's nice to see someone doing something similar.
Nedra Fresneda
07.11.2011
MiK owns the circle of fifths? wow
Random X
07.11.2011
Thanks man, will give this a go.
Kari Spindel
07.11.2011
Some progress, but no new build yet. I need access to some more Windows environments before I can move too far. Might be a little while yet.

There are some batch-associated crashes surfacing on the Mac that I'm going to look at next.
Kayce Mesia
07.11.2011
Any more progress/work being made on this if there is any needed?
Kari Spindel
30.10.2011
That's plenty, cheers. =)
Jaunita Herren
30.10.2011
Originally Posted by ibsh
Thanks Br4M. Can you post some details of this crash?
Not really, I'm sorry but I'm not planning on looking in Event Viewer and everything since I'm pretty busy atm. Here's a screenie:



The track about to be added is : D Mad - She gave happiness (Arty Remix). Traktor is unable to scan the BPM of this song properly(and I downloaded it off zippyshare.com). I don't care about this too much since I've only got about 20 tracks that can't be read by Traktor.

W&W - Alpha (Tenishia Remix) can't be copied as well, but this song doesn't give me any problem in Traktor(Traktor even reads the key - wtf - !)



I'm using one 1440x900 and one 1024x768 screen, so it looks weird
Kari Spindel
30.10.2011
Originally Posted by Br4M
FIX App crash when adding tracks:

Don't copy incompatible tracks (which makes the app pretty useless, sorry)
Thanks Br4M. Can you post some details of this crash?
Jaunita Herren
31.10.2011
The Windows version does not work in Windows 7 (Ultimate x86) out of the box. Also tried Compatibility mode -> Win XP SP3



FIX libgcc_s_dw2-1.dll is missing

put http://pt.sourceforge.jp/projects/sf...c_s_dw2-1.dll/ in the KeyFinder folder/ZIP

FIX mingw10.dll is missing:

extract http://www.dll-files.com/dllindex/dl...shtml?mingwm10 into the keyfinder folder/ZIP

FIX App crash when adding tracks:

Don't copy incompatible tracks (which makes the app pretty useless, sorry)
Kari Spindel
31.10.2011
There's a Windows version up on the site now, though it's probably not entirely stable. I've actually only tested it on XP, as that's the only Windows I have access to.

If anyone has time to try it out and send feedback, I'd appreciate it.
Irwin Ney
01.10.2011
I will check it too
Kari Spindel
30.09.2011
@weltraumpapst

Unfortunately the Camelot codes are now the intellectual property of Mixed In Key. I intend to get back in touch with them to talk about licensing but it may not happen.

As you say, the custom codes function can be used for something similar.
robin loo
30.09.2011
looks interesting..

will have a closer look tomorrow..
one thing: you could implement the chamelot circle (if there's no copyright or smthng). i just input it into the custom keycodes. but this needs some time..

<< Back to General DiscussionReply

Copyright 2012-2023
DJRANKINGS.ORG n.g.o.
Chuo-ku, Osaka, Japan

Created by Ajaxel CMS

Terms & Privacy