I committed Batch BPM Detect routine loosely based on Albert's pseudo code
at the bottom of track.cpp...
The routine looks for the WaveSummary and if it's not set attempts to
populate the WaveSummary and if the BPM is missing, queues the track for BPM
detection.
I hit a bit of a snag with the process... The following file seg faults
the BPM detection routine on 32-bit Ubuntu, but works fine on 64-bit Ubuntu.
* "You're Still Here? It's over... Go home!" (370KB) --
http://senduit.com/0218c5
The fact that it seg faults is annoying, the inability to remove it from the
library (so that it's pulled from the .mixxxtrack.xml file) means that batch
processing gets stuck.
To partially prevent the frustration of batching the same couple hundred
tracks and then seg faulting [meaning they must be done over again], I've
implemented a batching limit of 100 tracks at time before saving the library
file.
Accessible from the "Library" menu, the function is non-graphical and blocks
the UI update thread (mixxx will appear to have frozen), it only spits out
debug statements of what its doing to the console. Needless to say you
should not use this while doing a gig.
--
__
--- == __/ t.O ==--
http://stacktrace.org/
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel