C219: noise/invert/surround effects/macro
This commit is contained in:
parent
980c93aac4
commit
2fddd9e4d4
4 changed files with 43 additions and 9 deletions
|
|
@ -272,6 +272,10 @@ const char* tedControlBits[3]={
|
|||
"square", "noise", NULL
|
||||
};
|
||||
|
||||
const char* c219ControlBits[4]={
|
||||
"noise", "invert", "surround", NULL
|
||||
};
|
||||
|
||||
const char* x1_010EnvBits[8]={
|
||||
"enable", "oneshot", "split L/R", "HinvR", "VinvR", "HinvL", "VinvL", NULL
|
||||
};
|
||||
|
|
@ -4510,7 +4514,8 @@ void FurnaceGUI::drawInsEdit() {
|
|||
ins->type==DIV_INS_K007232 ||
|
||||
ins->type==DIV_INS_GA20 ||
|
||||
ins->type==DIV_INS_K053260 ||
|
||||
ins->type==DIV_INS_C140) {
|
||||
ins->type==DIV_INS_C140 ||
|
||||
ins->type==DIV_INS_C219) {
|
||||
if (ImGui::BeginTabItem((ins->type==DIV_INS_SU)?"Sound Unit":"Sample")) {
|
||||
String sName;
|
||||
bool wannaOpenSMPopup=false;
|
||||
|
|
@ -5538,7 +5543,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
volMax=31;
|
||||
}
|
||||
if (ins->type==DIV_INS_ADPCMB || ins->type==DIV_INS_YMZ280B || ins->type==DIV_INS_RF5C68 ||
|
||||
ins->type==DIV_INS_GA20 || ins->type==DIV_INS_C140) {
|
||||
ins->type==DIV_INS_GA20 || ins->type==DIV_INS_C140 || ins->type==DIV_INS_C219) {
|
||||
volMax=255;
|
||||
}
|
||||
if (ins->type==DIV_INS_QSOUND) {
|
||||
|
|
@ -5584,6 +5589,10 @@ void FurnaceGUI::drawInsEdit() {
|
|||
dutyLabel="Group Ctrl";
|
||||
dutyMax=5;
|
||||
}
|
||||
if (ins->type==DIV_INS_C219) {
|
||||
dutyLabel="Control";
|
||||
dutyMax=3;
|
||||
}
|
||||
if (ins->type==DIV_INS_BEEPER || ins->type==DIV_INS_POKEMINI) {
|
||||
dutyLabel="Pulse Width";
|
||||
dutyMax=255;
|
||||
|
|
@ -5709,6 +5718,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
if (ins->type==DIV_INS_POKEMINI) waveMax=0;
|
||||
if (ins->type==DIV_INS_TED) waveMax=0;
|
||||
if (ins->type==DIV_INS_C140) waveMax=0;
|
||||
if (ins->type==DIV_INS_C219) waveMax=0;
|
||||
if (ins->type==DIV_INS_SU || ins->type==DIV_INS_POKEY) waveMax=7;
|
||||
if (ins->type==DIV_INS_PET) {
|
||||
waveMax=8;
|
||||
|
|
@ -5839,7 +5849,7 @@ void FurnaceGUI::drawInsEdit() {
|
|||
panMin=0;
|
||||
panMax=127;
|
||||
}
|
||||
if (ins->type==DIV_INS_C140) {
|
||||
if (ins->type==DIV_INS_C140 || ins->type==DIV_INS_C219) {
|
||||
panMin=0;
|
||||
panMax=255;
|
||||
}
|
||||
|
|
@ -5864,6 +5874,8 @@ void FurnaceGUI::drawInsEdit() {
|
|||
macroList.push_back(FurnaceGUIMacroDesc(dutyLabel,&ins->std.dutyMacro,0,dutyMax,160,uiColors[GUI_COLOR_MACRO_OTHER],false,NULL,NULL,true,msm5232ControlBits));
|
||||
} else if (ins->type==DIV_INS_ES5506) {
|
||||
macroList.push_back(FurnaceGUIMacroDesc(dutyLabel,&ins->std.dutyMacro,dutyMin,dutyMax,160,uiColors[GUI_COLOR_MACRO_OTHER],false,NULL,¯oHoverES5506FilterMode));
|
||||
} else if (ins->type==DIV_INS_C219) {
|
||||
macroList.push_back(FurnaceGUIMacroDesc(dutyLabel,&ins->std.dutyMacro,0,dutyMax,120,uiColors[GUI_COLOR_MACRO_OTHER],false,NULL,NULL,true,c219ControlBits));
|
||||
} else {
|
||||
macroList.push_back(FurnaceGUIMacroDesc(dutyLabel,&ins->std.dutyMacro,dutyMin,dutyMax,160,uiColors[GUI_COLOR_MACRO_OTHER]));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue