comparison transform/FeatureExtractionModelTransformer.cpp @ 805:c379b43935ef qt5

Merge
author Chris Cannam
date Tue, 14 May 2013 10:55:27 +0100
parents 98cf98a217d2
children 54829c1e155e e802e550a1f2
comparison
equal deleted inserted replaced
804:a2eb9de7302e 805:c379b43935ef
679 lrint(ts.toDouble() * m_descriptor->sampleRate); 679 lrint(ts.toDouble() * m_descriptor->sampleRate);
680 } 680 }
681 681
682 frame = lrintf((m_fixedRateFeatureNo / m_descriptor->sampleRate) 682 frame = lrintf((m_fixedRateFeatureNo / m_descriptor->sampleRate)
683 * inputRate); 683 * inputRate);
684
685 // std::cerr << "Feature hasTimestamp = " << feature.hasTimestamp << ", timestamp = " << feature.timestamp << ", frame works out to " << frame << std::endl;
686 } 684 }
687 685
688 // Rather than repeat the complicated tests from the constructor 686 // Rather than repeat the complicated tests from the constructor
689 // to determine what sort of model we must be adding the features 687 // to determine what sort of model we must be adding the features
690 // to, we instead test what sort of model the constructor decided 688 // to, we instead test what sort of model the constructor decided