Usinge the same sample files in two different sampler links them when editing.
-
I have a sustain and a release sampler.
Both are using the exact same .wav files saved as different sample maps.
The sustain samples have looping enabled.
The release samples have a much delayed SampleStart position and no looping.Editing samples (like start position, loop on/off, looping points) in one sampler/sample map also affects the samples in the other sampler/samplemap.
Switching between the two sample maps inside one sampler, I can see the changes that I've made visually in the UI, but playback for both samplers is set by the last used settings.
So if I edited the RelaseSampler samples last then both SustainSampler and ReleaseSampler will playback the samples that way. -
@observantsound
Engine.setAllowDuplicateSamples(false)is what you need. -
@David-Healey Yes! That was it. I wasn't aware that needs to be set first.
What would be a use case for wanting AllowDuplicateSamples to be true if this is the default behaviour?
Is this a known bug?
Seems counterintuitive for the Sample Editor UI not to change in the sample map if the editing is intended to be linked between samplemaps.