Getting Started

Installing the SDK

Unzip the SDK files somewhere. I Put them in C:\SE\MyProjects

You should get several folders. se_sdk2 is the core SDK files, the other folders (se_gain, se_delay etc) are example modules to get you started.

Getting a Compiler

3 Compilers have been tested with the SDK:

Microsoft Visual C++

http://msdn.microsoft.com/vstudio/

You can use Version 6 or better of Microsoft's compiler. This is an excellent, but expensive option.
The Visual C++ Express version is free, but requires you to download Windows Platform SDK yourself.
   Also cheap for Students is the Academic version. You need to shop around to get the best price.

Gnu C++

http://www.bloodshed.net/devcpp.html

This is good, free, modern compiler.  The Dev CPP version comes with a development environment too.

Notes for CGG users

Borland free compiler

http://www.borland.com/products/downloads/download_cbuilder.html

Another good free compiler.  You need to register and fill in a questionair to get a free registration code.

Notes for Borland Free Compiler users

Compiling the Example Modules

The simplest example module is in the /se_gain folder.

Visual Studio users - Open the module's project file ( /se_gain/se_gain.vcproj ) in Visual Studio.  Select "Rebuild All".  This builds the project and creates the module dll file, which is copied automatically to your SynthEdit folder (C:\Program Files\SynthEdit\modules\MyModules\se_gain.sem), ready to test.

Dev C++ users - Open the module's project file ( /se_gain/se_gain.dev ) in Dev C++.  Select "Rebuild All".  This will create the file /se_gain/se_gain.dll.  Copy that to your SynthEdit module folder and rename it (C:\Program Files\SynthEdit\modules\MyModules\se_gain.sem).

Borland Free Compiler Users - Run batch file /se_gain/bc_make.bat, This builds the project and creates the module dll file, which is copied automatically to your SynthEdit folder (C:\Program Files\SynthEdit\modules\MyModules\se_gain.sem), ready to test.

Next time you start SynthEdit your module will be available from the menu Insert->MyModules->Gain Example

Modifing the example files to make your own module project

Copy se_gain folder.  Keep the project file (*.vcproj), but delete the solution file (*.sln).

Open Project file in Developer Studio.

Change the sem file name...

Open project settings, post build step, change the copy-to filename e.g. se_delay.sep (both debug and release builds.  SE plugins go in the SynthEdit/modules folder.

Perform a FULL rebuild.  Otherwise debugger may display files from the other project (causing you to accidentally edit the wrong files).

put your algorithm in module.cpp sub_process() function

see also EVM SDK Tutorial