ajout effets audio
This commit is contained in:
1 parent
f8a79b08bf
commit
44a43828f1
14 files changed
+541
-6
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#ifndef FX_OVERDRIVE_H
|
||||
#define FX_OVERDRIVE_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
bool enabled;
|
||||
float drive; /* 0.0 a 1.0 : quantite de distorsion */
|
||||
float tone; /* 0.0 (sombre) a 1.0 (brillant) : filtre passe-bas post-distorsion */
|
||||
float level; /* gain de compensation en sortie */
|
||||
} FxOverdriveParams;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
float tone_lp_state;
|
||||
} FxOverdriveState;
|
||||
|
||||
void FxOverdrive_Init(FxOverdriveState *state, FxOverdriveParams *params);
|
||||
float FxOverdrive_Process(FxOverdriveState *state, const FxOverdriveParams *params, float input);
|
||||
|
||||
#endif /* FX_OVERDRIVE_H */
|
||||
Reference in new issue
Block a user