prosperon/source/engine/dsp.h

12 lines
286 B
C
Raw Normal View History

2022-07-04 14:19:52 -05:00
#ifndef DSP_H
#define DSP_H
void am_mod(short *a, short *b, short *c, int n);
struct wav;
struct wav gen_sine(float amp, float freq, int sr, int ch);
struct wav gen_square(float amp, float freq, int sr, int ch);
struct wav gen_triangle(float amp, float freq, int sr, int ch);
#endif