feat(dsp): SpectralProcessor sample_rate param
This commit is contained in:
+2
-1
@@ -11,7 +11,8 @@ constexpr size_t DEFAULT_HOP = 512;
|
||||
|
||||
class SpectralProcessor {
|
||||
public:
|
||||
SpectralProcessor(size_t nfft = DEFAULT_NFFT, size_t hop = DEFAULT_HOP);
|
||||
SpectralProcessor(size_t nfft = DEFAULT_NFFT, size_t hop = DEFAULT_HOP,
|
||||
float sample_rate = 44100.0f);
|
||||
~SpectralProcessor();
|
||||
|
||||
void setDetectorParams(const std::vector<DetectorBand>& bands);
|
||||
|
||||
Reference in New Issue
Block a user