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.

43 lines
814B

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