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.

42 lines
569B

  1. #pragma once
  2. #include "bogaudio.hpp"
  3. #include "disable_output_limit.hpp"
  4. extern Model* modelSums;
  5. namespace bogaudio {
  6. struct Sums : DisableOutputLimitModule {
  7. enum ParamsIds {
  8. NUM_PARAMS
  9. };
  10. enum InputsIds {
  11. A_INPUT,
  12. B_INPUT,
  13. NEGATE_INPUT,
  14. NUM_INPUTS
  15. };
  16. enum OutputsIds {
  17. SUM_OUTPUT,
  18. DIFFERENCE_OUTPUT,
  19. MAX_OUTPUT,
  20. MIN_OUTPUT,
  21. NEGATE_OUTPUT,
  22. NUM_OUTPUTS
  23. };
  24. enum LightsIds {
  25. NUM_LIGHTS
  26. };
  27. Sums() : DisableOutputLimitModule(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS) {
  28. }
  29. void step() override;
  30. };
  31. } // namespace bogaudio