Go to the source code of this file.
Classes | |
struct | goertzel_descriptor_t |
struct | goertzel_state_t |
Functions | |
void | make_goertzel_descriptor (goertzel_descriptor_t *t, float freq, int samples) |
Create a descriptor for use with either a Goertzel transform. | |
goertzel_state_t * | goertzel_init (goertzel_state_t *s, goertzel_descriptor_t *t) |
Initialise the state of a Goertzel transform. | |
void | goertzel_reset (goertzel_state_t *s) |
Reset the state of a Goertzel transform. | |
int | goertzel_update (goertzel_state_t *s, const int16_t amp[], int samples) |
Update the state of a Goertzel transform. | |
float | goertzel_result (goertzel_state_t *s) |
Evaluate the final result of a Goertzel transform. |
|
Initialise the state of a Goertzel transform.
|
|
Reset the state of a Goertzel transform.
|
|
Evaluate the final result of a Goertzel transform.
|
|
Update the state of a Goertzel transform.
|