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..:
----------begin_max5_patcher---------- 602.3oc0VssiaBCD8Y3qvxU8M5JrMPt7V+NZVUQfIabEXGgcZS6p8euFafjz RPPx1TkGhs7vjYlyYtX+puGds7.nvnknuf77d02yyJpVfWyYObY5grhTkUMb lrrDDZbf6aZ3f1JOciFpPbMpBx.92gbjdKfRyzhzRHXkv7krsohW.Epfqzff KdAokHkrDzaMGVIfBErr0vEbAjI2KrVm0HbWEnLNOUykhuZbj1E4znnmBCPT 1r5svlEzyM+Kw9Rtn.zV.PZMUpNq1smYFh0LTq0HKn0aQyOwR7bKVkq+1mHg sQ5FovBR6m9bEOs.ezwx85VOGdh9J9ur5SL9nV5a990KA2XRXCuR0kAPbEZs gAyqo4U3lTwJLdpzRrkHHImRKzv9okE+GYEmUmJ7hXIV.k31haW6CcyFFCso kZ0wWA.DvOLd4uxpExz7RPoPefLUvwb0xz41lhYKFJ0kL0TWqechz+bG3bJF 2Y92gr5EHE0tJtPuAo.MZ4xOpp+0K6PGnxlYoEVnctAgvFhdhennmJiW6F+N 4NdGuPCcaM8DWfWhlJuPuHuDbe3FysH6.yXQ0zGVPSbkJTaoxrngHF1CUAS2 PlqslwwLyW3ZkHCwLzGqVoqr8o6BygnBx8kJr5Xea0e7nOKLpkeN+nj6qxZ8 PS2Nhz4obPo4B6ywNQGysjnifcKOOGDmdMYIOemzL7tIDPO2atZrQT7Ydq+H hLsHhxV7Tr4dgH27OROmHwMO473oaDGIi.Gwmw9+qY1nQFQ2ubMYDQTzcMhX u+Ue2XDQGQDwtgHxb3M+e69ANQB -----------end_max5_patcher-----------
thanks for any help
What is its purpose?
Why do you need thousands of instances of [receive]?
well its about the parameter system in ppooll.
where i can receive a parameter anywhere with
(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.
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.