33 void dbgDump(
const size_t patternId)
const;
38 struct Instrument final {
45 struct InsInternal final {
51 uint32_t dwVariationChoices[32]={};
59 uint8_t velosity =127;
60 uint32_t dwVariation=0;
61 InsInternal* inst =
nullptr;
71 uint32_t dwVariation=0;
72 InsInternal* inst =
nullptr;
77 uint8_t bGrooveLevel = 0;
78 uint8_t bGrooveRange = 0;
81 struct PatternInternal final : Pattern {
87 std::vector<InsInternal> instruments;
88 std::vector<Note> waves;
89 std::vector<Curve> volume;
92 struct Internal final {
93 std::vector<PatternInternal> pptn;
94 std::vector<Groove> groove;
98 void index(
const Style &stl, PatternInternal& inst,
const Dx8::Pattern &pattern);
99 void index(PatternInternal &idx, InsInternal *inst,
const Style &stl,
const Style::Part &part);
105 uint32_t cordHeader=0;
106 std::vector<DMUS_IO_SUBCHORD> subchord;
107 const Style* style=
nullptr;
108 std::vector<DMUS_IO_COMMAND> commands;
110 std::unordered_map<uint32_t,Instrument> instruments;
111 std::shared_ptr<Internal> intern;