diff options
Diffstat (limited to 'externals')
-rw-r--r-- | externals/grill/vst/pd/vst~.pd | 24 | ||||
-rw-r--r-- | externals/grill/vst/src/VstHost.cpp | 64 | ||||
-rw-r--r-- | externals/grill/vst/src/VstHost.h | 4 | ||||
-rw-r--r-- | externals/grill/vst/src/main.cpp | 49 | ||||
-rw-r--r-- | externals/grill/vst/vst.dsp | 420 |
5 files changed, 271 insertions, 290 deletions
diff --git a/externals/grill/vst/pd/vst~.pd b/externals/grill/vst/pd/vst~.pd index 62753009..56b795ef 100644 --- a/externals/grill/vst/pd/vst~.pd +++ b/externals/grill/vst/pd/vst~.pd @@ -1,4 +1,4 @@ -#N canvas 108 26 862 644 12;
+#N canvas 108 26 866 648 12;
#X obj 26 207 dac~;
#X obj 26 107 noise~;
#X obj 444 172 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -225271
@@ -13,7 +13,7 @@ #X msg 26 389 edit \$1;
#X msg 94 389 getedit;
#X msg 89 473 getvis;
-#N canvas 367 122 538 445 info 0;
+#N canvas 367 122 542 449 info 0;
#X msg 94 130 getversion;
#X msg 94 75 getname;
#X msg 95 153 getvendor;
@@ -36,6 +36,8 @@ #X text 219 221 number of plug inlets and outlets;
#X msg 93 41 getattributes;
#X text 213 38 get all attributes;
+#X msg 268 189 geteditor;
+#X text 348 189 has editor?;
#X connect 0 0 7 0;
#X connect 1 0 7 0;
#X connect 2 0 7 0;
@@ -48,6 +50,7 @@ #X connect 10 0 9 0;
#X connect 11 0 7 0;
#X connect 19 0 7 0;
+#X connect 21 0 7 0;
#X restore 414 537 pd info;
#X obj 96 109 r \$0-vst;
#X obj 25 416 s \$0-vst;
@@ -129,23 +132,28 @@ #X obj 28 252 bng 15 250 50 0 empty empty empty 0 -6 0 8 -225271 -1
-1;
#X obj 27 271 openpanel;
-#N canvas 0 0 456 306 midi 0;
+#N canvas 0 0 460 310 midi 0;
#X obj 20 249 s \$0-vst;
#X msg 32 66 note 10 100;
#X msg 61 118 ctlchg 3 123;
-#X msg 81 144 pbend 1000;
+#X msg 87 170 pbend 1000;
#X text 128 65 note on;
#X msg 49 90 note 10 0;
-#X text 145 89 note off;
+#X text 225 89 note off;
#X text 171 117 control change;
-#X text 173 142 pitch bend;
-#X text 173 170 program change;
-#X msg 91 171 progchg 2;
+#X text 179 168 pitch bend;
+#X text 157 144 program change;
+#X msg 75 145 progchg 2;
+#X msg 135 90 noteoff 10;
+#X msg 101 195 atouch 70;
+#X text 180 194 after touch;
#X connect 1 0 0 0;
#X connect 2 0 0 0;
#X connect 3 0 0 0;
#X connect 5 0 0 0;
#X connect 10 0 0 0;
+#X connect 11 0 0 0;
+#X connect 12 0 0 0;
#X restore 25 581 pd midi;
#X text 93 582 midi messages for vst synths;
#X connect 1 0 48 0;
diff --git a/externals/grill/vst/src/VstHost.cpp b/externals/grill/vst/src/VstHost.cpp index f0c3892b..f2d96763 100644 --- a/externals/grill/vst/src/VstHost.cpp +++ b/externals/grill/vst/src/VstHost.cpp @@ -17,7 +17,8 @@ extern "C" void post(char *fmt, ...); // ///////////////////// VSTPlugin::VSTPlugin(): - posx(0),posy(0) + posx(0),posy(0), + _editor(false) { queue_size=0; _sDllName = NULL; @@ -44,7 +45,7 @@ int VSTPlugin::Instance( const char *dllname) { return VSTINSTANCE_ERR_NO_VALID_FILE; } - post("Loaded library %s" , dllname); +// post("Loaded library %s" , dllname); PVSTMAIN main = (PVSTMAIN)GetProcAddress(h_dll,"main"); if(!main) { @@ -114,7 +115,7 @@ int VSTPlugin::Instance( const char *dllname) _version = _pEffect->version; _isSynth = (_pEffect->flags & effFlagsIsSynth)?true:false; overwrite = (_pEffect->flags & effFlagsCanReplacing)?true:false; - editor = (_pEffect->flags & effFlagsHasEditor)?true:false; + _editor = (_pEffect->flags & effFlagsHasEditor)?true:false; if ( _sDllName != NULL ) delete _sDllName; _sDllName = new char[strlen(dllname)+1]; @@ -410,61 +411,12 @@ long VSTPlugin::Master(AEffect *effect, long opcode, long index, long value, voi bool VSTPlugin::AddNoteOn( unsigned char note,unsigned char speed,unsigned char midichannel) { - if(instantiated) - { - VstMidiEvent* pevent=&midievent[queue_size]; - - pevent->type = kVstMidiType; - pevent->byteSize = 24; - pevent->deltaFrames = 0; - pevent->flags = 0; - pevent->detune = 0; - pevent->noteLength = 0; - pevent->noteOffset = 0; - pevent->reserved1 = 0; - pevent->reserved2 = 0; - pevent->noteOffVelocity = 0; - pevent->midiData[0] = (char)MIDI_NOTEON | midichannel; // Midi On - pevent->midiData[1] = note; - pevent->midiData[2] = speed; - pevent->midiData[3] = 0; - - if ( queue_size < MAX_EVENTS ) queue_size++; - SendMidi(); - return true; - } - else - return false; + return AddMIDI((char)MIDI_NOTEON | midichannel,note,speed); } bool VSTPlugin::AddNoteOff( unsigned char note,unsigned char midichannel) { - if (instantiated) - { - VstMidiEvent* pevent=&midievent[queue_size]; - - pevent->type = kVstMidiType; - pevent->byteSize = 24; - pevent->deltaFrames = 0; - pevent->flags = 0; - pevent->detune = 0; - pevent->noteLength = 0; - pevent->noteOffset = 0; - pevent->reserved1 = 0; - pevent->reserved2 = 0; - pevent->noteOffVelocity = 0; - pevent->midiData[0] = (char)MIDI_NOTEOFF | midichannel; // Midi Off - pevent->midiData[1] = note; - pevent->midiData[2] = 0; - pevent->midiData[3] = 0; - - if ( queue_size < MAX_EVENTS ) queue_size++; - - SendMidi(); - return true; - } - else - return false; + return AddMIDI((char)MIDI_NOTEOFF | midichannel,note,0); } @@ -478,7 +430,7 @@ void VSTPlugin::edit(bool open) { if(instantiated) { if(open) { - if ( editor && !edited) { + if ( HasEditor() && !edited) { edited = true; b = new CEditorThread(); b->SetPlugin( this); @@ -486,7 +438,7 @@ void VSTPlugin::edit(bool open) } } else { - if (editor && edited) b->Close(); + if (HasEditor() && edited) b->Close(); } } } diff --git a/externals/grill/vst/src/VstHost.h b/externals/grill/vst/src/VstHost.h index 60c793ab..1ad9cede 100644 --- a/externals/grill/vst/src/VstHost.h +++ b/externals/grill/vst/src/VstHost.h @@ -33,7 +33,6 @@ public: void AddProgramChange( int value ); void AddPitchBend( int value ); void AddAftertouch( int value ); - bool editor; bool ShowParams(); void SetShowParameters( bool s); void OnEditorClose(); @@ -89,6 +88,7 @@ public: int GetCurrentProgram(); int NumPrograms() { return _pEffect->numPrograms; } bool IsSynth() { return _isSynth; } + bool HasEditor() const { return _editor; } bool AddMIDI(unsigned char data0,unsigned char data1=0,unsigned char data2=0); void SendMidi(); @@ -133,7 +133,7 @@ protected: char _sVendorName[64]; char *_sDllName; // Contains dll name ULONG _version; - bool _isSynth; + bool _isSynth,_editor; float * inputs[MAX_INOUTS]; float * outputs[MAX_INOUTS]; diff --git a/externals/grill/vst/src/main.cpp b/externals/grill/vst/src/main.cpp index 2628303f..37e562a4 100644 --- a/externals/grill/vst/src/main.cpp +++ b/externals/grill/vst/src/main.cpp @@ -19,7 +19,7 @@ WARRANTIES, see the file, "license.txt," in this distribution. #include <direct.h> #include <io.h> -#define VST_VERSION "0.1.0pre4" +#define VST_VERSION "0.1.0pre5" #if 0 /* ----- MFC stuff ------------- */ @@ -58,6 +58,7 @@ protected: V ms_edit(BL on); V mg_edit(BL &ed) { ed = plug && plug->Edited(); } + V mg_editor(BL &ed) { ed = plug && plug->HasEditor(); } V ms_vis(BL vis); V mg_winx(I &x) const { x = plug?plug->getX():0; } @@ -83,8 +84,10 @@ protected: // V m_control(const S *ctrl_name,I ctrl_value); V m_pitchbend(I ctrl_value); V m_programchange(I ctrl_value); + V m_aftertouch(I ctrl_value); V m_ctrlchange(I control,I ctrl_value); V m_note(I note,I vel); + inline V m_noteoff(I note) { m_note(note,0); } V ms_param(I pnum,F val); V mg_param(I pnum); @@ -115,11 +118,13 @@ private: FLEXT_CALLVAR_V(mg_plug,ms_plug) FLEXT_CALLVAR_B(mg_edit,ms_edit) + FLEXT_CALLGET_B(mg_editor) FLEXT_CALLSET_B(ms_vis) FLEXT_ATTRGET_B(visible) // FLEXT_CALLBACK_2(m_control,t_symptr,int) FLEXT_CALLBACK_I(m_pitchbend) + FLEXT_CALLBACK_I(m_aftertouch) FLEXT_CALLBACK_I(m_programchange) FLEXT_CALLBACK_II(m_ctrlchange) @@ -130,6 +135,7 @@ private: FLEXT_CALLBACK_I(m_ptext) FLEXT_CALLBACK_II(m_note) + FLEXT_CALLBACK_I(m_noteoff) FLEXT_ATTRVAR_B(echoparam) FLEXT_CALLVAR_I(mg_winx,ms_winx) @@ -163,12 +169,15 @@ V vst::Setup(t_classid c) FLEXT_CADDATTR_VAR(c,"plug",mg_plug,ms_plug); FLEXT_CADDATTR_VAR(c,"edit",mg_edit,ms_edit); + FLEXT_CADDATTR_GET(c,"editor",mg_editor); FLEXT_CADDATTR_VAR(c,"vis",visible,ms_vis); FLEXT_CADDMETHOD_(c,0,"print",m_print); FLEXT_CADDMETHOD_II(c,0,"note",m_note); + FLEXT_CADDMETHOD_I(c,0,"noteoff",m_noteoff); // FLEXT_CADDMETHOD_2(c,0,"control",m_control,t_symptr,int); FLEXT_CADDMETHOD_(c,0,"pbend",m_pitchbend); + FLEXT_CADDMETHOD_(c,0,"atouch",m_aftertouch); FLEXT_CADDMETHOD_II(c,0,"ctlchg",m_ctrlchange); FLEXT_CADDMETHOD_(c,0,"progchg",m_programchange); @@ -314,10 +323,11 @@ BL vst::ms_plug(I argc,const A *argv) // to help deal with spaces we assume ALL of the args make // up the filename bool lf = false; + int loaderr = VSTINSTANCE_NO_ERROR; // try loading the dll from the raw filename - if (plug->Instance(plugname) == VSTINSTANCE_NO_ERROR) { - //post( "it loaded fine "); + if ((loaderr = plug->Instance(plugname)) == VSTINSTANCE_NO_ERROR) { + FLEXT_LOG("raw filename loaded fine"); lf = true; } @@ -327,14 +337,17 @@ BL vst::ms_plug(I argc,const A *argv) if(fd > 0) close(fd); else name = NULL; - // if dir is current working directory... name points to dir - if(dir == name) strcpy(dir,"."); + if(name) { + FLEXT_LOG("found VST dll on the PD path"); + // if dir is current working directory... name points to dir + if(dir == name) strcpy(dir,"."); - CString dllname(dir); - dllname += "\\"; - dllname += name; + CString dllname(dir); + dllname += "\\"; + dllname += name; - lf = plug->Instance(dllname) == VSTINSTANCE_NO_ERROR; + lf = (loaderr = plug->Instance(dllname)) == VSTINSTANCE_NO_ERROR; + } } if(!lf) { // try finding it on the VST path @@ -344,6 +357,7 @@ BL vst::ms_plug(I argc,const A *argv) if(dllname.Find(".dll") == -1) dllname += ".dll"; if(vst_path) { + FLEXT_LOG("found VST_PATH env variable"); char* tok_path = new C[strlen( vst_path)+1]; strcpy( tok_path , vst_path); char *tok = strtok( tok_path , ";" ); @@ -351,14 +365,16 @@ BL vst::ms_plug(I argc,const A *argv) CString abpath( tok ); if( abpath.Right( 1 ) != _T("\\") ) abpath += "\\"; + FLEXT_LOG1("trying VST_PATH %s",(const C *)abpath); + const char * realpath = findFilePath( abpath , dllname ); //post( "findFilePath( %s , %s ) = %s\n" , abpath , dllname , realpath ); if ( realpath != NULL ) { CString rpath( realpath ); - rpath += _T("\\") + plugname; - post( "trying %s " , rpath ); - if(plug->Instance( rpath ) == VSTINSTANCE_NO_ERROR ) { -// post("%s - plugin '%s' loaded ",thisName(),plug->GetName()); + rpath += plugname; + FLEXT_LOG1("trying %s",(const C *)rpath); + if((loaderr = plug->Instance( rpath )) == VSTINSTANCE_NO_ERROR ) { + FLEXT_LOG("plugin loaded via VST_PATH"); lf = true; break; } @@ -373,7 +389,7 @@ BL vst::ms_plug(I argc,const A *argv) } if(!lf) { // failed - don't make any ins or outs - post("%s - unable to load plugin '%s'",thisName(),plugname); + post("%s - unable to load plugin '%s', load error %i",thisName(),plugname,loaderr); ClearPlug(); } @@ -471,6 +487,11 @@ V vst::m_pitchbend(I ctrl_value) if(plug) plug->AddPitchBend(ctrl_value ); } +V vst::m_aftertouch(I ctrl_value) +{ + if(plug) plug->AddAftertouch(ctrl_value ); +} + V vst::m_programchange(I ctrl_value) { if(plug) plug->AddProgramChange(ctrl_value ); diff --git a/externals/grill/vst/vst.dsp b/externals/grill/vst/vst.dsp index 4c97d962..180f9542 100644 --- a/externals/grill/vst/vst.dsp +++ b/externals/grill/vst/vst.dsp @@ -1,210 +1,210 @@ -# Microsoft Developer Studio Project File - Name="vst" - Package Owner=<4>
-# Microsoft Developer Studio Generated Build File, Format Version 6.00
-# ** NICHT BEARBEITEN **
-
-# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
-
-CFG=vst - Win32 Debug
-!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE
-!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl
-!MESSAGE
-!MESSAGE NMAKE /f "vst.mak".
-!MESSAGE
-!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben
-!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
-!MESSAGE
-!MESSAGE NMAKE /f "vst.mak" CFG="vst - Win32 Debug"
-!MESSAGE
-!MESSAGE Für die Konfiguration stehen zur Auswahl:
-!MESSAGE
-!MESSAGE "vst - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE "vst - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library")
-!MESSAGE
-
-# Begin Project
-# PROP AllowPerConfigDependencies 0
-# PROP Scc_ProjName "max/vst"
-# PROP Scc_LocalPath "."
-CPP=cl.exe
-MTL=midl.exe
-RSC=rc.exe
-
-!IF "$(CFG)" == "vst - Win32 Release"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 0
-# PROP BASE Output_Dir "Release"
-# PROP BASE Intermediate_Dir "Release"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 1
-# PROP Use_Debug_Libraries 0
-# PROP Output_Dir "pd-msvc/r"
-# PROP Intermediate_Dir "pd-msvc/r"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c
-# ADD CPP /nologo /MT /W3 /GX /O2 /I "c:\programme\audio\pd\src" /I "f:\prog\max\flext\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D FLEXT_SYS=2 /D "FLEXT_THREADS" /D "_WINDLL" /YX /FD /c
-# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "NDEBUG"
-# ADD RSC /l 0xc07 /d "NDEBUG"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
-# ADD LINK32 pd.lib flext_t-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"pd-msvc/vst~.dll" /libpath:"c:\programme\audio\pd\bin" /libpath:"f:\prog\max\flext\pd-msvc"
-
-!ELSEIF "$(CFG)" == "vst - Win32 Debug"
-
-# PROP BASE Use_MFC 0
-# PROP BASE Use_Debug_Libraries 1
-# PROP BASE Output_Dir "Debug"
-# PROP BASE Intermediate_Dir "Debug"
-# PROP BASE Target_Dir ""
-# PROP Use_MFC 2
-# PROP Use_Debug_Libraries 1
-# PROP Output_Dir "pd-msvc/d"
-# PROP Intermediate_Dir "pd-msvc/d"
-# PROP Ignore_Export_Lib 0
-# PROP Target_Dir ""
-# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c
-# ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "f:\prog\max\flext\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D FLEXT_SYS=2 /D "FLEXT_THREADS" /D "_WINDLL" /D "_AFXDLL" /FR /YX /FD /GZ /c
-# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
-# ADD BASE RSC /l 0xc07 /d "_DEBUG"
-# ADD RSC /l 0xc07 /d "_DEBUG" /d "_AFXDLL"
-BSC32=bscmake.exe
-# ADD BASE BSC32 /nologo
-# ADD BSC32 /nologo
-LINK32=link.exe
-# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
-# ADD LINK32 pd.lib flext_td-pdwin.lib pthreadVC.lib /nologo /dll /debug /machine:I386 /out:"pd-msvc/d/vst~.dll" /pdbtype:sept /libpath:"c:\programme\audio\pd\bin" /libpath:"f:\prog\max\flext\pd-msvc"
-
-!ENDIF
-
-# Begin Target
-
-# Name "vst - Win32 Release"
-# Name "vst - Win32 Debug"
-# Begin Group "vst"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\src\vst\AEffect.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\vst\AEffectx.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\vst\AEffEditor.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\vst\AudioEffect.hpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\vst\audioeffectx.h
-# End Source File
-# End Group
-# Begin Group "alt"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\src\vst.cpp
-# PROP Exclude_From_Build 1
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\vst~.cpp
-# PROP Exclude_From_Build 1
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\vst~.h
-# PROP Exclude_From_Build 1
-# End Source File
-# End Group
-# Begin Group "mfc"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\src\Resource.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\StdAfx.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\StdAfx.h
-# End Source File
-# End Group
-# Begin Group "host"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\src\EditorThread.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\EditorThread.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\PopupWindow.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\PopupWindow.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\vst.rc
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\VstHost.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\VstHost.h
-# End Source File
-# End Group
-# Begin Group "doc"
-
-# PROP Default_Filter ""
-# Begin Source File
-
-SOURCE=.\gpl.txt
-# End Source File
-# Begin Source File
-
-SOURCE=.\license.txt
-# End Source File
-# Begin Source File
-
-SOURCE=.\readme.txt
-# End Source File
-# End Group
-# Begin Source File
-
-SOURCE=.\src\main.cpp
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\main.h
-# End Source File
-# Begin Source File
-
-SOURCE=.\src\vst.h
-# End Source File
-# End Target
-# End Project
+# Microsoft Developer Studio Project File - Name="vst" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** NICHT BEARBEITEN ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=vst - Win32 Debug +!MESSAGE Dies ist kein gültiges Makefile. Zum Erstellen dieses Projekts mit NMAKE +!MESSAGE verwenden Sie den Befehl "Makefile exportieren" und führen Sie den Befehl +!MESSAGE +!MESSAGE NMAKE /f "vst.mak". +!MESSAGE +!MESSAGE Sie können beim Ausführen von NMAKE eine Konfiguration angeben +!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel: +!MESSAGE +!MESSAGE NMAKE /f "vst.mak" CFG="vst - Win32 Debug" +!MESSAGE +!MESSAGE Für die Konfiguration stehen zur Auswahl: +!MESSAGE +!MESSAGE "vst - Win32 Release" (basierend auf "Win32 (x86) Dynamic-Link Library") +!MESSAGE "vst - Win32 Debug" (basierend auf "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "max/vst" +# PROP Scc_LocalPath "." +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "vst - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 1 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "pd-msvc/r" +# PROP Intermediate_Dir "pd-msvc/r" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /I "c:\programme\audio\pd\src" /I "f:\prog\max\flext\source" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D FLEXT_SYS=2 /D "FLEXT_THREADS" /D "_WINDLL" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0xc07 /d "NDEBUG" +# ADD RSC /l 0xc07 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386 +# ADD LINK32 pd.lib flext_t-pdwin.lib pthreadVC.lib /nologo /dll /machine:I386 /out:"pd-msvc/vst~.dll" /libpath:"c:\programme\audio\pd\bin" /libpath:"f:\prog\max\flext\pd-msvc" + +!ELSEIF "$(CFG)" == "vst - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 2 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "pd-msvc/d" +# PROP Intermediate_Dir "pd-msvc/d" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /ZI /Od /I "c:\programme\audio\pd\src" /I "f:\prog\max\flext\source" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D FLEXT_SYS=2 /D "FLEXT_THREADS" /D "_WINDLL" /D "_AFXDLL" /D "FLEXT_LOGGING" /FR /YX /FD /GZ /c +# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# ADD BASE RSC /l 0xc07 /d "_DEBUG" +# ADD RSC /l 0xc07 /d "_DEBUG" /d "_AFXDLL" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept +# ADD LINK32 pd.lib flext_td-pdwin.lib pthreadVC.lib /nologo /dll /debug /machine:I386 /out:"pd-msvc/d/vst~.dll" /pdbtype:sept /libpath:"c:\programme\audio\pd\bin" /libpath:"f:\prog\max\flext\pd-msvc" + +!ENDIF + +# Begin Target + +# Name "vst - Win32 Release" +# Name "vst - Win32 Debug" +# Begin Group "vst" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\src\vst\AEffect.h +# End Source File +# Begin Source File + +SOURCE=.\src\vst\AEffectx.h +# End Source File +# Begin Source File + +SOURCE=.\src\vst\AEffEditor.h +# End Source File +# Begin Source File + +SOURCE=.\src\vst\AudioEffect.hpp +# End Source File +# Begin Source File + +SOURCE=.\src\vst\audioeffectx.h +# End Source File +# End Group +# Begin Group "alt" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\src\vst.cpp +# PROP Exclude_From_Build 1 +# End Source File +# Begin Source File + +SOURCE=.\src\vst~.cpp +# PROP Exclude_From_Build 1 +# End Source File +# Begin Source File + +SOURCE=.\src\vst~.h +# PROP Exclude_From_Build 1 +# End Source File +# End Group +# Begin Group "mfc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\src\Resource.h +# End Source File +# Begin Source File + +SOURCE=.\src\StdAfx.cpp +# End Source File +# Begin Source File + +SOURCE=.\src\StdAfx.h +# End Source File +# End Group +# Begin Group "host" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\src\EditorThread.cpp +# End Source File +# Begin Source File + +SOURCE=.\src\EditorThread.h +# End Source File +# Begin Source File + +SOURCE=.\src\PopupWindow.cpp +# End Source File +# Begin Source File + +SOURCE=.\src\PopupWindow.h +# End Source File +# Begin Source File + +SOURCE=.\src\vst.rc +# End Source File +# Begin Source File + +SOURCE=.\src\VstHost.cpp +# End Source File +# Begin Source File + +SOURCE=.\src\VstHost.h +# End Source File +# End Group +# Begin Group "doc" + +# PROP Default_Filter "" +# Begin Source File + +SOURCE=.\gpl.txt +# End Source File +# Begin Source File + +SOURCE=.\license.txt +# End Source File +# Begin Source File + +SOURCE=.\readme.txt +# End Source File +# End Group +# Begin Source File + +SOURCE=.\src\main.cpp +# End Source File +# Begin Source File + +SOURCE=.\src\main.h +# End Source File +# Begin Source File + +SOURCE=.\src\vst.h +# End Source File +# End Target +# End Project |