Manual conversion of a PD patch in Max/MSP

Sep 24, 2007 at 3:06pm

Manual conversion of a PD patch in Max/MSP

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

#33788
Sep 24, 2007 at 3:21pm

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
>

#113060
Sep 24, 2007 at 3:35pm

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

#113061
Sep 24, 2007 at 3:53pm

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
>

#113062
Sep 24, 2007 at 3:54pm

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.

#113063
Sep 27, 2007 at 9:48am

ok, thanks a lot…

Anyone have an other idea?

#113064
Sep 27, 2007 at 12:09pm

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.

#113065
Sep 28, 2007 at 7:27am

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

#113066
Sep 28, 2007 at 7:35am

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

#113067
Sep 28, 2007 at 8:29am

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

#113068

You must be logged in to reply to this topic.