Mercurial > hg > segmenter-vamp-plugin
changeset 60:b536a23b8523
added comment to weird beat-deletion code
author | matthiasm |
---|---|
date | Thu, 13 Jun 2013 16:38:04 +0100 |
parents | 6be9479ad11f |
children | 0df6322d83bb |
files | segmentino/Segmentino.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)