Created
December 10, 2010 08:52
-
-
Save nikreiman/735987 to your computer and use it in GitHub Desktop.
Code snippits for a VST plugin written for Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define IDB_BITMAP1 1 | |
#define IDB_BITMAP2 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "YourProjectName.h" | |
AudioEffect* createEffectInstance(audioMasterCallback audioMaster) { | |
return new YourProjectName(audioMaster); | |
} | |
YourProjectName::YourProjectName(audioMasterCallback audioMaster) : AudioEffectX(audioMaster, 0, NUM_PARAMS) { | |
} | |
YourProjectName::~YourProjectName() { | |
} | |
void YourProjectName::processReplacing(float **inputs, float **outputs, VstInt32 sampleFrames) { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LIBRARY YOURPROJECTNAME | |
EXPORTS | |
VSTPluginMain | |
main=VSTPluginMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "audioeffectx.h" | |
#define NUM_PARAMS 0 | |
class YourProjectName : public AudioEffectX { | |
public: | |
YourProjectName(audioMasterCallback audioMaster); | |
~YourProjectName(); | |
void processReplacing(float **inputs, float **outputs, VstInt32 sampleFrames); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IDB_BITMAP1 PNG DISCARDABLE "../resources/bmp10001.png" | |
IDB_BITMAP2 PNG DISCARDABLE "../resources/bmp10002.png" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment