diff options
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_ */
|
