Archive

Posts Tagged ‘vst’

AGain in Python

February 11, 2010 4 comments

Update: Things are moving on nicely with my first main attempt at wrapping the AGain demo included in the VST sdk to python using nothing but the standard python C API. So far I have everything implemented but the main process, for which I’ll need to do a bit more reading on the numpy C API. Most of this was possible thanks to an easy tutorial by Jun Du over at codeproject.com.

More updates (and source code of course) to follow soon.

Advertisements

Build VST plugins using Code::Blocks

November 21, 2009 3 comments

I just put this up on the KVR audio site in response to a thread and thought I’d put a copy here for good measure.

Build again in code::blocks . . .

1) Make new EMPTY project and call it “again” – you can save this anywhere on your system

2) Assuming you have put the sdk at c:\vstsdk2.4, then right click on the project you have just created, select build options, got to the ‘search directories’ tab and add c:\vstsdk2.4 to the list.

3) Right click on the project and select add files. Add the following:
C:\vstsdk2.4\public.sdk\source\vst2.x\audioeffect. cpp
C:\vstsdk2.4\public.sdk\source\vst2.x\audioeffectx .cpp
C:\vstsdk2.4\public.sdk\source\vst2.x\vstplugmain. cpp
C:\vstsdk2.4\public.sdk\samples\vst2.x\again\sourc e\again.cpp
C:\vstsdk2.4\public.sdk\samples\vst2.x\again\sourc e\again.h

4) Right click on the project, select ‘Properties’, navigate to the ‘Build targets’ tab and select ‘Dynamic library’ from the ‘Type’ drop down list.

5) Right click the project, select ‘Build options’ go to the linker settings tab and under ‘Other linker options’ add the following:
-def C:\vstsdk2.4\public.sdk\samples\vst2.x\win\vstplug .def

6) Build the project.