diff options
author | Richard Burton <richard.burton@arm.com> | 2021-12-07 14:04:44 +0000 |
---|---|---|
committer | Richard <richard.burton@arm.com> | 2021-12-07 14:06:03 +0000 |
commit | 033c9150523387aca88dd4c89a4d5ca105d4de4e (patch) | |
tree | d37ffe4129b655f372449a6d05caec68d7e9f10b /source/use_case/noise_reduction/include | |
parent | 3acaaeeba7d8e85a20273bd1d8d4d9b3bb1322ad (diff) | |
download | ml-embedded-evaluation-kit-033c9150523387aca88dd4c89a4d5ca105d4de4e.tar.gz |
MLECO-2723: Updating RNNoise to use 512 frame size
* CMSIS-DSP acceleration will now be used for FFT in RNNoise pre-processing
* PESQ scores tested and similar
Signed-off-by: Richard Burton <richard.burton@arm.com>
Change-Id: Ifeebc041f58867909b27c948950e08f8f39ef276
Diffstat (limited to 'source/use_case/noise_reduction/include')
-rw-r--r-- | source/use_case/noise_reduction/include/RNNoiseProcess.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/use_case/noise_reduction/include/RNNoiseProcess.hpp b/source/use_case/noise_reduction/include/RNNoiseProcess.hpp index 0e19c68..c188e42 100644 --- a/source/use_case/noise_reduction/include/RNNoiseProcess.hpp +++ b/source/use_case/noise_reduction/include/RNNoiseProcess.hpp @@ -78,13 +78,13 @@ namespace rnn { /* Public constants */ public: static constexpr uint32_t FRAME_SIZE_SHIFT{2}; - static constexpr uint32_t FRAME_SIZE{480}; + static constexpr uint32_t FRAME_SIZE{512}; static constexpr uint32_t WINDOW_SIZE{2 * FRAME_SIZE}; static constexpr uint32_t FREQ_SIZE{FRAME_SIZE + 1}; - static constexpr uint32_t PITCH_MIN_PERIOD{60}; - static constexpr uint32_t PITCH_MAX_PERIOD{768}; - static constexpr uint32_t PITCH_FRAME_SIZE{960}; + static constexpr uint32_t PITCH_MIN_PERIOD{64}; + static constexpr uint32_t PITCH_MAX_PERIOD{820}; + static constexpr uint32_t PITCH_FRAME_SIZE{1024}; static constexpr uint32_t PITCH_BUF_SIZE{PITCH_MAX_PERIOD + PITCH_FRAME_SIZE}; static constexpr uint32_t NB_BANDS{22}; |