None
None
static const uint32_t NPEXCH = 0;
ParameterExchange_t PExch[NPEXCH];
int32_t displayVector[3];
static const uint32_t NPRESETS = 8;
static const uint32_t NPRESET_ENTRIES = 32;
static const uint32_t NMODULATIONSOURCES = 8;
static const uint32_t NMODULATIONTARGETS = 8;
int32_t PExModulationPrevVal[1][NMODULATIONSOURCES];
/* modsource defines */
/* parameter instance indices */
/* controller classes */
/* object classes */
/* controller instances */
/* object instances */
/* net latches */
static const int polyIndex = 0;
static int32_t *GetInitParams(void) {
static const int32_t p[0] = {};
return (int32_t *)&p[0];
}
static const int32_t *GetPresets(void) {
static const int32_t p[NPRESETS][NPRESET_ENTRIES][2] = {
{{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}},
{{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}},
{{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}},
{{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}},
{{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}},
{{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}},
{{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}},
{{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0},
{-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}, {-1, 0}}};
return &p[0][0][0];
};
void ApplyPreset(int index) {
if (!index) {
int i;
int32_t *p = GetInitParams();
for (i = 0; i < NPEXCH; i++) {
PExParameterChange(&PExch[i], p[i], 0xFFEF);
}
}
index--;
if (index < NPRESETS) {
PresetParamChange_t *pa = (PresetParamChange_t *)(GetPresets());
PresetParamChange_t *p = &pa[index * NPRESET_ENTRIES];
int i;
for (i = 0; i < NPRESET_ENTRIES; i++) {
PresetParamChange_t *pp = &p[i];
if ((pp->pexIndex >= 0) && (pp->pexIndex < NPEXCH)) {
PExParameterChange(&PExch[pp->pexIndex], pp->value, 0xFFEF);
} else
break;
}
}
}
static PExModulationTarget_t *GetModulationTable(void) {
static const PExModulationTarget_t
PExModulationSources[NMODULATIONSOURCES][NMODULATIONTARGETS] = {
{{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0}},
{{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0}},
{{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0}},
{{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0}},
{{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0}},
{{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0}},
{{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0}},
{{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0},
{-1, 0}}};
return (PExModulationTarget_t *)&PExModulationSources[0][0];
};
int i;
int j;
const int32_t *p;
p = GetInitParams();
for (j = 0; j < 0; j++) {
PExch[j].value = p[j];
PExch[j].modvalue = p[j];
PExch[j].signals = 0;
PExch[j].pfunction = 0;
}
int32_t *pp = &PExModulationPrevVal[0][0];
for (j = 0; j < attr_poly * NMODULATIONSOURCES; j++) {
*pp = 0;
pp++;
}
displayVector[0] = 0x446F7841;
displayVector[1] = 0;
displayVector[2] = 0;
int k;
for (k = 0; k < NPEXCH; k++) {
if (PExch[k].pfunction) {
(PExch[k].pfunction)(&PExch[k]);
} else {
PExch[k].finalvalue = PExch[k].value;
}
}
int i; /*...*/
//--------- <nets> -----------//
//--------- </nets> ----------//
//--------- <zero> ----------//
int32_t UNCONNECTED_OUTPUT;
static const int32_t UNCONNECTED_INPUT = 0;
static const int32buffer zerobuffer = {0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0};
int32buffer UNCONNECTED_OUTPUT_BUFFER;
//--------- </zero> ----------//
//--------- <controller calls> ----------//
//--------- <object calls> ----------//
//--------- </object calls> ----------//
//--------- <net latch copy> ----------//
//--------- </net latch copy> ----------//
if (attr_mididevice > 0 && dev > 0 && attr_mididevice != dev)
return;
if (attr_midiport > 0 && port > 0 && attr_midiport != port)
return;