comparison examples/PercussionOnsetDetector.h @ 49:aa64a46320d4

* Rename "name" and "description" to "identifier" and "name"; add new "description" that actually contains a description
author cannam
date Mon, 26 Feb 2007 18:08:48 +0000
parents be8fdfe25693
children 933fee59d33a
comparison
equal deleted inserted replaced
48:f46bf5e0fa42 49:aa64a46320d4
48 bool initialise(size_t channels, size_t stepSize, size_t blockSize); 48 bool initialise(size_t channels, size_t stepSize, size_t blockSize);
49 void reset(); 49 void reset();
50 50
51 InputDomain getInputDomain() const { return FrequencyDomain; } 51 InputDomain getInputDomain() const { return FrequencyDomain; }
52 52
53 std::string getIdentifier() const;
53 std::string getName() const; 54 std::string getName() const;
54 std::string getDescription() const; 55 std::string getDescription() const;
55 std::string getMaker() const; 56 std::string getMaker() const;
56 int getPluginVersion() const; 57 int getPluginVersion() const;
57 std::string getCopyright() const; 58 std::string getCopyright() const;
58 59
59 size_t getPreferredStepSize() const; 60 size_t getPreferredStepSize() const;
60 size_t getPreferredBlockSize() const; 61 size_t getPreferredBlockSize() const;
61 62
62 ParameterList getParameterDescriptors() const; 63 ParameterList getParameterDescriptors() const;
63 float getParameter(std::string name) const; 64 float getParameter(std::string id) const;
64 void setParameter(std::string name, float value); 65 void setParameter(std::string id, float value);
65 66
66 OutputList getOutputDescriptors() const; 67 OutputList getOutputDescriptors() const;
67 68
68 FeatureSet process(const float *const *inputBuffers, 69 FeatureSet process(const float *const *inputBuffers,
69 Vamp::RealTime timestamp); 70 Vamp::RealTime timestamp);