2018-12-31 18:32:17 +00:00
|
|
|
/**
|
|
|
|
******************************************************************************
|
|
|
|
* @file filter_noise_reduction.h
|
|
|
|
* @author Giuseppe Callipo - IK8YFW - ik8yfw@libero.it
|
|
|
|
* @version V1.0.0
|
|
|
|
* @date 22-04-2018
|
|
|
|
* @brief Noise Reduction routines
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* NOTE: This file is part of RadioDSP project.
|
|
|
|
* See main.c file for additional project informations.
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
#ifndef FILTER_NOISE_REDUCTION_H_INCLUDED
|
|
|
|
#define FILTER_NOISE_REDUCTION_H_INCLUDED
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
*
|
|
|
|
* VARIABLES
|
|
|
|
*
|
|
|
|
********************************************************************/
|
|
|
|
|
|
|
|
float32_t FFTBufferOut[BLOCK_SIZE*2];
|
|
|
|
float32_t FFTBufferTmp[BLOCK_SIZE*2];
|
|
|
|
float32_t FFTBufferMag[BLOCK_SIZE*2];
|
2019-01-25 21:12:37 +00:00
|
|
|
float32_t bufferPreOut[BLOCK_SIZE];
|
|
|
|
|
|
|
|
|
2018-12-31 18:32:17 +00:00
|
|
|
|
|
|
|
/********************************************************************
|
|
|
|
*
|
|
|
|
* DENOISE FNC
|
|
|
|
*
|
|
|
|
********************************************************************/
|
|
|
|
void processing_noise_reduction(float* bufferIn, float* bufferOut2);
|
2019-01-25 21:12:37 +00:00
|
|
|
void doToneDetect(float32_t level);
|
2018-12-31 18:32:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* FILTER_NOISE_REDUCTION_H_INCLUDED */
|
|
|
|
|
|
|
|
/**************************************END OF FILE****/
|