Anyone has a crossfader for crossfading between 4 outlets, and with the volume distributed evenly?
haha, that belong to the things on my to do list.
this is extremly complicated, and there is only one way
how to start with it: the whole thing needs two modes,
one which crossfades/crossmixes, and one with crossfading
turned off so that you can move only one slider.
why? because only when you can also move only one slider,
you will be able to set a difference between them.
but when you do, that also will change the sum/average
of all 4 - which is needed to do the calculation for
the crossfade mode...
i have invested about 3 hours during the last years to
finish it but it still does not work. if you dont use java
or make a custom external, you will need tons of "prepend set"
with different outputs and gates. you will see what i mean
once you started!
one more thing: first make one with 2, then with 3, then
with 4. this way you will find out how the logic has to
be built for x.
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.