Giter Club home page Giter Club logo

mlvg's Introduction

mlvg

mlvg is a cross-platform application and plugin framework. It can currently generate applications for MacOS and Windows, VST3 plugins for Mac and Windows, and AU plugins for Mac.

status (Aug 22 2022)

Theoretically this is cross-platform, and can build VST / AU plugins. But currently only examples/app for Mac has been tested.

to build an app:

First, build and install madronalib as a static library using the instructions in the madronalib project.

Now use cmake to generate a project for a test application as follows:

  • mkdir build
  • cd build
  • for Mac OS: cmake -GXcode ..
  • for Windows: cmake -G "Visual Studio 14 2015 Win64" .. (substitute your compiler of choice)

to build a plugin:

Download the VST3 SDK from Steinberg.

You'll also need to download the CoreAudio SDK from Apple. It's easiest if you put the CoreAudio SDK in a directory next to the VST SDK---this way the VST SDK should find it automatically. The version of the CoreAudio SDK you want comes in a folder "CoreAudio" and has four subfolders: AudioCodecs, AudioFile, AudioUnits and PublicUtility. A current link: https://developer.apple.com/library/archive/samplecode/CoreAudioUtilityClasses/CoreAudioUtilityClasses.zip

To make the VST and AU plugins, first create an XCode project for MacOS using cmake:

  • mkdir build
  • cd build
  • cmake -DVST3_SDK_ROOT=(your VST3 SDK location) -DCMAKE_BUILD_TYPE=Debug -GXcode ..

Cmake will create a project with obvious placeholders (llllCompanyllll, llllPluginNamellll) for the company and plugin names.

Then, open the project and build all. Links to VST3 plugins will be made in ~/Library/Audio/Plug-Ins/VST3. The au component will be copied to ~/Library/Audio/Plug-Ins/Components.

Creating Windows projects should be very similar. You will need to install python and cmake. Instead of -GXcode for the generator argument you will specify something like -G "Visual Studio 14 2015 Win64".

note: currently using command line on Windows: cmake -DVST3_SDK_ROOT="~/dev/vst3sdk" -DCMAKE_BUILD_TYPE=Debug -G "Visual Studio 14 2015 Win64" ..

note: currently using command line on Mac OS: cmake -DVST3_SDK_ROOT="~/dev/vst3sdk" -GXcode ..

to clone the plugin project:

The python scripts here in examples/vst make it easy to create a new plugin project. To do this, run ./clonePlugin.py destdir PlugName (company) (mfgr) (subtype) (url) (email). The vst directory will be copied to the specified destination, with a lot of searching and replacing done in various files to make the new plugin project consistent.

example: ./clonePlugin.py ~/dev NewHappyPlug 'Madrona Labs' MLbs hapy http://www.madronalabs.com mailto:[email protected]

Then you can move to the new directory, make a build directory and run cmake as before.

TODO automatically remove the clonePlugin script and related files from the clone, where they are useless after the search / replace operations. For now do this manually.

building - MacOS

Building the (PlugName) target creates the .vst3 plugin in build/VST3/(Debug / Release) and copies it to /Library/Audio/Plug-Ins/VST3.

Building the (PlugName_au) target creates an intermediate .vst3 named (PluginName_vst_for_au), copies that into the (PluginName_au).component and copies that commponent to the /Library/Audio/Plug-Ins/Components directory.

License

mlvg is licensed under the GPL3.

Licensing options more suitable for commercial use are available. For more information please contact [email protected].

mlvg's People

Contributors

colugomusic avatar madronalabs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.