Forums > Javascript

Simple JavaScript Question

March 19, 2008 | 11:11 am

Hi all.

I have used JavaScript quite a lot in my web development but i cant find any explanations on the net as to the basics of JavaScript within Max MSP.

All i want to know is how to set up the inlets and outlets etc once i get this I can apply my JS knowledge to it fine.

If anyone could point me in the direction of a tutorial or give me a simple example of how to e.g set a number coming into the js object to a variable, perform a simple math function on that variable and then send it out the outlet i would much appreciate it.

Cheers!!

Adam


March 19, 2008 | 11:31 am

On 19 mars 08, at 12:11, Adam Chambers wrote:

> I have used JavaScript quite a lot in my web development but i cant
> find any explanations on the net as to the basics of JavaScript
> within Max MSP.

It should be on your computer. There is a PDF called "JavascriptInMax"
installed with the other manuals.
You can also find JS examples in the examples/javascript folder.

p

_____________________________
Patrick Delges

Centre de Recherches et de Formation Musicales de Wallonie asbl

http://www.crfmw.be/max


March 19, 2008 | 4:09 pm

Oh yea! I new about the examples but that PDF is perfect didnt even think to look there.

Brilliant mate thanks a lot.

Adam


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