Forums > Dev


Mar 31 2011 | 12:21 pm

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

Mar 31 2011 | 1:14 pm

What is its purpose?

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

Mar 31 2011 | 1:35 pm

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.


Mar 31 2011 | 7:09 pm

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.

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

Forums > Dev