Book Image

Multimedia Programming with Pure Data

By : Bryan, Wai-ching CHUNG
Book Image

Multimedia Programming with Pure Data

By: Bryan, Wai-ching CHUNG

Overview of this book

Preparing interactive displays, creating computer games, and conducting audio-visual performance are now achievable without typing lines of code. With Pure Data, a graphical programming environment, creating interactive multimedia applications is just visually connecting graphical icons together. It is straightforward, intuitive, and effective. "Multimedia Programming with Pure Data" will show you how to create interactive multimedia applications. You will learn how to author various digital media, such as images, animations, audio, and videos together to form a coherent title. From simple to sophisticated interaction techniques, you will learn to apply these techniques in your practical multimedia projects. You start from making 2D and 3D computer graphics and proceed to animation, multimedia presentation, interface design, and more sophisticated computer vision applications with interactivity. With Pure Data and GEM, you will learn to produce animations with 2D digital imagery, 3D modelling, and particle systems. You can also design graphical interfaces, and use live video for motion tracking applications. Furthermore, you will learn Audio signal processing, which forms the key aspect to multimedia content creation. Last but not least, Network programming using Pure Data extension libraries explores applications to other portable devices.
Table of Contents (17 chapters)
Multimedia Programming with Pure Data
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Preparing a video-jockey instrument


In this section, we are going to create a simple video controller tool that is similar to common video jockey equipment that mixes videos and applies effects in real time. Take a look of what we have done in the Chapter 3, Image Processing, when we worked with digital video with pix_film.

If we want to change the video playing, we have to click on the open message. When we are working in a live performance, we would like the audience to immerse into the visual imagery. It is not a good idea to switch back and forth to the patch window to click on the messages. In this case, we can make use of the keyboard object, such as the gemkeyboard.

In the patch, we have assigned the numeric keys, 1, 2, and 3 to select different videos for playback. If we repeatedly press the same key, we will notice that the same video will playback from beginning again and again. In some applications, you may not want this. To handle it, we introduce another object—change.

The change...