# HG changeset patch # User Chris Cannam # Date 1336641817 -3600 # Node ID 4f9d59b0526e2826b58a4978484edf39ca4dee2f # Parent 3ef0ee41ecc2a9d0715cb831889f90bc271cd604 Fix caps in another couple of method names to avoid looking like classes diff -r 3ef0ee41ecc2 -r 4f9d59b0526e songparts/SongParts.cpp --- a/songparts/SongParts.cpp Thu May 10 10:22:04 2012 +0100 +++ b/songparts/SongParts.cpp Thu May 10 10:23:37 2012 +0100 @@ -754,8 +754,8 @@ return FeatureSet(); } - FeatureSet masterFeatureset = BeatTrack(); - FeatureList chromaList = ChromaFeatures(); + FeatureSet masterFeatureset = beatTrack(); + FeatureList chromaList = chromaFeatures(); for (size_t i = 0; i < chromaList.size(); ++i) { @@ -763,7 +763,7 @@ } // quantised and pseudo-quantised (beat-wise) chroma - std::vector quantisedChroma = BeatQuantiser(chromaList, masterFeatureset[m_beatOutputNumber]); + std::vector quantisedChroma = beatQuantiser(chromaList, masterFeatureset[m_beatOutputNumber]); masterFeatureset[m_qchromafwOutputNumber] = quantisedChroma[0]; masterFeatureset[m_qchromaOutputNumber] = quantisedChroma[1]; @@ -776,7 +776,7 @@ /* ------ Beat Tracker ------ */ -SongPartitioner::FeatureSet SongPartitioner::BeatTrack() +SongPartitioner::FeatureSet SongPartitioner::beatTrack() { vector df; vector beatPeriod; @@ -873,7 +873,7 @@ /* ------ Chroma Extractor ------ */ -SongPartitioner::FeatureList SongPartitioner::ChromaFeatures() +SongPartitioner::FeatureList SongPartitioner::chromaFeatures() { FeatureList returnFeatureList; @@ -1074,7 +1074,7 @@ /* ------ Beat Quantizer ------ */ std::vector -SongPartitioner::BeatQuantiser(Vamp::Plugin::FeatureList chromagram, Vamp::Plugin::FeatureList beats) +SongPartitioner::beatQuantiser(Vamp::Plugin::FeatureList chromagram, Vamp::Plugin::FeatureList beats) { std::vector returnVector; diff -r 3ef0ee41ecc2 -r 4f9d59b0526e songparts/SongParts.h --- a/songparts/SongParts.h Thu May 10 10:22:04 2012 +0100 +++ b/songparts/SongParts.h Thu May 10 10:23:37 2012 +0100 @@ -59,9 +59,9 @@ static size_t m_chromaStepsizeFactor; int m_bpb; int m_pluginFrameCount; - FeatureSet BeatTrack(); - FeatureList ChromaFeatures(); - std::vector BeatQuantiser(FeatureList chromagram, FeatureList beats); + FeatureSet beatTrack(); + FeatureList chromaFeatures(); + std::vector beatQuantiser(FeatureList chromagram, FeatureList beats); FeatureList runSegmenter(FeatureList quantisedChromagram); mutable int m_beatOutputNumber; diff -r 3ef0ee41ecc2 -r 4f9d59b0526e songparts/SongParts.o Binary file songparts/SongParts.o has changed