# HG changeset patch # User Chris Cannam # Date 1390935142 0 # Node ID 3e6ed8a8577b6cf4f08aad146953f222ac198a66 # Parent 4dce43294740dc971bf16d2b98164097749bf814 Use a sparse time-value model only for outputs with fixed bin count of 1, not for those with unknown bin count. (Precursor to using more than one model for outputs with unknown bin count) diff -r 4dce43294740 -r 3e6ed8a8577b transform/FeatureExtractionModelTransformer.cpp --- a/transform/FeatureExtractionModelTransformer.cpp Tue Jan 14 16:22:49 2014 +0000 +++ b/transform/FeatureExtractionModelTransformer.cpp Tue Jan 28 18:52:22 2014 +0000 @@ -392,7 +392,7 @@ QString outputEventTypeURI = description.getOutputEventTypeURI(outputId); out->setRDFTypeURI(outputEventTypeURI); - } else if (binCount == 1 || + } else if ((binCount == 1 && m_descriptors[n]->hasFixedBinCount) || (m_descriptors[n]->sampleType == Vamp::Plugin::OutputDescriptor::VariableSampleRate)) {