Mono & pan

This commit is contained in:
2022-07-12 04:21:57 +00:00
parent a892cb1180
commit afc38d91c3
9 changed files with 161 additions and 13 deletions

View File

@@ -77,7 +77,13 @@ struct dsp_ammod {
};
struct dsp_compressor {
double ratio;
double threshold;
float target;
unsigned int atk; /* Milliseconds */
double atk_tau;
unsigned int rls; /* MIlliseconds */
double rls_tau;
};
struct dsp_filter dsp_make_compressor();
@@ -137,4 +143,8 @@ struct dsp_reverb {
struct dsp_filter make_reverb();
void dsp_reverb_fillbuf(struct dsp_reverb *r, short *out, int n);
void dsp_pan(float *deg, short *out, int n);
void dsp_mono(void *p, short *out, int n);
#endif