Forums > MaxMSP

Manual conversion of a PD patch in Max/MSP

September 24, 2007 | 3:06 pm

Hello,

I must to convert a PD patch in Max/MSP but I have a problem…

In Max/MSP, if an object’s outlet is connected to several destinations, corresponding messages are always sent in right-to-left screen order. But in Pd, the messages are sent in the order you made the connections in.

How then I do to know the order in which objects were placed?

Thanks a lot!!!

Claudio Cunha

Online


September 24, 2007 | 3:21 pm

Hi,

I think you could look at the pd file, opening it as a text file.

Ask on the pd mailing list … ;-)

All the best


Alessandro Fogar

http://www.fogar.it

2007/9/24, Cunha Claudio :
>
> Hello,
>
> I must to convert a PD patch in Max/MSP but I have a problem…
>
> In Max/MSP, if an object’s outlet is connected to several destinations, corresponding messages are always sent in right-to-left screen order. But in Pd, the messages are sent in the order you made the connections in.
>
> How then I do to know the order in which objects were placed?
>
> Thanks a lot!!!
>
>
> Claudio Cunha
>
> Online
>
> –
> C.Cunha
>


September 24, 2007 | 3:35 pm

But, I have opened the file in text and I don’t see where is the order of the objects.

Can you give me more precise details?

Thanks for have to reply me…

Claudio Cunha


September 24, 2007 | 3:53 pm

Claudio,

no, sorry, I don’t know, I think you should ask this question on the
pd mailing list.

All the best


Alessandro Fogar

http://www.fogar.it

2007/9/24, Cunha Claudio :
>
> But, I have opened the file in text and I don’t see where is the order of the objects.
>
> Can you give me more precise details?
>
> Thanks for have to reply me…
>
>
> Claudio Cunha
> –
> C.Cunha
>


September 24, 2007 | 3:54 pm

Cunha Claudio skrev:
> In Max/MSP, if an object’s outlet is connected to several destinations, corresponding messages are always sent in right-to-left screen order. But in Pd, the messages are sent in the order you made the connections in.
>
> How then I do to know the order in which objects were placed?
Gulp,
that’s a mighty interesting question there!

I’d love to know the answer too.

Andreas.


September 27, 2007 | 9:48 am

ok, thanks a lot…

Anyone have an other idea?


September 27, 2007 | 12:09 pm

In a serious patch, if an outlet is directly connected to several things, then the execution order is not supposed to be important.

If the order is important, there should be something like [trigger] or [unpack] for making the connection.


September 28, 2007 | 7:27 am

Cunha Claudio schrieb:
> Hello,
>
> I must to convert a PD patch in Max/MSP but I have a problem…
>
> In Max/MSP, if an object’s outlet is connected to several
> destinations, corresponding messages are always sent in right-to-left
> screen order. But in Pd, the messages are sent in the order you made
> the connections in.
>
> How then I do to know the order in which objects were placed?

You should just understand what the order should be… ;-)
Officially there is no order in Pd, if you want an order in Pd you have
to place a trigger object. Just assume the order isn’t important if
there is no trigger.
It’s a good advice also for Max programmers to always place a trigger
object if the order matters… For Pd programmers it’s a must…

So you don’t have a problem, you would have a (easy solvable) problem,
if you’d need to convert the other way around…

Stefan


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


September 28, 2007 | 7:35 am

Andreas Wetterberg schrieb:
> Cunha Claudio skrev:
>> How then I do to know the order in which objects were placed?
> Gulp,
> that’s a mighty interesting question there!
>
> I’d love to know the answer too.

The text format of Max and Pd is pretty similar. In Max the objects
placed last, appear first. I think in Pd it’s the same…

Stefan


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


September 28, 2007 | 8:29 am

also, if it gets really big/ugly and don’t know what is happening
first you can use the trace function in max.

it has also happened to me that the right to left order gets buggy and
the trace object helps see the order to correct it.

I agree trigger is the best way.

j

On 9/28/07, Stefan Tiedje wrote:
> Andreas Wetterberg schrieb:
> > Cunha Claudio skrev:
> >> How then I do to know the order in which objects were placed?
> > Gulp,
> > that’s a mighty interesting question there!
> >
> > I’d love to know the answer too.
>
> The text format of Max and Pd is pretty similar. In Max the objects
> placed last, appear first. I think in Pd it’s the same…
>
> Stefan
>
> –
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>
>
>


Jaime E Oliver LR

joliverl@ucsd.edu
http://www.realidadvisual.org/jaimeoliver
www-crca.ucsd.edu/
http://www.realidadvisual.org

9168 Regents Rd. Apt. G
La Jolla, CA 92037
USA


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