November 21, 2009
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.
Leave a Comment » |
Build, Compilers | Tagged: plugin, code::blacos, code blocks, codeblocks, again, vst |
Permalink
Posted by bmoviehorror
October 30, 2009
I recently found this fantastic tutorial website which teaches the reader the basics of creating video games using the SDL library. This may have only a vague relevance to VST programming, however, the tutorials are incredibly clear and use C++ (rather than straight C used in many other tutorials) throughout. If you’re having trouble learning C++ by reading books with the standard dull “now we shall make an employee class for our payroll system zzzzzZzzzzZzzz” then I strongly suggest that you check this out. The author does not expect any prior knowledge of C++ programming, and it is a great way of learning by doing. The comments of the readers say it all for me.
The author of this tutorial recommends that you use the code::blocks IDE. I too have more recently become an advocate of using code::blocks due to its fantastic debugging capabilities and plugin support for profiling with gprof. Code::Blocks uses the same open source GNU c++ compiler which I use in the tutorials here but has its own build system built in rather than using SCons. The only reason I show the reader how to use SCons is for educational purposes, so that they have a really good idea of what they are doing with the source files in each example I present. It is just as easy to use code::blocks for VST plugin development once you want debugging and profiling support.
Leave a Comment » |
C++, Language | Tagged: C++, object oriented, resource, SDL, Simple direct media layer, tutorial |
Permalink
Posted by bmoviehorror
April 20, 2009
I’ve seen that my short post a while back has generated quite a few hits to my site from people searching for “python vst” and similar on Google. For those here looking for a way to program plugins using python fear not! I am actively developing this when I find time, but time is a little tight at the moment!
I’ve got some basic python stuff integrated with c code now after finding some helpful tutorials on the code project website here and here. I’m just trying to get numpy to play nice with c style arrays and then I’ll get something out soon as possible. Ability to pass numpy arrays will allow the python programmer to use all of the functionality built into scipy for filtering and ffts etc.
The code project tutorial linked above also gives threading advice, so it may be possible to make some pretty serious plugins. The plan at the moment is to compile a dll, which will search its directory for a python script of the same name and then run all of its processing from there. The aim being to keep things as neat and as simple as possible. Back to reading the numpy api for me!
Leave a Comment » |
Uncategorized |
Permalink
Posted by bmoviehorror