edit 7th August 2018 : Use new facility in JUCE that finally allows getting access to the VST2 host callback from the plugin. The modified JUCE source files are no longer needed and were removed from the example plugin repo. Unfortunately equivalent facility was not yet added for VST3, so VST3 support has been removed for now.
edit 30th June 2018 : Updated for JUCE 5.3.2 (develop branch as always), taking into account the rather extensive changes Roli had to make to accommodate Steinberg preparing to drop VST2 completely. Note that now the VST2 and VST3 SDKs included within the JUCE repo itself must likely be used for the project to build successfully. The latest JUCE/Projucer should automatically take that change into account, but if they don't, you can try changing the global path for the VST3 SDK manually in the Projucer.
edit 10th April 2018 : Updated for JUCE 5.3.1
edit 18th December 2017 : Updated for VST SDK 3.6.8/latest JUCE changes.
edit 29th October 2017 : Updated for JUCE 5.2
edit 5th July 2017 : VST3 stuff added
Git repository at :
https://bitbucket.org/xenakios/reape...st_example/src
The plugin doesn't actually do anything that interesting but shows how to :
1) Use the Reaper API functions
2) Get access to the Reaper track or take on which the effect has been loaded. The plugin implements the following features :
-Changing volume of the track from the slider in the plugin
-Changing the name of the track or the take from the text field in the plugin
-Visualizes the media item positions on the track with a simple timeline graphic
You will likely need the latest Juce (from the Juce Github develop branch), Projucer built from the source and Visual Studio/XCode to get the plugin built. There are probably bugs, so you will likely want to watch for changes in the git repo.