Making Max/MSP tools using C++, C#, Java?

wootowl's icon

I've been looking for an XML parser for Max/MSP but I've only found 2, one you have to pay for, and one that I can't get working. So I want to create my own.

I already know C++ and C#, I don't know java so much but it really isn't that difficult to learn.

Basically I am looking to make an XML parser in one of these languages, then turn it into an object in Max/MSP.

I have no idea how to go about doing this. Can anyone direct me to some resources that explain how to code in C++/C#/Java and use that code in Max/MSP?

vade's icon

what XML parsers are you using.

have you seen Jasch's?

v a d e //

www.vade.info
abstrakt.vade.info

On Sep 18, 2006, at 4:00 PM, wootowl wrote:

>
> I've been looking for an XML parser for Max/MSP but I've only found
> 2, one you have to pay for, and one that I can't get working. So I
> want to create my own.
>
> I already know C++ and C#, I don't know java so much but it really
> isn't that difficult to learn.
>
> Basically I am looking to make an XML parser in one of these
> languages, then turn it into an object in Max/MSP.
>
> I have no idea how to go about doing this. Can anyone direct me to
> some resources that explain how to code in C++/C#/Java and use that
> code in Max/MSP?

vade's icon
nick rothwell | project cassiel's icon

On 18 Sep 2006, at 13:42, vade wrote:

> have you seen Jasch's?

I don't know what Jasch has done (and I'm not online right now so
can't check), but it's not too difficult to whip something up using
Dom4j under MXJ (and using Jaxen for XPath queries).

Perhaps I should knock together a quick demo, depending on what Jasch
has covered already...

    -- N.

nick rothwell -- composition, systems, performance -- http://
www.cassiel.com

Wesley Smith's icon

It's called detox.

wes

On 9/18/06, Gary Lee Nelson wrote:
>
> Downloaded the objects but did not see a parser for XML. What's it called?
>
>
>
> On 9/18/06 4:42 PM, "vade" wrote:
>
>
>
> what XML parsers are you using.
>
> have you seen Jasch's?
>
> http://jasch.ch
>
>
> v a d e //
>
> www.vade.info
> abstrakt.vade.info
>
>
>
>
> Cheers
> Gary Lee Nelson
> Oberlin College
> www.timara.oberlin.edu/GaryLeeNelson
>
>
>
>

pdelges's icon
wootowl's icon

I tried Jasch, I can't get their demo files working, says ERROR whenever it tries to load one

error is: loading old CFM externals disabled

Wesley Smith's icon

You have to install CFM support or you can download the beta version
of the UB Jasch objects from his site.

wes

On 9/18/06, wootowl wrote:
>
> I tried Jasch, I can't get their demo files working, says ERROR whenever it tries to load one
>
>
> error is: loading old CFM externals disabled
>

Emmanuel Jourdan's icon

On 19 sept. 06, at 00:48, Wesley Smith wrote:

> You have to install CFM support or you can download the beta version
> of the UB Jasch objects from his site.

Tim Place have also some xml tools in his TapTools :
tap.xml.sax*
tap.xml.write
tap.xml.parse
tap.xml.attributes

Best,
ej

Joshua Kit Clayton's icon

On Sep 19, 2006, at 1:00 PM, wootowl wrote:

> JS object?

JavaScript.

> Finding XML parsing code in C++ or Java isn't really my dilemma,
> using it in Max/MSP is.

Again, here, the pertinent developer docs and examples should help
you out. Specifically for the JS object, see JavascriptInMax.pdf

If you're still confused about working with these entities in Max,
you might need to spend more time with the tutorials and examples in
general.

-Joshua

wootowl's icon

Quote: Emmanuel Jourdan wrote on Tue, 19 September 2006 03:26
----------------------------------------------------
> On 19 sept. 06, at 00:48, Wesley Smith wrote:
>
> > You have to install CFM support or you can download the beta version
> > of the UB Jasch objects from his site.
>
> Tim Place have also some xml tools in his TapTools :
> tap.xml.sax*
> tap.xml.write
> tap.xml.parse
> tap.xml.attributes
>
> Best,
> ej
>
>
>
----------------------------------------------------

They cost $$ though...

Emmanuel Jourdan's icon

On 19 sept. 06, at 18:30, wootowl wrote:

> They cost $$ though...

Yep. but it's a huge package with many powerful and easy to use
externals.

ej

Joshua Kit Clayton's icon

Yet another thing for you to consider:

Should be easy to get working in the JS object.

-Joshua

wootowl's icon

Quote: jkc wrote on Tue, 19 September 2006 11:02
----------------------------------------------------
>
> Yet another thing for you to consider:
>
> http://xmljs.sourceforge.net/
>
> Should be easy to get working in the JS object.
>
> -Joshua
>
----------------------------------------------------

JS object?

Finding XML parsing code in C++ or Java isn't really my dilemma,

using it in Max/MSP is.

Darwin Grosse's icon

Go to the Max/MSP download page, get the Max/MSP Software Development Kit,
then start reading and coding. That's what you do for C coding. If you want
to use Java, kick into the java-docs distributed with the Max/MSP. In
either case, if you are an experienced coder, you should find your way.

[ddg]
Darwin Grosse