Successful stories of creating VSTs and VSTis using Gen?

coolfog2014's icon

I am just starting out with Max MSP and Gen. Has anyone designed plug in filters and instruments and then successfully created a VST or VSTi out of it?

Ernest's icon

This is a good question. Vst(I) support was in Max 4, and dropped in Max5. It is possible to create externals in C++ using the Steinberg VST API, but it is not native in Max5 and thus not directly supported for gen~.

stkr's icon

Hi coolfog2014.
All gen~ can do is export a single gen~ patch as a single perform loop in a single .cpp file with supporting .h header files. It can be very useful indeed, but is not directly related to creating audio plugins.
To create plugins you need to:
1- learn max
2- learn gen~
3- learn C++
4- learn an SDK (e.g. VST)
5- learn an IDE (e.g. Xcode or Visual Studio)
6- learn how to compile
It is not easy, but is relatively easy. But this end goal may not be the best place to start max.
I have made a handful of AU and VST plugs using this method. They are not very good. Many others have as well I am sure.
For pluggo-like functionality, there is only MaxForLive these days.

Ernest's icon

Someone was offering a book for $60 some time ago about compilation, but dont know if it includes gen~, and the last time saw a post on it, it was only for Macos.

DRKOSS's icon

I agree - some tutorials and/or discussion on this would be very interesting and helpful!

Ernest's icon

There is some info on the wiki, and here is the thread on the book: https://cycling74.com/forums/external-building-tutorials/

stkr's icon

Hi Ernest. That link doesn't have anything much to do with building plugins from gen~ code. There are two entries on the Wiki in the Gen section which cover AU and VST building which might be helpful to people.