Forums > MaxMSP

scripting

February 20, 2009 | 7:22 pm

OK, dumb question time.

Following on from the recent discussion about multiple audio outs from
poly~, I thought that I would finally have a proper look at scripting.
I had a look for scripting in the docs, and what comes up is
javascripting. Is this the same thing? I seem to remember from the
last time I started looking at this, that scripting was somewhat
easier than a cursory glance at the javascript docs suggests.

thanks

David


February 20, 2009 | 7:44 pm

For scripting, look into [thispatcher] help and reference.
With javascript, you can do that and more. But scripting with thispatcher is a good start. When you are stuck, or if you already know javascript or a text-based language, try javascript.

Note that when you use a script (whether through thispatcher or javascript), if you create/delete an audio object, the audio net has to be re-built, that means you will get a click, an interruption of the audio.

J-F.


February 20, 2009 | 8:55 pm

Thanks J-F,

I’ve found the scripting info inside the thispatcher folder now. As
all I want to do is connect audio from [*~ ]s to specific [out~ ]s
based on the poly~ instance, it looks like basic thispatcher scripting
will do the job.

thanks again

David

On 20 Feb 2009, at 19:45, Jean-Francois Charles wrote:

>
> For scripting, look into [thispatcher] help and reference.
> With javascript, you can do that and more. But scripting with
> thispatcher is a good start. When you are stuck, or if you already
> know javascript or a text-based language, try javascript.
>
> Note that when you use a script (whether through thispatcher or
> javascript), if you create/delete an audio object, the audio net has
> to be re-built, that means you will get a click, an interruption of
> the audio.
>
> J-F.


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