0
1
mirror of https://github.com/radio95-rnt/fm95.git synced 2026-02-26 19:23:51 +01:00

get rid of compressor

This commit is contained in:
2025-03-02 10:30:07 +01:00
parent 30ddac535d
commit bae5ae5c1b
3 changed files with 5 additions and 48 deletions

View File

@@ -29,13 +29,4 @@ float hard_clip(float sample, float threshold);
float voltage_db_to_voltage(float db);
float power_db_to_voltage(float db);
float voltage_to_voltage_db(float linear);
float voltage_to_power_db(float linear);
typedef struct {
float attack;
float release;
float max;
} Compressor;
void init_compressor(Compressor *compressor, float attack, float release);
float peak_compress(Compressor *compressor, float sample);
float peak_compress_stereo(Compressor *compressor, float l, float r, float *output_r);
float voltage_to_power_db(float linear);