27-08-21, 15:38 -
(26-08-21, 10:16)marccobe Wrote: In the basic case of not using a definition.txt at all (just numbers + .wav), the samples are played with different velocity levels, even if I have set up the configuration file as per original SamplerBox use (127 velocity_levels and sample velocity_mode). Is this a normal behaviour?Hi Marc,
No, not normal: you found a bug
In samplerbox.py, at around lines 1450-1470, find line with:
Code:
gv.samples[midinote,1,1] = [Sound(file, 1, midinote, 1, PREVELOLEVS, VELACCURATE, gv.sample_mode, PRERELEASE, PREDAMP, PREDAMPNOISE, PRERETRIGGER, gv.globalgain, PREMUTEGROUP, BOXRELSAMPLE, PREXFADEOUT, PREXFADEIN, PREXFADEVOL, PREFRACTIONS)]
Changing the velocity levels is not necessary, unless you have velocity level samples which isn't common in most percussion sets. Full details in Velocity level differentation in samples.
Thanks for reporting this,
Hans