You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
576B

  1. #pragma once
  2. #include "bogaudio.hpp"
  3. #include "dsp/signal.hpp"
  4. using namespace bogaudio::dsp;
  5. extern Model* modelRM;
  6. namespace bogaudio {
  7. struct RM : Module {
  8. enum ParamsIds {
  9. MODULATOR_DEPTH_PARAM,
  10. MIX_PARAM,
  11. NUM_PARAMS
  12. };
  13. enum InputsIds {
  14. MODULATOR_INPUT,
  15. CARRIER_INPUT,
  16. MODULATOR_DEPTH_INPUT,
  17. MIX_INPUT,
  18. NUM_INPUTS
  19. };
  20. enum OutputsIds {
  21. OUT_OUTPUT,
  22. NUM_OUTPUTS
  23. };
  24. enum LightsIds {
  25. NUM_LIGHTS
  26. };
  27. CrossFader _mix;
  28. RM() : Module(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) {
  29. }
  30. void step() override;
  31. };
  32. } // namespace bogaudio