mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
add bs412 max
This commit is contained in:
@@ -19,6 +19,7 @@ typedef struct
|
||||
float target;
|
||||
float attack;
|
||||
float release;
|
||||
float max_gain;
|
||||
float gain;
|
||||
double avg_power;
|
||||
double alpha;
|
||||
@@ -30,5 +31,5 @@ typedef struct
|
||||
// float dbr_to_deviation(float dbr);
|
||||
float deviation_to_dbr(float deviation);
|
||||
|
||||
void init_bs412(BS412Compressor *comp, uint32_t mpx_deviation, float target_power, float attack, float release, uint32_t sample_rate);
|
||||
void init_bs412(BS412Compressor *comp, uint32_t mpx_deviation, float target_power, float attack, float release, float max_gain, uint32_t sample_rate);
|
||||
float bs412_compress(BS412Compressor *comp, float audio, float sample_mpx);
|
||||
Reference in New Issue
Block a user