O'Reilly logo

Multimedia Programming Using Max/MSP and TouchDesigner by Patrik Lechner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting Max and TD

We can use Max to analyze audio to send the data to TD, or even better, if we generate audio in Max, we can just send the data generating the audio to TouchDesigner. There is no need to do FFT on a stereo sum if we can just get the parameters of a synth directly. Things such as BPM detection or fundamental pitch estimation are possible if we don't have the data directly, but they are, of course, a bit unreliable and unstable.

First, let's look at how Max and Touch can communicate. The weapon of choice here is UDP/OSC. User Datagram Protocol (UDP) is a protocol that is part of the transport layer of the OSI model. Compared to Transport Control Protocol (TCP), it has the advantage of being faster and the disadvantage of being ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required