Multi-channel volume and pan control
-
Thanks Christoph I'll give it a whirl
-
I tried dropping samples into the sampler you've set up but even though I have samples mapped to the same keys in all three groups it's only playing one voice from group 1.
-
Just wanted to give this a little bump. I've still not managed to get more than one sample triggered with the built in x-fade behavior.
-
This is an example project which uses a LFO to morph between two sustained samples (in this case, just a sine wave and a triangle).
Beware what you post next, it will be the 1000th post :)
-
Thanks, I made a new build from github to try your example and it worked perfectly so then I retried my own project and it worked, so I'm thinking I just needed to update my build :)
-
Weird, I haven't touched that code since ages.
-
Strange, maybe I derped somewhere else then :p
-
Ok there is definitely an issue with this. I think I might have found the trigger for it. If there is already a sampler in the instrument and then you add another and try and setup the group xfades on the new sampler it won't work. If you only have one sampler though, or the group xfade sampler was the first sampler you added then it works. It also works if you duplicate a sampler that has the xfades already set up.
-
You were right. Although the problem was a more generic one: If you activate the
KillNote
retrigger behavior, it kills also samples that are just started and leaves only the last sample in the crossfade list alive. My example (and every time I used this feature) magically had theKillNote
property disabled so I didn't notice it.This is of course highly counterintuitive so I added a check that doesn't fire the retrigger behaviour if the voice was started with the same event. It's on GitHub now.
This also fixes the velocity X-Fade behavior and actually all cases where one event starts multiple samples (excluding multimic samples) so nice catch!
But it has nothing to do with another sampler and it would highly violate our precious encapsulation principle, so please make sure this problem does not persist.
-
Excellent, glad it wasn't just me being mad