Forums > MaxMSP

Programming

June 10, 2007 | 11:13 pm

I’m about to spend a lot of time this summer learning C, C++, or Java
(and probably all three), with the aim of writing my own MAX objects.
However, I’m still unsure which language to use for this. Can MAX
objects be written in any of these languages? I couldn’t find any info
about this in the documentation…. And if so, which one is the most
widely used?

Thanks so much!

Robert



jln
June 10, 2007 | 11:36 pm


June 10, 2007 | 11:41 pm

There are the SDKs from cycling74 for writing in C here:

http://www.cycling74.com/twiki/bin/view/ProductDocumentation

and there is writingexternalsinjava.pdf which is in the standard documentation.

Both are used… the SDK says C may be more in efficient in some instances.

Keith
On 6/10/07, Robert wrote:
> I’m about to spend a lot of time this summer learning C, C++, or Java
> (and probably all three), with the aim of writing my own MAX objects.
> However, I’m still unsure which language to use for this. Can MAX
> objects be written in any of these languages? I couldn’t find any info
> about this in the documentation…. And if so, which one is the most
> widely used?
>
> Thanks so much!
>
> Robert
>


June 11, 2007 | 12:50 am

Hi Robert,

The Java documentation lives in a directory called java-doc that’s
within your Cycling ’74 directory.

I don’t know anything about your programming experience, but if you’re
not hoping to do any audio processing inside your object I suggest
starting with Javascript. Javascript, Java and C are all similar
enough that porting code from one to another is pretty easy.

If you are interested in making your own MSP externals, I’d recommend
Java. It’s a *lot* easier to program MSP objects in Java than C, and
the performance hit is in many cases negligible.

Ben


June 11, 2007 | 2:06 am

Thanks so much, Ben. Your thoughts are most useful. I didn’t notice
the java-doc and all the html tutorials: just what I was looking for.

I eventually want to get into msp objects, so I think I will go with
java. Robbie.

On 6/10/07, Ben Nevile wrote:
> Hi Robert,
>
> The Java documentation lives in a directory called java-doc that’s
> within your Cycling ’74 directory.
>
> I don’t know anything about your programming experience, but if you’re
> not hoping to do any audio processing inside your object I suggest
> starting with Javascript. Javascript, Java and C are all similar
> enough that porting code from one to another is pretty easy.
>
> If you are interested in making your own MSP externals, I’d recommend
> Java. It’s a *lot* easier to program MSP objects in Java than C, and
> the performance hit is in many cases negligible.
>
> Ben
>


June 11, 2007 | 8:28 am

there wll be a great course on programming max objects at goldsmith
college uk london this summer!
worth a look!

http://www.goldsmiths.ac.uk/ems/

cheers

t.

On Jun 11, 2007, at 1:13 AM, Robert wrote:

> I’m about to spend a lot of time this summer learning C, C++, or Java
> (and probably all three), with the aim of writing my own MAX objects.
> However, I’m still unsure which language to use for this. Can MAX
> objects be written in any of these languages? I couldn’t find any info
> about this in the documentation…. And if so, which one is the most
> widely used?
>
> Thanks so much!
>
> Robert
>


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