comparison plugins/BeatDetect.h @ 6:d00c1bad7332

* Make BeatDetect ask for its input in the frequency domain -- it can be a bit faster if the host does FFT using e.g. FFTW instead of our rather slower implementation, and also this means we don't have to worry about handling non-power-of-two FFT sizes. * Updates to copyright notes &c
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 15 May 2006 12:07:44 +0000
parents 991d0fe8bb27
children 99dadc93042e
comparison
equal deleted inserted replaced
5:b033ac01902b 6:d00c1bad7332
21 virtual ~BeatDetector(); 21 virtual ~BeatDetector();
22 22
23 bool initialise(size_t channels, size_t stepSize, size_t blockSize); 23 bool initialise(size_t channels, size_t stepSize, size_t blockSize);
24 void reset(); 24 void reset();
25 25
26 InputDomain getInputDomain() const { return TimeDomain; } 26 InputDomain getInputDomain() const { return FrequencyDomain; }
27 27
28 std::string getName() const; 28 std::string getName() const;
29 std::string getDescription() const; 29 std::string getDescription() const;
30 std::string getMaker() const; 30 std::string getMaker() const;
31 int getPluginVersion() const; 31 int getPluginVersion() const;