[PD] Image in a patch?

Roman Haefeli reduzierer at yahoo.de
Sun Mar 14 14:58:05 CET 2010


On Sun, 2010-03-14 at 14:32 +0100, Pierre Massat wrote:
> Hi all!
> 
> I'd like to make a simple audio program for very young kids, something
> to train them at identitying sounds (like "meow!" --> cat). The audio
> part won't be a problem, but i not sure what i can do graphically with
> Pd (i ve used it for sounds only). For now i just need a way to embed
> images in my patch, so that the kids can click on the right animal
> when they hear it. As far as i know GEM is not what i'm looking for
> since everything is displayed in another window (and there can be more
> than one apparently). All i need is just a simple control with a
> texture, or just a canvas with an image in it. Is this possible at all
> in Pd? 
> Any hint? 

There is [ggee/image] which can display .gif .ppm and .pgm images. You
could cover some iemgui object with [image] in order to make it
'clickable'. 

Personally, I wouldn't abandon the Gem idea too quickly, since with Gem
you could have only one window in fullscreen mode, with even more
control, since it grabs mouse and keyboard events makeing it less likely
to accidently switch window or into editmode or trigger any other pd
shortcut. Also you have more freedom in the graphical design and
behavioural decisions. For instance, you could animate the displayed
objects when clicked. 

Roman








More information about the Pd-list mailing list