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

The Gen workspace


Let's now take a look at an actual Gen patcher. If we create a new Max patch, then create a new Gen object, [gen~] as an audio example, and double-click on it; we can edit the contents of the Gen patcher. Something similar to the following screenshot will pop up:

First of all, let's cover the GUI. You should be familiar with most of it, since it's the same for a regular Max patcher. In the toolbar at the bottom, we find the following three new symbols:

  • The reset button

  • The compile button

  • The auto-compile button

The reset button is particularly handy if we deal with feedback. Digital systems that feature feedback need some kind of delay, and feedback systems can blow up. Resetting means we zero all delay buffers, so any circulating infinities or Not a Number (NaN) values are eliminated. Also, all parameters are reset to their default values (we'll come to parameters in a second).

The compile button is only available if we changed something about the Gen patch and had auto-compile...