/* * afsk_decoder.h * * Created on: Sep 10, 2019 * Author: curiousmuch */ #ifndef MAIN_AFSK_DEMODULATOR_H_ #define MAIN_AFSK_DEMODULATOR_H_ #define WINDOW_SIZE 5 #define SAMPLEFREQUENCY 6000 void window_init(void); void window_add(int8_t sample); int8_t* window_get(void); unsigned int window_get_size(void); float goertzelFilter2(int8_t samples[], float freq, unsigned int N); #endif /* MAIN_AFSK_DECODER_H_ */