PDA

View Full Version : cross-compilation


cern.th.skei
07-23-2009, 04:57 PM
i have for a long time wanted to convert most (if not all) my JS plugins to vst, and then work a bit more on them. so, to get started, and learn ho to cross-compile in linux to win32 dll, i've ported the synth4 example (lgpl) that jorgen/energyxt have posted here:http://www.linux-vst.com/. compiled with mingw32, and it seems to work quite well with wine, but i don't have windows, so i can't test it properly there.

http://files.getdropbox.com/u/249632/jesu.ccernn/test/synth4.png

before i start porting all my js stuff (and potentially wasting lots of time and effort), could anybody help me test it? i mainly want to know if the compilation works, if the dll file itself is working in 'true' windows.

http://files.getdropbox.com/u/249632/jesu.ccernn/test/synth4.zip (82k)

contains the synth4.dll plugin, the original sources, and my modifications. additionally, it is stripped and packed with upx, to reduce the file size. could that create any problems? just in case, you could try one of these three dll files:

http://files.getdropbox.com/u/249632/jesu.ccernn/test/synth4.dll (557k)
http://files.getdropbox.com/u/249632/jesu.ccernn/test/synth4_stripped.dll (111k)
http://files.getdropbox.com/u/249632/jesu.ccernn/test/synth4_upx.dll (43k)

- ccernn

Xenakios
07-23-2009, 06:26 PM
The plugin loads in Reaper (Windows 7 64 bit, 32 bit Reaper) but the sound is either just really bad or there is a bug in the sound processing... ;) (Spesifically, I seem to be able to only make very short sounds with it.)

cern.th.skei
07-24-2009, 01:41 AM
ah, thanx. so the dll is found, and loads in reaper/w32 (that looks like a virus name, heh), that's the main thing i wanted to hear.

the plugin itself is not too good, especially the envelopes are a bit weird, and the parameters/sliders only affect new notes, not already playing ones... blame jorgen, not me, :)

i can try to make a more simple one where it's more obvious if the processing (sound) is working as intended, perhaps a delay or something... or a specific test/debug plugin.

a few hours/days....

- ccernn