Forums > MaxMSP

Max data structures / tips on making an object-oriented patch?

August 31, 2006 | 9:15 pm

It seems to me that Max is an inherently procedure-oriented language, but I have many ideas for patches that beg to be developed in an object-oriented fashion. Does anyone have any tips for achieving more advanced data structures in Max?


September 1, 2006 | 12:49 am


September 1, 2006 | 9:34 am

i am with jeanfrancois; as soon as you make small abstractions
they can be your personal "object oriented" modules.
(or our, if you share them)

it starts to become real fun when you make bpatchers:

http://videosoup.org/fw110/_max/VST_LCD_DEMO.toast

http://perso.orange.fr/Paresys/ARGO/

-110


September 3, 2006 | 7:08 am

adam wrote:
> It seems to me that Max is an inherently procedure-oriented language

Ah, and I believed for almost 20 years it is an inherently object
oriented language. (draggin objects all around… ;-)

There was a discussion about this kind of classification on the list
some time ago, worth reading…

> but I have many ideas for patches that beg to be developed in an
> object-oriented fashion. Does anyone have any tips for achieving
> more advanced data structures in Max?

What are you missing?

You could do any advanced stuff if you’d need it. When I switched from
Modula II to Max I was missing local variables, but you could have
something like that with #0_names. I still miss local variables, but for
aesthetic reasons, I don’t need them…

All the classical object oriented stuff could be incorporated with mxj
and Java by the way… (but then you move back to an ancient way of
programming again… ;-)

Stefan


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


September 3, 2006 | 7:25 am

Stefan : local variables? value and pvar no?

v a d e //

http://www.vade.info
abstrakt.vade.info

On Sep 3, 2006, at 3:08 AM, Stefan Tiedje wrote:

> adam wrote:
>> It seems to me that Max is an inherently procedure-oriented language
>
> Ah, and I believed for almost 20 years it is an inherently object
> oriented language. (draggin objects all around… ;-)
>
> There was a discussion about this kind of classification on the
> list some time ago, worth reading…
>
>> but I have many ideas for patches that beg to be developed in an
>> object-oriented fashion. Does anyone have any tips for achieving
>> more advanced data structures in Max?
>
> What are you missing?
>
> You could do any advanced stuff if you’d need it. When I switched
> from Modula II to Max I was missing local variables, but you could
> have something like that with #0_names. I still miss local
> variables, but for aesthetic reasons, I don’t need them…
>
> All the classical object oriented stuff could be incorporated with
> mxj and Java by the way… (but then you move back to an ancient
> way of programming again… ;-)
>
> Stefan
>
> —
> Stefan Tiedje————x——-
> –_____———–|————–
> –(_|_ —-|—–|—–()——-
> — _|_)—-|—–()————–
> ———-()——–www.ccmix.com
>


September 6, 2006 | 1:13 pm

vade wrote:
> Stefan : local variables? value and pvar no?

It was in the past more about the name space and by the way thats now
solved with the pattr family, especially pattrforward. Local variables
combined with accessability across patchers. Just the pattrbackward is
missing… ;-)
The local variable is the object name…

Stefan


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


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