# HG changeset patch # User matthiasm # Date 1371137884 -3600 # Node ID b536a23b8523bd7228b0733d91a07397cfdc9f97 # Parent 6be9479ad11f3b19d4e6c44f9142eee8d02f6ea8 added comment to weird beat-deletion code diff -r 6be9479ad11f -r b536a23b8523 segmentino/Segmentino.cpp --- a/segmentino/Segmentino.cpp Thu Jun 13 16:30:31 2013 +0100 +++ b/segmentino/Segmentino.cpp Thu Jun 13 16:38:04 2013 +0100 @@ -674,6 +674,8 @@ if (beatcount == 0) return Segmentino::FeatureSet(); Vamp::RealTime last_beattime = internalFeatureset[m_beatOutputNumber][beatcount-1].timestamp; + // // THIS FOLLOWING BIT IS WEIRD! REPLACES BEAT-TRACKED BEATS WITH + // // UNIFORM 0.5 SEC BEATS // internalFeatureset[m_beatOutputNumber].clear(); // Vamp::RealTime beattime = Vamp::RealTime::fromSeconds(1.0); // while (beattime < last_beattime)