diff options
author | Sander Vocke <sandervocke@gmail.com> | 2024-07-23 13:23:38 +0200 |
---|---|---|
committer | Sander Vocke <sandervocke@gmail.com> | 2024-07-23 13:23:38 +0200 |
commit | 0e59f90e2396190ec3e3a7195bac9c79e12fd6cc (patch) | |
tree | f7fd25a952c6e64db9108eab2a774e46fd9f0a83 /src/sample.h | |
parent | 019d478818950f7880d2c0f80d8fc8f963e9736b (diff) |
Add CC-controller openness parameter for hi-hats.
Diffstat (limited to 'src/sample.h')
-rw-r--r-- | src/sample.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sample.h b/src/sample.h index 6c31b6b..31a3741 100644 --- a/src/sample.h +++ b/src/sample.h @@ -37,12 +37,14 @@ using AudioFiles = std::map<const InstrumentChannel*, AudioFile*>; class Sample { public: - Sample(const std::string& name, double power, bool normalized = false); + Sample(const std::string& name, double power, + double openness, bool normalized = false); ~Sample(); AudioFile* getAudioFile(const Channel& channel) const; double getPower() const; + double getOpenness() const; bool getNormalized() const; private: @@ -55,6 +57,7 @@ private: std::string name; double power; + double openness; bool normalized; AudioFiles audiofiles; }; |