mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2026-04-22 08:02:42 +00:00
even more stuff
This commit is contained in:
10
core/src/dsp/taps/low_pass.h
Normal file
10
core/src/dsp/taps/low_pass.h
Normal file
@@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
#include "windowed_sinc.h"
|
||||
#include "estimate_tap_count.h"
|
||||
#include "../window/nuttall.h"
|
||||
|
||||
namespace dsp::taps {
|
||||
inline tap<float> lowPass(double cutoff, double transWidth, double sampleRate) {
|
||||
return windowedSinc<float>(estimateTapCount(transWidth, sampleRate), cutoff, sampleRate, window::nuttall);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user