Sending data from pure dara into Max

    MaxMSPbeginner

    vab s's icon
    vab s's icon
    vab s
    Mar 22 2019 | 3:04 pm
    hello community! anyone know how to send data from pure dara into Max?
    thanks!

    • yaniki's icon
      yaniki's icon
      yaniki
      Mar 22 2019 | 3:16 pm
      Depends on the nature of your data and general context you can use protocols such as OSC (OpenSound Control), MIDI, Syphon (for realtime video sharing), Jack or similar solutions for audio streams.
      More possibilities exists, depends on your needs.
      Btw. there is a PureData version compiled as Max external.
      Share
    • vab s's icon
      vab s's icon
      vab s
      Mar 22 2019 | 3:20 pm
      just numbers, floating points from 0 to 1
    • yaniki's icon
      yaniki's icon
      yaniki
      Mar 22 2019 | 3:23 pm
      Ok, so OSC will be probably the simplest way to do that. Both Max and PD are able to send/receive basic OSC messages with build-in objects.
      On Max side check: [udpsend] and [udpreceive] objects and on Pd side [oscformat] and [oscparse].
    • vab s's icon
      vab s's icon
      vab s
      Mar 22 2019 | 3:34 pm
      ooh now it's clear) thank you!
    • OCH's icon
      OCH's icon
      OCH
      Dec 05 2020 | 9:28 pm
      @Yaniki can you post an example?
      Unfortunately this is only way I've been able to make it work. Can't do it without the -b flag on pd side.
      udp data from max to pd
      udp data from max to pd
    • OCH's icon
      OCH's icon
      OCH
      Dec 05 2020 | 11:12 pm
      Also, just posted about the other way around here.
    • yaniki's icon
      yaniki's icon
      yaniki
      Dec 06 2020 | 12:18 pm
      Hello Omar
      Here is a simple example. There are many advantages to using OSC formatted messages, including simple data routing.
      Good luck ;-)
      example.zip
      application/zip 5.99 KB
    • OCH's icon
      OCH's icon
      OCH
      Dec 07 2020 | 3:00 am
      Thanks Yaniki. The example from pd to max is very helpful. And so I realize you also have to always use the -b flag.
      Best