Forums > MaxMSP

compiling mxj buf.Op hack for use in a vst plug-in

January 8, 2007 | 3:14 pm

i’m trying to build a patch into a vst plug-in. i’ve worked out that i need make sure all my externals are also in the pluggo plugin support externals folder.
I also use a hack of the mxj buf.Op object that allows cut and pasting. I can’t work out how to get it to work in my plug-in, i’ve tried cut and pasting the text in

Cycling74/java/classes/buf/Op.java

to

C74 Plug-in Support/java/classes/buf/Op.java

but it doesnt work, do i need to compile it somehow? i’m not too clear on this sort of thing..



f
January 8, 2007 | 4:03 pm

can’t test this right now but try to copy over all the files in the
buf folder…
Op.class
Op.java
Op$1.class
etc.
these .class files are the result from compiling Op.java within max.
_f

On 08.01.2007, at 15:14, bin ray wrote:

>
> i’m trying to build a patch into a vst plug-in. i’ve worked out
> that i need make sure all my externals are also in the pluggo
> plugin support externals folder.
> I also use a hack of the mxj buf.Op object that allows cut and
> pasting. I can’t work out how to get it to work in my plug-in, i’ve
> tried cut and pasting the text in
>
> Cycling74/java/classes/buf/Op.java
>
> to
>
> C74 Plug-in Support/java/classes/buf/Op.java
>
> but it doesnt work, do i need to compile it somehow? i’m not too
> clear on this sort of thing..

#|
fredrikolofsson.com klippav.org musicalfieldsforever.com
|#


January 8, 2007 | 4:06 pm

On 08 Jan 2007, at 15:14, bin ray wrote:

>
> i’m trying to build a patch into a vst plug-in. i’ve worked out
> that i need make sure all my externals are also in the pluggo
> plugin support externals folder.
> I also use a hack of the mxj buf.Op object that allows cut and
> pasting. I can’t work out how to get it to work in my plug-in, i’ve
> tried cut and pasting the text in
>
> Cycling74/java/classes/buf/Op.java
>
> to
>
> C74 Plug-in Support/java/classes/buf/Op.java
>
> but it doesnt work, do i need to compile it somehow? i’m not too
> clear on this sort of thing..

i’m not sure, what you mean by ‘a hack of the mxj buf.Op object’
but .java files merely contain the source code.
i guess you need to copy the compiled class files.

vlkr


January 8, 2007 | 4:16 pm

i mean this

http://www.fredrikolofsson.com/pages/code-max.html

its a hack of mxj buf.Op which allows cut and pasting of parts of buffers…very useful . recommended


January 8, 2007 | 4:37 pm

yes that works fine thanks, the whole buf folder had to be copied….


Viewing 5 posts - 1 through 5 (of 5 total)