Mercurial > hg > silvet
diff src/Instruments.h @ 298:ebe5e0942bb8 livemode
More toward a possible live mode
author | Chris Cannam |
---|---|
date | Fri, 28 Nov 2014 10:18:22 +0000 |
parents | 5bde003a43a9 |
children | df9a8e16bae6 |
line wrap: on
line diff
--- a/src/Instruments.h Fri Nov 28 09:42:56 2014 +0000 +++ b/src/Instruments.h Fri Nov 28 10:18:22 2014 +0000 @@ -32,10 +32,10 @@ class InstrumentPack { public: - static const int templateNoteCount; - static const int templateHeight; - static const int templateMaxShift; - static const int templateSize; + int templateNoteCount; + int templateHeight; + int templateMaxShift; + int templateSize; int lowestNote; int highestNote; @@ -60,15 +60,9 @@ private: InstrumentPack(int lowest, int highest, std::string n, - std::vector<Templates> tt) : - lowestNote(lowest), - highestNote(highest), - maxPolyphony(5), - pitchSparsity(1.1), - sourceSparsity(1.2), - levelThreshold(5), - name(n), - templates(tt) { } + std::vector<Templates> tt); + + friend class LiveAdapter; }; #endif