Mercurial > hg > svcore
diff transform/FeatureExtractionModelTransformer.h @ 859:13803edd513d tonioni
Use a settings setting for flexi/non-flexi determination -- this may not be the right thing in the long run but it's simpler and easier than passing through a random value that doesn't actually come from anywhere
author | Chris Cannam |
---|---|
date | Wed, 04 Dec 2013 19:30:02 +0000 |
parents | dba8a02b0413 |
children | 47aa3aeb687b |
line wrap: on
line diff
--- a/transform/FeatureExtractionModelTransformer.h Wed Dec 04 19:29:19 2013 +0000 +++ b/transform/FeatureExtractionModelTransformer.h Wed Dec 04 19:30:02 2013 +0000 @@ -31,22 +31,14 @@ Q_OBJECT public: - enum PreferredOutputModel { - NoteOutputModel, - FlexiNoteOutputModel, - UndefinedOutputModel = 255 - }; - FeatureExtractionModelTransformer(Input input, - const Transform &transform, - const PreferredOutputModel outputmodel); + const Transform &transform); // Obtain outputs for a set of transforms that all use the same // plugin and input (but with different outputs). i.e. run the // plugin once only and collect more than one output from it. FeatureExtractionModelTransformer(Input input, - const Transforms &relatedTransforms, - const PreferredOutputModel outputmodel); + const Transforms &relatedTransforms); virtual ~FeatureExtractionModelTransformer(); @@ -59,7 +51,6 @@ std::vector<Vamp::Plugin::OutputDescriptor *> m_descriptors; // per transform std::vector<int> m_fixedRateFeatureNos; // to assign times to FixedSampleRate features std::vector<int> m_outputNos; - PreferredOutputModel m_preferredOutputModel; void createOutputModel(int n);