diff options
Diffstat (limited to 'src/compute.h')
-rw-r--r-- | src/compute.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compute.h b/src/compute.h new file mode 100644 index 0000000..23d5798 --- /dev/null +++ b/src/compute.h @@ -0,0 +1,10 @@ +#ifndef COMPUTE_H +#define COMPUTE_H +#include <stdlib.h> // for size_t +#include <stdio.h> // for printf + +float compute_level(const float *data, size_t nsamples, int rate); +void audio2hsv_1(float audio_level, float *light_h, float *light_s, float *light_v); + +#endif + |