MIDI Effect Getting started


To create a new MIDI effect with Microsoft® Visual C++ 6.0, you need to do the following:

  • Create a new "Win32 Dynamic Link Library" project.

  • Add the following SDK source files to your project:

    ..\pluginterfaces\funknown.cpp Basic interface FUnknown
    source\main\dllmain.cpp DLL entry point DllMain
    source\common\pluginfactory.cpp CPluginFactory implementation
    source\common\linkedlist.cpp required by CPlugParams and CMidiEventQueue
    source\common\plugparams.cpp CPlugParams implementation
    source\common\plugxmlgui.cpp Resource loader
    source\midi\midieffect.cpp CMidiEffect implementation
    source\midi\eventqueue.cpp CMidiEventQueue implementation

  • Don't forget to set the additional include directories in the project settings (Project - Settings - C/C++ - Preprocessor) e.g. "../../pluginterfaces,../source/common,../source/midi"

  • Derive your effect class from CMidiEffect (copy and paste from the MIDI Echo Sample should do).

  • Implement the Plug-In entry point GetPluginFactory.

  • Add a DEF-File to your project to export GetPluginFactory.



Copyright ©2004 Steinberg Media Technologies GmbH. All Rights Reserved.
Last Modified: