cutoff and resonance scaling and instrument save/load!

also mix minmod CPU usage variable initialization, and work a bit on Russian locale
This commit is contained in:
LTVA1 2024-08-16 17:37:07 +03:00
parent ba2f68f98c
commit 90e5fb79e5
27 changed files with 8068 additions and 7386 deletions

View file

@ -6166,6 +6166,12 @@ void FurnaceGUI::drawInsSID3(DivInstrument* ins)
{
ImGui::SetTooltip(_("How much cutoff changes for given pitch change."));
}
snprintf(buffer, 100, _("Scale cutoff only once on new note##bindcutnn%d"), i + 1);
P(ImGui::Checkbox(buffer,&filt->bindCutoffOnNote));
if (ImGui::IsItemHovered())
{
ImGui::SetTooltip(_("Filter cutoff will be changed only once on new note.\nIf this option is disabled, cutoff scaling will be applied\nevery time a pitch change happens."));
}
}
snprintf(buffer, 100, _("Change resonance with pitch##bindres%d"), i + 1);
@ -6199,6 +6205,12 @@ void FurnaceGUI::drawInsSID3(DivInstrument* ins)
{
ImGui::SetTooltip(_("How much resonance changes for given pitch change."));
}
snprintf(buffer, 100, _("Scale resonance only once on new note##bindresnn%d"), i + 1);
P(ImGui::Checkbox(buffer,&filt->bindResonanceOnNote));
if (ImGui::IsItemHovered())
{
ImGui::SetTooltip(_("Filter resonance will be changed only once on new note.\nIf this option is disabled, resonance scaling will be applied\nevery time a pitch change happens."));
}
}
}
}