[PD] Problem with memory use
Jack
jack at rybn.org
Fri Sep 11 14:41:52 CEST 2009
Very simple,
1st you load your pictures in the buffer at a certain place (the second
$1 in the message [open() with [pix_buffer]. You give a name and a size
for the buffer, here 'depot' and '10' (because you load 10 pictures).
2nd you use the pictures loaded with [pix_buffer_read]. You send a
number in the second inlet to reach the picture you want (so here a
number between 0 and 9 for the 10 pictures).
++
Jack
Le jeudi 10 septembre 2009 à 15:10 -0500, enrique franco a écrit :
> Hi Jack,
>
> It works!!! Can you explain how does the pix_buffer work?
>
> Thank you very much,
>
> Enrique
>
> On Thu, Sep 10, 2009 at 12:53 PM, Jack <jack at rybn.org> wrote:
> Can you try something like that ?
> And tell us if there is some news ;)
> ++
>
> Jack
>
>
> Le jeudi 10 septembre 2009 à 11:40 -0500, enrique franco a
> écrit :
>
> > Hi,
> >
> > I am attaching a patch with the images I load. If you check
> the
> > activity monitor you will see that it takes almost all the
> RAM memory
> > after a while.
> >
> > To run it, just create the Gem window and start the metro.
> >
> > Is this a problem with PD or GEM itself, or is there
> anything wrong
> > with the patch? Is there a way to empty the buffer?
> >
> > I am on MAC OS 10.5.2, Imac 2.4 GHz Intel Core 2 Duo, 1GB,
> Pd version
> > 0.41.4-extended, Gem 0.91.3 compiled jun5 2009.
> >
> > Enrique
> >
> > --
> > Enrique Franco
> > Telefono/Phone: +572 5552334 ext 388
> > Webpage: http://richie.idc.ul.ie/~enrique/
> >
>
> > _______________________________________________
> > Pd-list at iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
> --
> Enrique Franco
> Telefono/Phone: +572 5552334 ext 388
> Webpage: http://richie.idc.ul.ie/~enrique/
>
More information about the Pd-list
mailing list