Sending a bang with a pack and UDPSend .

christopher howat's icon

Hello, I am currently working on a project and am having trouble working out how I would send individual bangs with a Pack over a UDPSend. It works fine without the pack object but I am trying to avoid using many different UDPSends and Receives. Any help would be appreciated, thanks!

Source Audio's icon

I am having trouble understanding that so unclear question.
What is individual bang ?
And why would one pack bangs ?
I could imagine what You are after , but have no time
for guessing arround.

christopher howat's icon

Sorry for the confusing explanation, I am very new to Max. I have attached what I am trying to do. The idea is a voting system between two PCs running Max. The bang messages should activate the counter on PC 2. Thanks!

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

ShelLuser's icon

Hover your mouse over the pack input(s) and check what it's expecting to get. Better yet: open the reference manual (control-shift-r) and read more about the pack object in there. Well, either that or the sidebar reference of course which is much more convenient (meh... why can't you open that with one keypress? control-i opens the info pane, control-c the console (all sidebar) but I can't seem to open the reference sidebar like this).

In short: if you send a bang into a pack object then it'll output its stored list.

Instead I'd use this something like this:

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

I didn't copy all your counters because that would take me too much time (no offense) but since the problem was sending a bang across the network.... well, this solves that issue.

Hope this can help and give you some new ideas!

christopher howat's icon

Ah that's exactly what I needed, thank you so much!