creating VST plugin with max patch

Nano59's icon

hi,

i have some max patches that i would like to run in tracktion/ my music stuff. I understand one can make VST plugins from max patches i was just wondering how you did it?

cheers.

Mattijs's icon

Max46Topics.pdf -> Collectives

Mattijs

Jean-Francois Charles's icon
Nano59's icon

cant find anything in the documentation...

anyone got a quick way of doing it?

Mattijs's icon

Quote: Nano59 wrote on Wed, 11 April 2007 11:22
----------------------------------------------------
> cant find anything in the documentation...

But it is there.

>
> anyone got a quick way of doing it?

I recommend reading the documentation instead.

Mattijs

Nano59's icon

ive looked if you could tell me specifically which document then it would help :)

Andy's icon

Try Max46Topics.pdf - pages 12-25 - You won't need to read all of it to get something working but it would still be adviseable.

Andy

Emmanuel Jourdan's icon

On 11 avr. 07, at 12:55, Toiletmuck wrote:

> ive looked if you could tell me specifically which document then it
> would help :)

It's there:

the link file is called "Pluggo Development Materials".

Cheers,
ej

Mattijs's icon

Quote: Nano59 wrote on Wed, 11 April 2007 12:55
----------------------------------------------------
> ive looked if you could tell me specifically which document then it would help :)
----------------------------------------------------

What about the second message in this thread?

Mattijs

Nano59's icon

I manages to figure it out but how does one make a user interface to be used in other music programs?

i use tracktion

_j's icon

YOU CAN DO IT!

smokey_joe_1985's icon

It's covered in the pluggo Dev guide. by opening the plugconfig object you can choose between the Max interface or pluggos egg sliders.

Nano59's icon

yeh i figured this out, but when i run the plugin in my program, when i use the max interface the size of the patch is so large i cant see/access all of it..

Roman Thilenius's icon

if it is TOO LARGE TO SEE EVERYTHING try making it smaller.

Dan Nigrin's icon

At 5:14 AM -0600 4/19/07, Toiletmuck wrote:
>yeh i figured this out, but when i run the plugin in my program,
>when i use the max interface the size of the patch is so large i
>cant see/access all of it..

Use the windowsize message within plugconfig, and then adjust the
size of your patcher to taste, before turning it into a VST plugin
--
Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com
http://www.jackosx.com

Nano59's icon

Yeh i have tried this but the panel is too small for any reasonable patch that has many vital boxes to be tinkered with ;)

Dan Nigrin's icon

Quote: Nano59 wrote on Thu, 19 April 2007 08:16
----------------------------------------------------
> Yeh i have tried this but the panel is too small for any reasonable patch that has many vital boxes to be tinkered with ;)
----------------------------------------------------

Why don't you post your plugconfig text to the list? My bet is you have conflicting size messages which are limiting the size of your plugin... You should be able to make it as large/small as you want with the windowsize message...

Dan

Roman Thilenius's icon

Quote: Nano59 wrote on Thu, 19 April 2007 06:16
----------------------------------------------------
> Yeh i have tried this but the panel is too small for any reasonable patch that has many vital boxes to be tinkered with ;)
----------------------------------------------------

it should never be too small.

i am absolutely sure that if you make a plug-in window
2560x1600 it will open up that wide.

did you say tracktion/windows is your host?

i only know T2/OSX and this one works, opens pluggo
windows of any size.

mayybe you have bad luck and something is incompatibe in your
configuration, but for now check the spelling of you plugconfig
script and things like that.

Nano59's icon

my plugin set up

#C useviews 1 1 1 1;
#C numprograms 8;
#C preempt 1;
#C sigvschange 1;
#C sigvsdefault 32;
#C autosize;
#C defaultview Interface 0 0 0;
#C dragscroll 1;
#C noinfo;
#C uniqueid 128 10 140;
#C initialpgm 1;

Nano59's icon

that's the size that appears to come up, as you cansee ive tried to cram all the stuff into that small area.

Dan Nigrin's icon

Change the line that says

#C autosize;

to

#C windowsize;

Then just set the size of your patcher to your desired plugin window
size, save the patcher, then build it into a plugin.

Best,
Dan

At 8:12 AM -0600 4/19/07, Toiletmuck wrote:
>my plugin set up
>
>#C useviews 1 1 1 1;
>#C numprograms 8;
>#C preempt 1;
>#C sigvschange 1;
>#C sigvsdefault 32;
>#C autosize;
>#C defaultview Interface 0 0 0;
>#C dragscroll 1;
>#C noinfo;
>#C uniqueid 128 10 140;
>#C initialpgm 1;

--
Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com
http://www.jackosx.com

Dan Nigrin's icon

Oops, and also change the line that says:

#C defaultview Interface 0 0 0;

to

#C defaultview Interface 0 0 1;

This will make your plugin's graphical view the default view, rather than the egg slider view.

Don't forget to take a look at all these settings in the MSP Reference manual, under plugconfig.

Best,
Dan

Wetterberg's icon
Nano59's icon

dang, some of the plugins when used only come through one channel, does the sounds line have to go through both inputs and outputs of the [plugin~/out~] boxes?

Dan Nigrin's icon

At 10:11 AM -0600 4/19/07, Toiletmuck wrote:
>dang, some of the plugins when used only come through one channel,
>does the sounds line have to go through both inputs and outputs of
>the [plugin~/out~] boxes?

Yes. Page #302 of the MSP Reference Manual.
--
Dan Nigrin
Defective Records
202 Hack / PC-1600 User / VSTi Host / OMS Convert / Jack OS X / Major
Malfunction
http://www.defectiverecords.com
http://www.jackosx.com

James's icon

Here is the download for pluggo: (per the first reply on this thread)

jayrope's icon

what's the use of this Pluggo detour, when Max had the ability to export to VST directly before? Why has this feature been been deleted from the application? Is that a license issue with Ableton? Why are c74 not supporting customer's wishes directly?

Roman Thilenius's icon

since a while there is a huge interest in bringing back 7-8 years old posts here at the forums, often with no reasonable context.

jayrope's icon

Roman, that's mainly owed to the search feature using Google's erm "sense" for "relevant" posts ;) However, what's the current situation on VST plugin export, if i may ask? Using gen~?

vichug's icon

Jayrope, the vst export mentionned in this thread does involve Pluggo. With gen, you can't export a vst direclty, although you can export a code inside gen to a c/c++ code which you can use inside a vst c/c++ code - afaik, there's nothing about the interface though. But maybe the gen code export can create a Xcode project even (not sure of that)

roger.carruthers's icon

There is also Plugtastic, though I'm not sure where that's got to...
http://74objects.com/plugtastic/
Cheers
Roger