OPZ: add FMS2/AMS2 macros
This commit is contained in:
parent
beb7411ba7
commit
2e9621073e
8 changed files with 53 additions and 4 deletions
|
|
@ -123,7 +123,9 @@ enum DivMacroType: unsigned char {
|
|||
DIV_MACRO_EX5,
|
||||
DIV_MACRO_EX6,
|
||||
DIV_MACRO_EX7,
|
||||
DIV_MACRO_EX8
|
||||
DIV_MACRO_EX8,
|
||||
DIV_MACRO_EX9,
|
||||
DIV_MACRO_EX10
|
||||
};
|
||||
|
||||
enum DivMacroTypeOp: unsigned char {
|
||||
|
|
@ -301,6 +303,8 @@ struct DivInstrumentSTD {
|
|||
DivInstrumentMacro ex6Macro;
|
||||
DivInstrumentMacro ex7Macro;
|
||||
DivInstrumentMacro ex8Macro;
|
||||
DivInstrumentMacro ex9Macro;
|
||||
DivInstrumentMacro ex10Macro;
|
||||
|
||||
struct OpMacro {
|
||||
// ar, dr, mult, rr, sl, tl, dt2, rs, dt, d2r, ssgEnv;
|
||||
|
|
@ -354,7 +358,9 @@ struct DivInstrumentSTD {
|
|||
ex5Macro(DIV_MACRO_EX5),
|
||||
ex6Macro(DIV_MACRO_EX6),
|
||||
ex7Macro(DIV_MACRO_EX7),
|
||||
ex8Macro(DIV_MACRO_EX8) {
|
||||
ex8Macro(DIV_MACRO_EX8),
|
||||
ex9Macro(DIV_MACRO_EX9),
|
||||
ex10Macro(DIV_MACRO_EX10) {
|
||||
for (int i=0; i<4; i++) {
|
||||
opMacros[i].amMacro.macroType=DIV_MACRO_OP_AM+(i<<5);
|
||||
opMacros[i].arMacro.macroType=DIV_MACRO_OP_AR+(i<<5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue