mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-31 20:11:29 +00:00
parent
2fa565180f
commit
969a5d203b
1 changed files with 2 additions and 6 deletions
|
@ -683,10 +683,6 @@ void FurnaceGUI::drawInsList() {
|
||||||
ImGui::End();
|
ImGui::End();
|
||||||
}
|
}
|
||||||
|
|
||||||
int detuneTable[8]={
|
|
||||||
0, 1, 2, 3, 0, -3, -2, -1
|
|
||||||
};
|
|
||||||
|
|
||||||
const char* fourOpAlgs[8]={
|
const char* fourOpAlgs[8]={
|
||||||
"1 > 2 > 3 > 4", "(1+2) > 3 > 4", "1+(2>3) > 4", "(1>2)+3 > 4", "(1>2) + (3>4)", "1 > (2+3+4)", "(1>2) + 3 + 4", "1 + 2 + 3 + 4"
|
"1 > 2 > 3 > 4", "(1+2) > 3 > 4", "1+(2>3) > 4", "(1>2)+3 > 4", "(1>2) + (3>4)", "1 > (2+3+4)", "(1>2) + 3 + 4", "1 + 2 + 3 + 4"
|
||||||
};
|
};
|
||||||
|
@ -815,9 +811,9 @@ void FurnaceGUI::drawInsEdit() {
|
||||||
P(ImGui::SliderScalar("EnvScale",ImGuiDataType_U8,&op.rs,&_ZERO,&_THREE));
|
P(ImGui::SliderScalar("EnvScale",ImGuiDataType_U8,&op.rs,&_ZERO,&_THREE));
|
||||||
P(ImGui::SliderScalar("Multiplier",ImGuiDataType_U8,&op.mult,&_ZERO,&_FIFTEEN));
|
P(ImGui::SliderScalar("Multiplier",ImGuiDataType_U8,&op.mult,&_ZERO,&_FIFTEEN));
|
||||||
|
|
||||||
int detune=detuneTable[op.dt&7];
|
int detune=(op.dt&7)-3;
|
||||||
if (ImGui::SliderInt("Detune",&detune,-3,3)) { PARAMETER
|
if (ImGui::SliderInt("Detune",&detune,-3,3)) { PARAMETER
|
||||||
op.dt=detune&7;
|
op.dt=detune+3;
|
||||||
}
|
}
|
||||||
P(ImGui::SliderScalar("Detune 2",ImGuiDataType_U8,&op.dt2,&_ZERO,&_THREE));
|
P(ImGui::SliderScalar("Detune 2",ImGuiDataType_U8,&op.dt2,&_ZERO,&_THREE));
|
||||||
if (ImGui::IsItemHovered()) {
|
if (ImGui::IsItemHovered()) {
|
||||||
|
|
Loading…
Reference in a new issue