No definition sample set
Started by marccobe




2 posts in this topic
hansehv

168 posts 17 threads Joined: Dec 2020
Bug  27-08-21, 15:38 -
#2
(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  Blush

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)]
and replace VELACCURATE with PREVELMODE

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


Messages In This Thread
No definition sample set - by marccobe - 26-08-21, 10:16
RE: No definition sample set - by hansehv - 27-08-21, 15:38
RE: No definition sample set - by marccobe - 27-08-21, 20:01