This commit is contained in:
2022-07-04 19:19:52 +00:00
parent de364d3538
commit 434b8be151
3 changed files with 105 additions and 3 deletions

12
source/engine/dsp.h Normal file
View File

@@ -0,0 +1,12 @@
#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