Hey Varun,

glad to see you are working on key detection through vamp. 
I took a brief look at your code (rev.  2794) and I think you already figured 
out why a wrong plugin was selected.
 
As a side comment, note that you can safely pass:

pluginID="qm-keydetector:2";  //pluginID="plugin name:output"

on line 50

and delete (or comment  out):

mvamp->SelectOutput(2);

on line 55.

If you are going through qm-keydetector, note that it outputs

 "...The estimated key for each key change, returned as a single-valued feature 
at the point where the key change is detected..." [1]

that is to say that you may have to figure out how to extract the key of the 
track from the data.

Good luck!
Vittorio



[1] http://www.vamp-plugins.org/plugin-doc/qm-vamp-plugins.html#qm-keydetector

Il giorno 27/mar/2012, alle ore 06:24, 
mixxx-devel-requ...@lists.sourceforge.net ha scritto:
> 
> Message: 1
> Date: Mon, 26 Mar 2012 17:52:27 +0200
> From: neo01124 wtf <mr.unwell2...@gmail.com>
> Subject: [Mixxx-devel] GSoC 2012: Harmonic mixing idea
> To: mixxx-devel@lists.sourceforge.net
> Message-ID:
>       <CA+d+f3i7cd3NjR=xlpbbzrcge+z2onypgzpgo5raxnsd9hx...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi everyone,
> I am Varun or neo01124 (on irc). I study sound and music computing in
> Barcelona and saw the idea for key detection for harmonic mixing last week
> and am very interested in it.
> I was a GSoC intern in 2010 with beagleboard.org . More info here :
> http://www.vjewalikar.in/Projects/GSoC.html
> 
> I have been getting upto speed with the codebase and have managed to
> integrate key detection using the QM vamp plugin with lots of help on the
> irc channel. I made use of this branch
> https://code.launchpad.net/~mixxxcontributors/mixxx/features_vamp and code
> from its previous revisions.
> 
> The bug right now is that the code is unable to load the qm-keydetection:0
> and is just using the qm-tempotracker:0 plugin and thus is displaying tempo
> values instead of key values. Looks something like this :
> http://i.imgur.com/1aGPL.png .
> I have been trying to upload it to Launchpad to seek help but bzr won't
> allow me to commit my changes.Error looks like this:
> http://pastebin.com/yzqFkpWC
> I don't have commit rights on the branch but I just want to make a local
> commit and upload it to launchpad.
> Any help in both regards is appreciated ..
> 
> Thanks
> Varun

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to