All samplers are being reversed with the same sample map
-
I have 2 different samplers, I am using 2 different buttons to make the dedicated sampler play the reversed. I am using the below setAttribute function for it.
It works great but if both 2 samplers have the same sample map, if I want to make one of them reversed, both of them are being reversed. What am I missing here?
Sampler.setAttribute(Sampler.Reversed, value);
-
-
@d-healey Thanks. So, where do I need to add it?
Engine.setAllowDuplicateSamples(true);
-
@harris-rosendahl You want to set it to
false
(I know, counterintuitive). Put it near the top of youron init
callback. -
@d-healey Thank you so much!
I put it on the
Synth.deferCallbacks(true);
function on init, Now it works!