Forums > MaxMSP

Preload (interface) patches in background. How?

August 13, 2008 | 2:31 pm

For an user interface I want to preload some patches in the background, while playing some kind of movie in the front.
This so I can smoothly let the loaded files pop up in the front when the movie is finished, and also to actively use them.
But whatever I try, I always see the patch popping up in the front for a millisecond.
I read about this message a while ago that loads a file but not actually opens a window, what was it again, and who has more experience with this?

Kind regards,
Bas


August 13, 2008 | 7:25 pm

Bas schrieb:
> For an user interface I want to preload some patches in the
> background, while playing some kind of movie in the front. This so I
> can smoothly let the loaded files pop up in the front when the movie
> is finished, and also to actively use them. But whatever I try, I
> always see the patch popping up in the front for a millisecond. I
> read about this message a while ago that loads a file but not
> actually opens a window, what was it again, and who has more
> experience with this?

You could load it into a poly~ with the patchername message, and only
open windows after the movie is done… (works only in Max 5)

But how big is your patch, that it needs that long to load? If its
because of samples or data, just trigger the loading of those after you
started the movie…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


August 14, 2008 | 8:12 am

Hello Stefan,

Thanks for your reply. I’ve never worked with poly before, and don’t quite understand how to use it. I tried to apply it, but get the same effect as with a normal patcher.

I want to load some patches while the movie (in a patch) is playing in the foreground. Some of these patches are going to be used later on, and should already be the right size, notitle, etc. so I can just call them to the front.
Other patches that are loaded should generate information in colls while the movie is playing, and never go to the foreground. Then when the movie is finished, some kind of start screen should be displayed.

If you have time for it, could you make a small example using poly to have one patch in the foreground and load other patches in the background?

Anyone else knows how to load a file without opening a window? I know it exists, but forgot the name…

Kind regards,
Bas


August 14, 2008 | 7:12 pm

I would be interested too.


August 18, 2008 | 5:45 am

Bas schrieb:
> Thanks for your reply. I’ve never worked with poly before, and don’t
> quite understand how to use it. I tried to apply it, but get the same
> effect as with a normal patcher.

I was thinking of the patch below, but it will drop the fps to 0 for an
instant while loading/opening a big patcher (small ones seem to be
fine). Maybe you should ask this on the jitter forum…

– Pasted Max Patch, click to expand. –

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com


Viewing 5 posts - 1 through 5 (of 5 total)