Wusik 4000 Module SDK Docs Ready
- KVRAF
- 12555 posts since 7 Dec, 2004
That won't help anything if the issue is that you're calling the destructor manually (not allowed) and not initializing variables.
The array heap allocation was just an example of how this can cause an issue, but I don't know what specifically is causing these problems in the code.
It is a good idea though to use a smart-pointer class to handle these things because it makes the initialization, allocation and deallocation automatic.
The array heap allocation was just an example of how this can cause an issue, but I don't know what specifically is causing these problems in the code.
It is a good idea though to use a smart-pointer class to handle these things because it makes the initialization, allocation and deallocation automatic.
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
Ok, only today I could really check the code (due to personal stuff I was taking care of, including moving to a new place). In any event, I checked the whole code, and I don't do new/delete, I just use JUCE's OwnedArray and ScopedPointer, so that's not even the problem. :-p But, I'm updating to the latest JUCE possible and things seem to be running smooth now. I will run more tests tomorrow........
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
One thing I finally understood is what you said, no need to call the virtual destructor from the module since it is called by default. So I removed that remark and replaced with this:
It is super stable now, I'm just cleaning up the code for all modules and reorganizing a few things before I can post a new beta.
Code: Select all
/** Wusik 4000 Module Destructor
This is ALWAYS called, even if you overwrite this.
*/
virtual ~W4kMod()
{
wParameters.clear();
wOptions.clear();
outputEvents.clear();
};
- KVRAF
- 12555 posts since 7 Dec, 2004
Okay cool. I put a little effort into building a module and got it to compile, but I wasn't sure exactly where the bugs were and was frustrated that it was crashing too frequently.
I hope I can complete my ADSR module when you release the new version and maybe try some other things as well.
I hope I can complete my ADSR module when you release the new version and maybe try some other things as well.
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
Ok, I just compiled the 64 bits version and also some of the modules: master, global master, single osc, multi filter poly.
http://www.wusik.com/w4kpublic/WIN_Wusi ... 4_VSTs.zip
Please, could you let me know if this runs better?
We also updated the Wusik 4000 Group-Buy Deal.
http://www.wusik.com/w4kpublic/WIN_Wusi ... 4_VSTs.zip
Please, could you let me know if this runs better?
We also updated the Wusik 4000 Group-Buy Deal.
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
So far on my tests this thing is now rock-solid, ufff... I will work more on this tomorrow...
- KVRAF
- 12555 posts since 7 Dec, 2004
Seems to work at a glance, I'll need to spend a few hours and work with the plugin sources to know for sure. I'll post details of that when I have the plugin working or if any issue occurs.
Free plug-ins for Windows, MacOS and Linux. Xhip Synthesizer v8.0 and Xhip Effects Bundle v6.7.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
The coder's credo: We believe our work is neither clever nor difficult; it is done because we thought it would be easy.
Work less; get more done.
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
All done now, all modules updated, I'm updating the GIT files too in a few minutes. Here are the new Windows files (64/32), sorry, no MAC files yet, need to do those and it's a big task.
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_VSTs.zip
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_Data.zip
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_VSTs.zip
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_Data.zip
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
Creating two new modules today: Multi Line LFO (all done) and the Dual OSC (almost done)
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
New modules. I also updated the GIT Hub.
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_Data.zip
and
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_VSTs.zip
--------------
February 04 2014 - Beta Version B0022
- New Modulation Module: Multi Line LFO (monophonic)
- New Effect Module: Double Chorus
- New Effect Module: Stereo Delay (with modulation)
- New Sound Generator Module: Dual OSC (with Hard-Sync and Ring-Modulation options)
------
- Fixed several bugs and improved stability.
- Module SDK changes
- Modules now use OwnedArray for Poly Voice Variables.
- Removed any calls to the module destructor original class since this is called by default, calling again would create problems.
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_Data.zip
and
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_VSTs.zip
--------------
February 04 2014 - Beta Version B0022
- New Modulation Module: Multi Line LFO (monophonic)
- New Effect Module: Double Chorus
- New Effect Module: Stereo Delay (with modulation)
- New Sound Generator Module: Dual OSC (with Hard-Sync and Ring-Modulation options)
------
- Fixed several bugs and improved stability.
- Module SDK changes
- Modules now use OwnedArray for Poly Voice Variables.
- Removed any calls to the module destructor original class since this is called by default, calling again would create problems.
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
February 05 2014 - Beta Version B0024 (only Windows files for now)
- Fixed problems with the Multi-Line Envelope and other internal bugs.
- Improved stability once again.
------------
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_Data.zip
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_VSTs.zip
You need to update both VST and DATA files, since we have fixed module files.
- Fixed problems with the Multi-Line Envelope and other internal bugs.
- Improved stability once again.
------------
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_Data.zip
http://www.wusik.com/w4kpublic/WIN_Wusi ... a_VSTs.zip
You need to update both VST and DATA files, since we have fixed module files.
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
I had to do another quick update, now things are rock-solid on my tests in several daws.
- Banned
- Topic Starter
- 5089 posts since 12 Jun, 2001 from Wusik Dot Com
I have uploaded the MAC files and they work great, but I couldn't test the AU version yet, but it should work...
Anyone else testing the SDK?
Anyone else testing the SDK?