diff options
| author | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-08-22 19:53:06 -0500 |
|---|---|---|
| committer | ozpv <39195175+ozpv@users.noreply.github.com> | 2026-08-22 19:53:06 -0500 |
| commit | d000890eafbc6cc715fa6e7da2db61db05a6f3e4 (patch) | |
| tree | 2688c10beee0a7c5eaca3d0f254f6cc274e1d6bb /Core/Inc/Effects/ringmod.h | |
| parent | 0cb345ed5ccbe786d0a7e7e2de740c0a07b82770 (diff) | |
update ring mod
Diffstat (limited to 'Core/Inc/Effects/ringmod.h')
| -rwxr-xr-x | Core/Inc/Effects/ringmod.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Core/Inc/Effects/ringmod.h b/Core/Inc/Effects/ringmod.h index 42cb229..516ca6c 100755 --- a/Core/Inc/Effects/ringmod.h +++ b/Core/Inc/Effects/ringmod.h @@ -10,7 +10,16 @@ #include <stdint.h>
#include <stddef.h>
+#include <stdbool.h>
-void ringmod(float *samples, size_t range_min, size_t range_max);
+typedef struct RingModParams {
+ float mix;
+ float frequency;
+ float lfo_amount;
+ float lfo_rate;
+ bool square_lfo;
+} RingModParams;
+
+void ringmod(float *samples, const size_t range_min, const size_t range_max, const struct RingModParams *params);
#endif /* INC_EFFECTS_RINGMOD_H_ */
|
