loading pathes dynamically in max …

Jul 13, 2011 at 10:43am

loading pathes dynamically in max …

Hi,

I have several subpatches in my max patch running simultaneously, and this peaks my cpu. So what is the best strategy? Should I create a max patch, where I load each subpatch dynamically? The problem here is that I would like to crossfade between two subpatches that each has its own syntehsis algorithm …

Also, it looks like if I don’t trigger all the sounds in all the subptaches on a regular basis, the cpu goes up, while it stabilizes on a lower point when I trigger all sounds on a regular basis … how come?

Thanks for adding of your own experiences and throughs to this post – this is of great help for me, who is a bit new to max …

K

#58001
Jul 13, 2011 at 11:03am

Have you had a look at the mute~ object?
Also Alex Harker also has an object that can load patches dynamically in his suite of objects released recently.
As for crossfading, maybe somehow delay/loop the output of the muted subpatch while crossfading it with the newly -loaded /unmuted patch…

#208196
Jul 13, 2011 at 12:25pm

Hi, and thanks for the advice, Ihave now downloaded and tried out the Alex Harker objects … I don’t seem to get any sound output … (perhaps it is because it works differently than bpatcher?)

K

See main patch and the two loaded patches … do I use it in the right way??

– Pasted Max Patch, click to expand. –

sounda:

– Pasted Max Patch, click to expand. –

soundb:

– Pasted Max Patch, click to expand. –
#208197
Jul 13, 2011 at 12:31pm

… is there a way to dynamically loading new max patches into bpatcher?

#208198
Jul 13, 2011 at 1:34pm

Yes, sending the message “script sendbox YourBpatcherName replace yourPatch.maxpat” to [thispatcher]

#208199
Jul 13, 2011 at 2:14pm

Ok, stupid question, but how do I name my bpatcher?

#208200
Jul 13, 2011 at 2:16pm

ahh, never mind, in the info window :-)

#208201
Jul 13, 2011 at 2:24pm

How do I avoid a CLICK when loading a new patch into one of the bpatchers?

I would like to just let the sound run (without getting interrupted) in bpatcher B while I load a new patch into bpatcher A

#208202
Jul 13, 2011 at 2:40pm

Here I have made an example of what I am talking about – I would like to fade one patch in while the other patch still runs:

– Pasted Max Patch, click to expand. –

the four loaded patches:

– Pasted Max Patch, click to expand. –
– Pasted Max Patch, click to expand. –
– Pasted Max Patch, click to expand. –
– Pasted Max Patch, click to expand. –
#208203
Jul 13, 2011 at 2:47pm

I am afraid you have to wait for max 6 ;)

… or you can separate your dsp in one patch (and load it in a poly~ or in Alex Harker’s wonderful dynamicdsp~) and the interface in another patch, which you load in bpatcher

hth
aa

#208204
Jul 13, 2011 at 2:49pm

hmm, ok no way around dynamicdsp~ I’ll make another try and see if I can get it to work …

#208205
Jul 13, 2011 at 2:50pm

… but if your goal is just saving cpu, I’d load them all (into poly~ and dynamicdsp~) and selectively mute/unmute them

#208206

You must be logged in to reply to this topic.