kopia lustrzana https://github.com/gcallipo/RadioDSP-DNR-Stm32f407
51 wiersze
1.3 KiB
C
51 wiersze
1.3 KiB
C
/**
|
|
******************************************************************************
|
|
* @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];
|
|
float32_t bufferPreOut[BLOCK_SIZE];
|
|
|
|
|
|
|
|
/********************************************************************
|
|
*
|
|
* DENOISE FNC
|
|
*
|
|
********************************************************************/
|
|
void processing_noise_reduction(float* bufferIn, float* bufferOut2);
|
|
void doToneDetect(float32_t level);
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* FILTER_NOISE_REDUCTION_H_INCLUDED */
|
|
|
|
/**************************************END OF FILE****/
|