how to do external objects??

Jul 24, 2007 at 11:17am

how to do external objects??

HI!!
it is very simple my question, how to do external objects??
thanks a lot

http://www.myspace.com/inanesilence
http://www.inane.es

#33012
Jul 24, 2007 at 12:20pm

Read the max/msp/jitter sdk documentation?

On 24/07/07, oscar wrote:
>
> HI!!
> it is very simple my question, how to do external objects??
> thanks a lot
>
>
>
>
>
>
>
> http://www.myspace.com/inanesilence
> http://www.inane.es
>
>


http://www.centuryofnoise.com
http://www.perevillez.com

#109413
Jul 24, 2007 at 2:10pm

To be more specific, there is some help in the documentation.
There’s a tutorial by Ichiro Fujinaga.
There are also some xcode and Eclipse examples (Helloworld style) but I’ve always had trouble with them. I think you need to make a template and then change the names – that should be covered in the Fujinaga tutorial.

Also, you could look into Java externals. I’ve been doing them and they’re much simpler to code than C. It really depends on what you want it to do. C is the much faster langauge but you need to specify everything and do memory management.
If you’re into Java – look in Java doc. The best way is type
mxj quickie myobject and click on that.
Say you add
post(“Got bang”); in the braces of the public void bang(){ } methos
then compile it
now write new object mxj myobject
send it a bang..

Anyhow, C may be more efficient for you. try the Dev list or the Java list here.

Cheers,
Andrew

#109414
Jul 25, 2007 at 11:32pm

without sound dim or getting abuse thrown at me i have a quick question.

when you make a patch with inputs and outputs, save it, then delete the extension (eg jamie~.pat to jamie~) then stick it in the max externals folder. What is that actully called? its not an external because its simply just a patch, but at the same time its not a subpatcher as such either.

I have made a few of these so i can use them as objects in max, and when i get the time to learn C or Java i hopefully will produce them into externals. Just really wondered if they had a fancy name. Also is their anyway of stopping people looking in them like a normal external object. Else a simply double click can reveal the wonders of within.

#109415
Jul 25, 2007 at 11:50pm

abstraction

On Jul 25, 2007, at 4:32 PM, Macca wrote:

>
> without sound dim or getting abuse thrown at me i have a quick
> question.
>
> when you make a patch with inputs and outputs, save it, then delete
> the extension (eg jamie~.pat to jamie~) then stick it in the max
> externals folder. What is that actully called? its not an external
> because its simply just a patch, but at the same time its not a
> subpatcher as such either.
>
> I have made a few of these so i can use them as objects in max, and
> when i get the time to learn C or Java i hopefully will produce
> them into externals. Just really wondered if they had a fancy name.
> Also is their anyway of stopping people looking in them like a
> normal external object. Else a simply double click can reveal the
> wonders of within.
> –
> MaccA

#109416
Jul 26, 2007 at 4:12am

if you dont know C or Java yet, id recommend Java first if you want to get into programming faster. ive been programming for over a year now (C++ and C#), and C-based externals still scare me!

#109417
Jul 26, 2007 at 10:29pm

> To be more specific, there is some help in the documentation.
> There’s a tutorial by Ichiro Fujinaga.

I have what I believe to be the most recent one by Fujinaga (the most
recent one I can find–3.2), but it’s for PPC. Is it going to be
horribly different from making UB objects?

Thanks,
Keith

#109418
Jul 27, 2007 at 11:39am

To be honest – I’m not sure. I don’t think so.

So I take it you’re going for C objects, not Java?

My friend has used Fujinaga tutorial on Intel Mac so it must be pretty relevant. Maybe someone lese has more advice on getting started at this?
There should be details of how to go about a simple HelloWorld app.

Also, check out Flext – this allows you to compile either Max or Pure Data objects from the same code. Maybe that would take care of compiling issues for you..

#109419
Jul 27, 2007 at 11:58am

Macca schrieb:
> when you make a patch with inputs and outputs, save it, then delete
> the extension (eg jamie~.pat to jamie~) then stick it in the max
> externals folder. What is that actully called? its not an external
> because its simply just a patch, but at the same time its not a
> subpatcher as such either.

It’s an abstraction. But I would keep the extension…

> Also is their anyway of stopping people looking in them like a normal
> external object. Else a simply double click can reveal the wonders
> of within.

What’s wrong with this? Normally abstractions are pretty simple and
probably legally not really protectable…
But you can hide all internals (select all, cmd-k) and then save them as
collective. That should make the internals invisible…
It will savely prevent any interest from others to use it at all… ;-)
(They’d probably just take it as inspiration and create their own patch…)

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#109420

You must be logged in to reply to this topic.