summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-09-15 09:28:15 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2013-09-15 09:28:15 +0200
commit22e8c588324184b777cea9f55ec0fc73b56949b8 (patch)
treecb75167772447848650d90b01c171b344cdc61e3 /src/instrument.h
parent9883fb4fc232ebdea44dcf7b015499d31f999695 (diff)
New experimental sample selector (enable using --with-experimental argument on ./configure).
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/instrument.h b/src/instrument.h
index a302412..b7ddeea 100644
--- a/src/instrument.h
+++ b/src/instrument.h
@@ -31,8 +31,10 @@
#include <vector>
#include "rangemap.h"
+#include "powerlist.h"
#include "sample.h"
+#include "versionstr.h"
class InstrumentParser;
class Instrument {
@@ -61,8 +63,14 @@ private:
std::string _group;
std::string _name;
std::string _description;
+
+ VersionStr _version;
+
RangeMap<level_t, Sample*> samples;
+ PowerList powerlist;
+
void addSample(level_t a, level_t b, Sample *s);
+ void finalise(); ///< Signal instrument that no more samples will be added.
std::vector<Sample*> samplelist;