Book Image

Multimedia Programming Using Max/MSP and TouchDesigner

By : Patrik Lechner
Book Image

Multimedia Programming Using Max/MSP and TouchDesigner

By: Patrik Lechner

Overview of this book

Max 6 and TouchDesigner are both high-level visual programming languages based on the metaphor of connecting computational objects with patch cords. This guide will teach you how to design and build high-quality audio-visual systems in Max 6 and TouchDesigner, giving you competence in both designing and using these real-time systems. In the first few chapters, you will learn the basics of designing tools to generate audio-visual experiences through easy-to-follow instructions aimed at beginners and intermediate. Then, we combine tools such as Gen, Jitter, and TouchDesigner to work along with Max 6 to create 2D and 3D visualizations, this book provides you with tutorials based on creating generative art synchronized to audio. By the end of the book, you will be able to design and structure highly interactive, real-time systems.
Table of Contents (19 chapters)
Multimedia Programming Using Max/MSP and TouchDesigner
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Sending and receiving data


We got a whole range of objects for this purpose, and [notein] is just one of them. In the following screenshot, you can see the most common objects in that regard:

In the preceding patcher, getting_data_into_max.maxpat is presenting us with some possibilities if we want to communicate with our patchers. Very often, we will need MIDI, but the use of Open Sound Control (OSC) is increasing for good reasons; it has the potential to be faster, has a higher resolution (no limit of 7-bit messages, that is 0 to 127), and we don't need to remember that we sent the filter cutoff on CC 84 on channel 13 because the message simply might be /synth1/filter/cutoff 1000. For OSC communication over the network or locally between applications, we use [udpsend]. We'll use it later a lot also to communicate between Max and TouchDesigner. The [serial] object is used to do serial communication obviously. While USB stands for Universal Serial Bus, standard USB devices won't work unless...