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.

20 lines
340B

  1. #pragma once
  2. #include <cstdint>
  3. #include <vector>
  4. #include "Clock.hpp"
  5. #define FIBONACCI_LIMIT 8
  6. namespace SynthDevKit {
  7. class FibonacciClock : public Clock {
  8. public:
  9. FibonacciClock (uint16_t, float);
  10. bool *update (float);
  11. std::vector<uint16_t> fibonaccis;
  12. private:
  13. void generateFibonaccis ( );
  14. };
  15. }