Fader/mixer between multiple samplers
-
What would be the best/most efficient way to have a mixer/fader between 2 samplers so that you can have a custom blend of the 2 gains to give a more unique sound?
Would it be with script, a macro or is there a native function that can do this and I haven't discovered it yet?
I don't think I will be able to use a macro as one would be the inverse of the other - as in if you put the fader all the way to the left then you would get 100% of sampler 1 and 0% of sampler 2, put it all the way to the right and you would get the opposite. In the middle it would be 50% of each.
I would imagine script is the best way to go if there isn't a native function, but I am not really sure how to implement it if that is the case.
Any assistance would be greatly appreciated
Thanks in advance
-
-
@rzrsharpeprod I was thinking in making the same a few days ago.
This is how I managed it to do it:
HiseSnippet 1456.3oc6Z80aSbDDeuXu.wkhfHdsRmxSlVHx1DfJUghIN+QtzjXEGnz9Br4t0wqxc6d5t8BXP7VeuR8iQenpeCJpR86Q4a.eCZmcuy916pww0BhfVaoXkY1Yl82N6LyNiR5DJbnQQhPj0hGLHfhrtHt6.treq9DFG0dCj0kv6PhjzP6DVqOHfDEQcQVVk1VwvZwxH8m2r15DOB2glwBgdnf4P+FlOSlwsSy6y771h3ROf4aH8pMa6H3sDdhX.Okv0PADmiIGQ2knDaALx5ba5xjhvtRhjFgrJutvcP29hmxSj+grH1gdTEQcTWvPIr26DZ3IL5S2R34pPthGpUelmamgm+HDX7NYdiRIdiqh2g4xFwOyqbY8B1YZX5WrVHOLKkCl0MgYMCXNFHYY.oxIP5J3tNgr.Y1JJ77I31b3RpGAb+lPIQVzB+7B3VBPBtbEexwzsBAhQZT810pcca3qq8UUp.WAQR6SHg1pSnRoPgmGMrt8cs0gFqbDUtivM1i.GwpKq8CFhsLXj2lMZLc1nwx4Ax84hCUa+vS.nbKgeffCDUWVupVCF2iwo18h4NRlfaK350RMbUmg5bcvpdwzqU4EUVrvgbkHp7dRYH6vXIsZwE2f1iD6IenR6qaWuwcr+b6pZaA+RsUtk8Wn99Z.VJX2FSxtMlrcuQNCW4kvOSzQn1pTi2h34cHjCUMumPYlJFdocER5d7pZ+QkWVwt3R85M10xNAicYUxc3jTrJO1+PZ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SxYAJ8INghG6jTvUg0Kn4.njq+WnXQ7NJZ6Q+UKw3ZqTS8WIj8XGGU6B2.7viWmFyfN2bFzY0YPmaMC5b6YPm6LC57kSTG0yt2KVJ7Sp9AL5rYRfk0liBrJg9a.+BjeqA
(I used a Midi Controller to control the Gain).
For my plugin it makes more sense that in the middle both samplers are at 100%, so I changed the value to:
MidiController1.setAttribute(MidiController1.DefaultValue, 127 * (1 - value)); MidiController2.setAttribute(MidiController2.DefaultValue, 127 * (1 + value));
-
@d-healey thankyou David. I did look around the forum before posting but I'm clearly not as good as finding topics haha. Thanks again, I shall look into this
-
@bendurso said in Fader/mixer between multiple samplers:
@rzrsharpeprod I was thinking in making the same a few days ago.
This is how I managed it to do it:
HiseSnippet 1456.3oc6Z80aSbDDeuXu.wkhfHdsRmxSlVHx1DfJUghIN+QtzjXEGnz9Br4t0wqxc6d5t8BXP7VeuR8iQenpeCJpR86Q4a.eCZmcuy916pww0BhfVaoXkY1Yl82N6LyNiR5DJbnQQhPj0hGLHfhrtHt6.treq9DFG0dCj0kv6PhjzP6DVqOHfDEQcQVVk1VwvZwxH8m2r15DOB2glwBgdnf4P+FlOSlwsSy6y771h3ROf4aH8pMa6H3sDdhX.Okv0PADmiIGQ2knDaALx5ba5xjhvtRhjFgrJutvcP29hmxSj+grH1gdTEQcTWvPIr26DZ3IL5S2R34pPthGpUelmamgm+HDX7NYdiRIdiqh2g4xFwOyqbY8B1YZX5WrVHOLKkCl0MgYMCXNFHYY.oxIP5J3tNgr.Y1JJ77I31b3RpGAb+lPIQVzB+7B3VBPBtbEexwzsBAhQZT810pcca3qq8UUp.WAQR6SHg1pSnRoPgmGMrt8cs0gFqbDUtivM1i.GwpKq8CFhsLXj2lMZLc1nwx4Ax84hCUa+vS.nbKgeffCDUWVupVCF2iwo18h4NRlfaK350RMbUmg5bcvpdwzqU4EUVrvgbkHp7dRYH6vXIsZwE2f1iD6IenR6qaWuwcr+b6pZaA+RsUtk8Wn99Z.VJX2FSxtMlrcu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yjzXBOR9mymIY9LIymIY9LIymI4c0LIMlOSxG1yjz3rXlj2r1TOSxSt62+0ymIY9LIymIY9LIebNSxYAJ8INghG6jTvUg0Kn4.njq+WnXQ7NJZ6Q+UKw3ZqTS8WIj8XGGU6B2.7viWmFyfN2bFzY0YPmaMC5b6YPm6LC57kSTG0yt2KVJ7Sp9AL5rYRfk0liBrJg9a.+BjeqA
(I used a Midi Controller to control the Gain).
For my plugin it makes more sense that in the middle both samplers are at 100%, so I changed the value to:
MidiController1.setAttribute(MidiController1.DefaultValue, 127 * (1 - value)); MidiController2.setAttribute(MidiController2.DefaultValue, 127 * (1 + value));
Ah nice. I shall load this up in a bit and have a proper look.
Much appreciated
-
@bendurso said in Fader/mixer between multiple samplers:
@rzrsharpeprod I was thinking in making the same a few days ago.
This is how I managed it to do it:
HiseSnippet 1456.3oc6Z80aSbDDeuXu.wkhfHdsRmxSlVHx1DfJUghIN+QtzjXEGnz9Br4t0wqxc6d5t8BXP7VeuR8iQenpeCJpR86Q4a.eCZmcuy916pww0BhfVaoXkY1Yl82N6LyNiR5DJbnQQhPj0hGLHfhrtHt6.treq9DFG0dCj0kv6PhjzP6DVqOHfDEQcQVVk1VwvZwxH8m2r15DOB2glwBgdnf4P+FlOSlwsSy6y771h3ROf4aH8pMa6H3sDdhX.Okv0PADmiIGQ2knDaALx5ba5xjhvtRhjFgrJutvcP29hmxSj+grH1gdTEQcTWvPIr26DZ3IL5S2R34pPthGpUelmamgm+HDX7NYdiRIdiqh2g4xFwOyqbY8B1YZX5WrVHOLKkCl0MgYMCXNFHYY.oxIP5J3tNgr.Y1JJ77I31b3RpGAb+lPIQVzB+7B3VBPBtbEexwzsBAhQZT810pcca3qq8UUp.WAQR6SHg1pSnRoPgmGMrt8cs0gFqbDUtivM1i.GwpKq8CFhsLXj2lMZLc1nwx4Ax84hCUa+vS.nbKgeffCDUWVupVCF2iwo18h4NRlfaK350RMbUmg5bcvpdwzqU4EUVrvgbkHp7dRYH6vXIsZwE2f1i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rtKJaUSu+W9tyYnofyV5uqGn1pDkqJBpG1xCZA1K2.sYSqNCyjzXBOR9mymIY9LIymIY9LIymI4c0LIMlOSxG1yjz3rXlj2r1TOSxSt62+0ymIY9LIymIY9LIebNSxYAJ8INghG6jTvUg0Kn4.njq+WnXQ7NJZ6Q+UKw3ZqTS8WIj8XGGU6B2.7viWmFyfN2bFzY0YPmaMC5b6YPm6LC57kSTG0yt2KVJ7Sp9AL5rYRfk0liBrJg9a.+BjeqA
(I used a Midi Controller to control the Gain).
For my plugin it makes more sense that in the middle both samplers are at 100%, so I changed the value to:
MidiController1.setAttribute(MidiController1.DefaultValue, 127 * (1 - value)); MidiController2.setAttribute(MidiController2.DefaultValue, 127 * (1 + value));
When I tried to play any of the samples using that snippet, HISE kept crashing for some reason.
I took the same code, added the required elements and implemented it into my own build and it worked fine though so thankyou.
I should be able to do what I want to do now with the plugin so much appreciated -
@rzrsharpeprod Glad it worked for you :)