ajout effets audio

This commit is contained in:
thomas committed 2026-09-05 08:49:49 +02:00
1 parent f8a79b08bf
commit 44a43828f1
14 files changed
+541 -6

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#ifndef FX_SATURATION_H
#define FX_SATURATION_H
#include <stdbool.h>
typedef struct
{
bool enabled;
float drive; /* 0.0 (aucun effet) a 1.0 (saturation maximale) */
float level; /* gain de compensation en sortie, typiquement 0.0 - 1.0 */
} FxSaturationParams;
typedef struct
{
float dc_block_x1;
float dc_block_y1;
} FxSaturationState;
void FxSaturation_Init(FxSaturationState *state, FxSaturationParams *params);
float FxSaturation_Process(FxSaturationState *state, const FxSaturationParams *params, float input);
#endif /* FX_SATURATION_H */