more in-tune tonal noise waves, add locale to presets, update Russian locale

Also make noise a little closer to C64
This commit is contained in:
LTVA1 2024-08-17 16:38:46 +03:00
parent 4e7c1773ed
commit 99be4541c5
27 changed files with 45243 additions and 15131 deletions

2865
po/de.po

File diff suppressed because it is too large Load diff

2859
po/es.po

File diff suppressed because it is too large Load diff

2865
po/fi.po

File diff suppressed because it is too large Load diff

2865
po/fr.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

2865
po/hy.po

File diff suppressed because it is too large Load diff

2865
po/id.po

File diff suppressed because it is too large Load diff

2865
po/ja.po

File diff suppressed because it is too large Load diff

2865
po/ko.po

File diff suppressed because it is too large Load diff

Binary file not shown.

Binary file not shown.

2865
po/nl.po

File diff suppressed because it is too large Load diff

3544
po/pl.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

3664
po/ru.po

File diff suppressed because it is too large Load diff

2865
po/sk.po

File diff suppressed because it is too large Load diff

2859
po/sv.po

File diff suppressed because it is too large Load diff

2865
po/th.po

File diff suppressed because it is too large Load diff

2865
po/tr.po

File diff suppressed because it is too large Load diff

2865
po/uk.po

File diff suppressed because it is too large Load diff

2865
po/zh.po

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -81,6 +81,9 @@ typedef struct
const noiseFreqData noiseInterestingWavesData[] =
{
{524288, 523.0f / 1675.0f}, //wave very close to SID2 noise mode 1 wave
{541065280U, 523.0f / 104.0f / 2.0f}, //smth like vocals
{2068, 1.0f}, //wave very close to SID2 noise mode 3 wave
{66, 523.0f / 540.0f / 2.0f}, //wave very close to SID2 noise mode 2 wave
{0, 0.0f}, //end marker
};

View file

@ -2362,7 +2362,7 @@ void sid3_reset(SID3* sid3)
{
memset(&sid3->chan[i], 0, sizeof(sid3_channel));
sid3->chan[i].adsr.hold_zero = true;
sid3->chan[i].lfsr = 0x0ffffff; //three MSBs are left as 0
sid3->chan[i].lfsr = 0x3fffffff;
sid3->chan[i].lfsr_taps = 1 | (1 << 23) | (1 << 25) | (1 << 29); //https://docs.amd.com/v/u/en-US/xapp052 for 30 bits: 30, 6, 4, 1; but inverted since our LFSR is moving in different direction
for(int j = 0; j < SID3_NUM_FILTERS; j++)
@ -3053,7 +3053,7 @@ void sid3_clock(SID3* sid3)
{
ch->accumulator = 0;
ch->noise_accumulator = 0;
ch->lfsr = 0x0fffffff; //three MSBs are left as 0
ch->lfsr = 0x3fffffff;
}
}
else
@ -3062,7 +3062,7 @@ void sid3_clock(SID3* sid3)
{
ch->accumulator = 0;
ch->noise_accumulator = 0;
ch->lfsr = 0x0fffffff; //three MSBs are left as 0
ch->lfsr = 0x3fffffff;
}
}
}
@ -3324,7 +3324,7 @@ void sid3_write(SID3* sid3, uint16_t address, uint8_t data)
if(sid3->chan[channel].flags & SID3_CHAN_NOISE_PHASE_RESET)
{
sid3->chan[channel].noise_accumulator = 0;
sid3->chan[channel].lfsr = 0x0fffffff; //three MSBs are left as 0
sid3->chan[channel].lfsr = 0x3fffffff;
}
sid3->chan[channel].flags &= ~(SID3_CHAN_ENV_RESET | SID3_CHAN_NOISE_PHASE_RESET | SID3_CHAN_PHASE_RESET);

View file

@ -37,7 +37,7 @@ void FurnaceGUI::drawSysDefs(std::vector<FurnaceGUISysDef>& category, bool& acce
ImGui::TableNextColumn();
if (!i.subDefs.empty()) {
if (i.orig.empty()) {
sysDefID=fmt::sprintf("%s%s/%dS",i.name,sysDefIDLeader,index);
sysDefID=fmt::sprintf("%s%s/%dS",_(i.name.c_str()),sysDefIDLeader,index);
} else {
sysDefID=fmt::sprintf("%s/%dS",sysDefIDLeader,index);
}
@ -45,7 +45,7 @@ void FurnaceGUI::drawSysDefs(std::vector<FurnaceGUISysDef>& category, bool& acce
ImGui::SameLine();
}
if (!i.orig.empty()) {
sysDefID=fmt::sprintf("%s%s/%d",i.name,sysDefIDLeader,index);
sysDefID=fmt::sprintf("%s%s/%d",_(i.name.c_str()),sysDefIDLeader,index);
if (ImGui::Selectable(sysDefID.c_str(),false,ImGuiSelectableFlags_DontClosePopups)) {
nextDesc=i.definition;
nextDescName=i.name;

File diff suppressed because it is too large Load diff