using [dynamicdsp~] - how does it work?

Kaspar's icon

Hi,

Max Patch
Copy patch and select New From Clipboard in Max.

Here is my non-working try to use [dynamicdsp~] - see the below patches. Eventually, I would like to load two patches at a time, so that I can crossfade from spot A to spot B, load a new patch into spot A and crossfade from spot B to A and so on ... I do this in order to save CPU, when crossfading between "modes of sound".

Max Patch
Copy patch and select New From Clipboard in Max.

patch named: fadein-a

Max Patch
Copy patch and select New From Clipboard in Max.

patch named: fadein-b

Max Patch
Copy patch and select New From Clipboard in Max.

patch named: fadein-c

Max Patch
Copy patch and select New From Clipboard in Max.

patch named: fadein-d

Kaspar's icon

This is the best I could do using bpatcher and avoiding the click sound from when the dsp is stopped when loading a new sound patch - see attached.

I fade out the "current" patch, load the "next" patch and then fade that one in. However, it would be nice to crossfade between the two ...

K

PS. I still haven't found out how to do theloading with crossfade using [dynamicdsp~] ... it seems pretty complicated to me - does anyone have a patch where they do this kind of stuff?

2437.dynamicloadingbpatcherfadeoutin.zip
zip
roger.carruthers's icon

OK, here's my take on it. It relates to something I'm working on atm, so I'm quite excited about it, though it will probably all be redundant when Max 6 comes out ;-)

I'm loading the gui's seperately as bpatchers, which slightly complicates things, but then I think it works better in a realtime context as you don't have to open each patch after you've loaded it. There's probably a more elegant way to do this with regexp, but I don't speak the lingo.
It appears you have to put in a one signal vector delay by means of a tapin~/tapout~ pair to feed dynamicdsp~ outlets back into inlets, but that's OK,
cheers
Roger

2458.ddsptest.zip
zip