receive

Mar 31, 2011 at 12:21pm

receive

hi
i was asking this in a different thread already.
how do i code a receive?

one of the things i would like to have as an external instead of an abstraction is the follwing, because i need it thousands of times..:

– Pasted Max Patch, click to expand. –

thanks for any help
klaus

#55935
Mar 31, 2011 at 1:14pm

What is its purpose?

Why do you need thousands of instances of [receive]?

#200973
Mar 31, 2011 at 1:35pm

well its about the parameter system in ppooll.
where i can receive a parameter anywhere with
[r ::windowname::parametername]
(i don’t want to use pattr here!)

the according sends are created at the outlet
of a pattrstorage @outputmode 1.

but the question is really more basic:
how do we write a receive in C?
i cannot find this in the MaxAPI.

klaus

#200974
Mar 31, 2011 at 7:09pm

Coding a send in C is pretty straight forward, as you probably know.

I think the approach to programming a custom receive would involve building an invisible object that binds itself to a symbol, and standard newobj-type objects that register themselves with your invisible object using the notification API.

But that’s just a quick guess. Someone from C74 can give a more authoritative answer.

#200975

You must be logged in to reply to this topic.