receive

klaus filip's icon

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

Max Patch
Copy patch and select New From Clipboard in Max.

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..:

thanks for any help
klaus

anthony.s.g.evans's icon

What is its purpose?

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

klaus filip's icon

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

Peter Castine's icon

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.