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
808B

  1. #pragma once
  2. #include <cstdint>
  3. #include "../../deps/SynthDevKit/src/CV.hpp"
  4. #include "../../deps/SynthDevKit/src/Clock.hpp"
  5. #include "../SynthKit.hpp"
  6. namespace rack_plugin_SynthKit {
  7. struct ClockDividerModule : Module {
  8. enum ParamIds { NUM_PARAMS };
  9. enum InputIds { TOP_INPUT, RESET_INPUT, NUM_INPUTS };
  10. enum OutputIds {
  11. FIRST_OUTPUT,
  12. SECOND_OUTPUT,
  13. THIRD_OUTPUT,
  14. FOURTH_OUTPUT,
  15. FIFTH_OUTPUT,
  16. SIXTH_OUTPUT,
  17. SEVENTH_OUTPUT,
  18. EIGHTH_OUTPUT,
  19. NUM_OUTPUTS
  20. };
  21. enum LightIds {
  22. FIRST_LED,
  23. SECOND_LED,
  24. THIRD_LED,
  25. FOURTH_LED,
  26. FIFTH_LED,
  27. SIXTH_LED,
  28. SEVENTH_LED,
  29. EIGHTH_LED,
  30. NUM_LIGHTS
  31. };
  32. ClockDividerModule();
  33. void step() override;
  34. SynthDevKit::Clock *clock;
  35. SynthDevKit::CV *cv;
  36. };
  37. } // namespace rack_plugin_SynthKit