From 866b09992668f97af063dcd77dc5dd0e3a512b94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 24 Mar 2016 00:11:28 +0100 Subject: New Random class for convenient random number generation. --- src/instrument.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/instrument.h') 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; -- cgit v1.2.3