-
Book Overview & Buying
-
Table Of Contents
Multimedia Programming with Pure Data
By :
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...
Change the font size
Change margin width
Change background colour