From db3f435e27d06d889871860c81aeb139eeff53d5 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 5 Apr 2023 10:15:47 +0200 Subject: WIP --- src/instrument.h | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/instrument.h') diff --git a/src/instrument.h b/src/instrument.h index 89918de..49a9a74 100644 --- a/src/instrument.h +++ b/src/instrument.h @@ -68,8 +68,15 @@ public: //! Get the number of audio files (as in single channel) in this instrument. std::size_t getNumberOfFiles() const; - float getMaxPower() const; - float getMinPower() const; + struct PowerRange + { + float min; + float max; + }; + PowerRange getPowers(float position) const; + + //float getMaxPower() const; + //float getMinPower() const; const std::vector& getChokes(); -- cgit v1.2.3