Mercurial > hg > silvet
comparison src/Instruments.h @ 342:ad45b18427e0
Merge from branch livemode
author | Chris Cannam |
---|---|
date | Mon, 06 Jul 2015 09:15:21 +0100 |
parents | ebe5e0942bb8 |
children | df9a8e16bae6 |
comparison
equal
deleted
inserted
replaced
313:fa2ffbb786df | 342:ad45b18427e0 |
---|---|
30 * rock band). | 30 * rock band). |
31 */ | 31 */ |
32 class InstrumentPack | 32 class InstrumentPack |
33 { | 33 { |
34 public: | 34 public: |
35 static const int templateNoteCount; | 35 int templateNoteCount; |
36 static const int templateHeight; | 36 int templateHeight; |
37 static const int templateMaxShift; | 37 int templateMaxShift; |
38 static const int templateSize; | 38 int templateSize; |
39 | 39 |
40 int lowestNote; | 40 int lowestNote; |
41 int highestNote; | 41 int highestNote; |
42 | 42 |
43 int maxPolyphony; // realistic practical limit, not a theoretical one | 43 int maxPolyphony; // realistic practical limit, not a theoretical one |
58 | 58 |
59 static std::vector<InstrumentPack> listInstrumentPacks(); | 59 static std::vector<InstrumentPack> listInstrumentPacks(); |
60 | 60 |
61 private: | 61 private: |
62 InstrumentPack(int lowest, int highest, std::string n, | 62 InstrumentPack(int lowest, int highest, std::string n, |
63 std::vector<Templates> tt) : | 63 std::vector<Templates> tt); |
64 lowestNote(lowest), | 64 |
65 highestNote(highest), | 65 friend class LiveAdapter; |
66 maxPolyphony(5), | |
67 pitchSparsity(1.1), | |
68 sourceSparsity(1.2), | |
69 levelThreshold(5), | |
70 name(n), | |
71 templates(tt) { } | |
72 }; | 66 }; |
73 | 67 |
74 #endif | 68 #endif |