Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Multimedia Programming with Pure Data

You're reading from  Multimedia Programming with Pure Data

Product type Book
Published in Jul 2013
Publisher Packt
ISBN-13 9781782164647
Pages 350 pages
Edition 1st Edition
Languages
Author (1):
Bryan, Wai-ching CHUNG Bryan, Wai-ching CHUNG
Profile icon Bryan, Wai-ching CHUNG

Table of Contents (17) Chapters

Multimedia Programming with Pure Data
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Started with Pure Data 2. Computer Graphics with the GEM Library 3. Image Processing 4. Interactivity 5. Motion Detection 6. Animation with Particle System 7. Audio Programming 8. Interface with the Outside World 9. Extending Pure Data Communities and References Index

Working with time


The effects we have learned so far work with spatial arrangement in a frame. There are a few objects in GEM to facilitate us to work with frame in the time domain. For example, the following patch can delay the playback of a frame. It is the pix_delay object. The parameter in the right inlet is the number of delayed frames.

GEM also has another group of objects to store and retrieve images. They are the pix_buffer, pix_buffer_read, and pix_buffer_write objects. Imagine that you can define a number of empty boxes by using the pix_buffer object. Once the boxes are ready, you can deposit image frames onto the empty boxes using pix_buffer_write. When you need the frames, you can retrieve them by pix_buffer_read. In the following example, We define a buffer named temp of size 1 frame to store the image:

The pix_buffer temp 1 object defines a pixel buffer temp of size 1 frame. The pix_buffer_write object receives the image frame from pix_video. Note that the pix_buffer_write object...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}