diff options
Diffstat (limited to 'src/drumgizmo.h')
-rw-r--r-- | src/drumgizmo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drumgizmo.h b/src/drumgizmo.h index e25db2f..ea04603 100644 --- a/src/drumgizmo.h +++ b/src/drumgizmo.h @@ -70,6 +70,8 @@ public: void setFreeWheel(bool freewheel); + void setRandomSeed(unsigned int seed); + private: static constexpr int MAX_NUM_CHANNELS = 64; static constexpr int RESAMPLER_OUTPUT_BUFFER = 4096; @@ -101,4 +103,5 @@ protected: std::vector<event_t> events; Settings& settings; SettingsGetter getter{settings}; + Random rand; }; |