# HG changeset patch # User Chris Cannam # Date 1318849045 -3600 # Node ID 7f76499ef4f2b961c069944c50467e685b38d1a1 # Parent ef3b196cf44718467f0f6b5e5e17099d859d4bb0 Minor debug change diff -r ef3b196cf447 -r 7f76499ef4f2 transform/FeatureExtractionModelTransformer.cpp --- a/transform/FeatureExtractionModelTransformer.cpp Mon Oct 10 16:48:07 2011 +0100 +++ b/transform/FeatureExtractionModelTransformer.cpp Mon Oct 17 11:57:25 2011 +0100 @@ -176,9 +176,8 @@ { DenseTimeValueModel *input = getConformingInput(); -// std::cerr << "FeatureExtractionModelTransformer: output sample type " -// << m_descriptor->sampleType << std::endl; - +// std::cerr << "FeatureExtractionModelTransformer::createOutputModel: sample type " << m_descriptor->sampleType << ", rate " << m_descriptor->sampleRate << std::endl; + PluginRDFDescription description(m_transform.getPluginIdentifier()); QString outputId = m_transform.getOutput(); @@ -201,7 +200,7 @@ size_t modelRate = input->getSampleRate(); size_t modelResolution = 1; - + switch (m_descriptor->sampleType) { case Vamp::Plugin::OutputDescriptor::VariableSampleRate: @@ -636,8 +635,11 @@ { size_t inputRate = m_input.getModel()->getSampleRate(); -// SVDEBUG << "FeatureExtractionModelTransformer::addFeature(" -// << blockFrame << ")" << endl; +// std::cerr << "FeatureExtractionModelTransformer::addFeature: blockFrame = " +// << blockFrame << ", hasTimestamp = " << feature.hasTimestamp +// << ", timestamp = " << feature.timestamp << ", hasDuration = " +// << feature.hasDuration << ", duration = " << feature.duration +// << std::endl; int binCount = 1; if (m_descriptor->hasFixedBinCount) {