diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-04-05 10:15:47 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2023-04-05 10:15:47 +0200 |
commit | db3f435e27d06d889871860c81aeb139eeff53d5 (patch) | |
tree | 726bfa4927c51b838201b51fc60de373351667be /src/instrument.h | |
parent | 00aea74f7f0a3c3759d7d807002cc5ca19ec0593 (diff) |
WIPdistance
Diffstat (limited to 'src/instrument.h')
-rw-r--r-- | src/instrument.h | 11 |
1 files changed, 9 insertions, 2 deletions
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<Choke>& getChokes(); |