Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From maxmsp to browser #71

Open
robthepaper opened this issue Jul 4, 2023 · 1 comment
Open

From maxmsp to browser #71

robthepaper opened this issue Jul 4, 2023 · 1 comment

Comments

@robthepaper
Copy link

Hello,
the Example: OSC between MaxMSP/PD/SC etc. and your browser, works.
It let us send from browser to maxmsp (UDP)
but I can't figure out how to send from Maxmsp to browser.

Does anyone know how to?

@adzialocha
Copy link
Owner

adzialocha commented Jul 11, 2023

Hi @robotpapier! I assume you're using the BridgePlugin? In MaxMSP I think one needs to use the udpsend object which should use the BridgePlugin UDP server as an endpoint.

The communication looks like that:

1. [Browser WebSocket Client]    --WebSocket-->  [Bridge WebSocket Server]
2. [Bridge UDP Server]           -----UDP----->  [MaxMSP / UDP Client `udpreceive`]
3. [MaxMSP] `udpsend` UDP Client -----UDP----->  [Bridge UDP Server]

The default ports are:

  • UDP Client: 41235
  • Bridge UDP Server: 41234
  • Bridge WebSocket Server: 8080

Can you share the ports you're using? Did you try different ones as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants