summaryrefslogtreecommitdiff
path: root/src/compute.h
blob: 827626c3faf51447ac2a2d99fa7117b53c08d4df (plain)
1
2
3
4
5
6
7
8
9
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 /*COMPUTE_H*/