diff --git a/4klang_VSTi/4klang.dll b/4klang_VSTi/4klang.dll index b875bca..529add8 100644 Binary files a/4klang_VSTi/4klang.dll and b/4klang_VSTi/4klang.dll differ diff --git a/4klang_VSTi/8klang.dll b/4klang_VSTi/8klang.dll index 1df7e27..62de083 100644 Binary files a/4klang_VSTi/8klang.dll and b/4klang_VSTi/8klang.dll differ diff --git a/4klang_source/Go4kVSTi/source/GoSynth/Go4kVSTiCore.cpp b/4klang_source/Go4kVSTi/source/GoSynth/Go4kVSTiCore.cpp index 8310ab7..bff46b1 100644 --- a/4klang_source/Go4kVSTi/source/GoSynth/Go4kVSTiCore.cpp +++ b/4klang_source/Go4kVSTi/source/GoSynth/Go4kVSTiCore.cpp @@ -488,6 +488,7 @@ void Go4kVSTi_UpdateDelayTimes() int delay; if (v->synctype == 2) { + (&go4k_delay_times)[delayindex] = 0; // added for debug. doesnt hurt though v->delay = 0; v->count = 1; } @@ -1439,7 +1440,9 @@ void Go4kVSTi_LoadInstrument(char* filename, char channel) else { Go4kVSTi_ResetGlobal(); - fread(SynthObj.InstrumentNames[channel], 1, 64, file); + // read the instrument name in a dummy buffer, as global section doesnt have an own name + BYTE dummyNameBuf[64]; + fread(dummyNameBuf, 1, 64, file); if (version13) { BYTE dummyBuf[16]; @@ -1548,7 +1551,8 @@ void Go4kVSTi_SaveInstrument(char* filename, char channel) } else { - fwrite(SynthObj.InstrumentNames[channel], 1, 64, file); + // write a dummy name for global section as it doesnt have an own name + fwrite("GlobalUnitsStoredAs.4ki ", 1, 64, file); fwrite(SynthObj.GlobalValues, 1, MAX_UNITS*MAX_UNIT_SLOTS, file); } fclose(file); @@ -2127,12 +2131,8 @@ void Go4kVSTi_SaveByteStream(HINSTANCE hInst, char* filename, int useenvlevels, { if (!v->reverb) { - // if not notesync - if (v->synctype != 2) - { - // just push a dummy index - delay_indices.push_back(-1); - } + // just push a dummy index + delay_indices.push_back(-1); } } if (v->id == M_GLITCH) diff --git a/4klang_source/Go4kVSTi/win/Go4kVSTi.rc b/4klang_source/Go4kVSTi/win/Go4kVSTi.rc index cf2d5a2..f9a306f 100644 --- a/4klang_source/Go4kVSTi/win/Go4kVSTi.rc +++ b/4klang_source/Go4kVSTi/win/Go4kVSTi.rc @@ -37,7 +37,7 @@ IDR_ASM_RES BINARY "4klang.bin" IDD_GO4KVSTIDIALOG DIALOGEX 0, 0, 594, 341 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Alcatraz - 4klang Synth Plugin - Version 3.2.1" +CAPTION "Alcatraz - 4klang Synth Plugin - Version 3.2.2" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN PUSHBUTTON "Load Patch Data",IDC_LOAD_PATCH,13,13,70,14 diff --git a/4klang_source/Go4kVSTi/win/Go4kVSTi2.rc b/4klang_source/Go4kVSTi/win/Go4kVSTi2.rc index 669ed91..65a314d 100644 --- a/4klang_source/Go4kVSTi/win/Go4kVSTi2.rc +++ b/4klang_source/Go4kVSTi/win/Go4kVSTi2.rc @@ -36,7 +36,7 @@ IDR_ASM_RES BINARY "4klang.bin" IDD_GO4KVSTIDIALOG DIALOGEX 0, 0, 594, 341 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Alcatraz - 8klang Synth Plugin (4klang addon) - Version 3.2.1" +CAPTION "Alcatraz - 8klang Synth Plugin (4klang addon) - Version 3.2.2" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN PUSHBUTTON "Load Patch Data",IDC_LOAD_PATCH,13,13,70,14