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.

38 lines
531B

  1. #include <vector>
  2. namespace rack_plugin_rcm {
  3. namespace SongRoll {
  4. class ChannelConfig {
  5. public:
  6. enum eRepeatMode {
  7. FREE,
  8. REPEATS,
  9. LIMIT
  10. };
  11. int pattern = 1;
  12. int repeats = 1;
  13. eRepeatMode repeat_mode = eRepeatMode::FREE;
  14. int clock_div = 1;
  15. };
  16. class Section {
  17. public:
  18. std::vector<ChannelConfig> channels;
  19. Section();
  20. };
  21. class SongRollData {
  22. public:
  23. std::vector<Section> sections;
  24. SongRollData();
  25. void reset();
  26. };
  27. }
  28. } // namespace rack_plugin_rcm