From 23f625be77c925569dfea8700103aff89d513b50 Mon Sep 17 00:00:00 2001 From: Sander Vocke Date: Tue, 23 Jul 2024 12:22:30 +0200 Subject: Add openness CC control for hi-hats. --- src/sample.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sample.h') diff --git a/src/sample.h b/src/sample.h index b13f624..2c43cfc 100644 --- a/src/sample.h +++ b/src/sample.h @@ -38,13 +38,14 @@ class Sample { public: Sample(const std::string& name, double power, double position, - bool normalized = false); + double openness, bool normalized = false); ~Sample(); AudioFile* getAudioFile(const Channel& channel) const; double getPower() const; double getPosition() const; + double getOpenness() const; bool getNormalized() const; private: @@ -58,6 +59,7 @@ private: std::string name; double power; double position{0.0}; + double openness{0.0}; bool normalized; AudioFiles audiofiles; }; -- cgit v1.2.3