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

Chapter 6. Low-level Patching in Gen

We are now going to dive into the world of Gen. By the end of this chapter, we will be able to create very efficient external-like objects that can be reused and exported to other kinds of code such as GLSL and C++. In fact, Gen patches are like regular patches, but they get converted to text-based code and compile right away to more efficient code. We could say that Gen patches are some strange objects that are somewhere between a subpatch, an abstraction, and an external written in C++. However, besides the advantages regarding performance, there is another big advantage on the audio side of Gen. We can use single sample delays that feature feedback, which is a problem in the MSP domain. Therefore, in this chapter, we will concentrate on examples that require short delays that feature feedback such as filters and physical modeling. Since this book proposes to use Max/MSP for audio and TouchDesigner for video generation, we will emphasize on the audio...