summaryrefslogtreecommitdiff
path: root/src/instrument.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2016-03-24 00:11:28 +0100
committerAndré Nusser <andre.nusser@googlemail.com>2016-03-29 22:18:48 +0200
commit866b09992668f97af063dcd77dc5dd0e3a512b94 (patch)
treedfeffaa3eb1a559d746d04f3fbb7402e74d1b290 /src/instrument.h
parentefe93864d53f72be4fa4dfe003f0f7578fc558e2 (diff)
New Random class for convenient random number generation.
Diffstat (limited to 'src/instrument.h')
-rw-r--r--src/instrument.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/instrument.h b/src/instrument.h
index e880d8d..62f8d01 100644
--- a/src/instrument.h
+++ b/src/instrument.h
@@ -35,6 +35,7 @@
#include "sample.h"
#include "versionstr.h"
+#include "random.h"
class InstrumentParser;
class Instrument {
@@ -76,6 +77,8 @@ private:
size_t lastpos;
float mod;
+
+ Random rand;
};
//typedef std::map< std::string, Instrument > Instruments;