This is the first thing that came to mind, it works, but I'm not sure if its really what you want, I just noticed you need the volume evenly distributed.
The 4-pan_2 abstraction that's included was done by somebody else on the forum (can't remember who), I picked it up in a thread about using pictslider to control the pan4s abstraction.
You might be able to distribute the volume more evenly with this patch by altering the genPan4 subpatch in pan4s. You may have tried this way before with no luck, but here it is anyway.
Actually I just noticed that there's a bug in the patch somewhere to do with the pictslider input. When the cursor is at the top left corner it cycles through each output really quickly rather than panning smoothly. I'll have a look at it.
save as 4-pan_2:
crossfading - I'm pretty sure that pan4s is included with max5:
Nice patch! Although what bothers me about both these patches is that you can't crossfade from 2 to 4 without passing through 3 etc.......I would find that really useful.
I'm gonna mess around with vbap and see if I can manage to sort that out. See if I can't come up with an abstraction that allows crossfades from any input to any other, with an argument for the number of inputs.
timlloyd wrote on Fri, 19 June 2009 19:25Nice patch! Although what bothers me about both these patches is that you can't crossfade from 2 to 4 without passing through 3 etc.......I would find that really useful.
as for the GUI, you would need to prive two XY sliders, one
which goes like
and one which is goes like
and just connect both to the abstraction your going to build.