Dear All,
I am developing a series of virtual instruments for SFZ v.1  and v.2, which are 
aimed for solo players and thus include many variations of each instrument, 
triggered by different pedals. Recently, I discovered a problem in 
LinuxSampler, which I am positive (but not 100% sure) that it is a bug (I am 
using the latest version of linuxsampler on Arch Linux).
The problem is visible even within SFZ v.1 instruments. There are CC Opcodes 
for specifying each region to be triggered with particular CC messages. For 
example:
// Triggering sustain pedal (CC64) samples: <region> ... locc64=64 locc64=127 
...
// Triggering soft pedal (CC67) samples: <region> ... locc67=64 locc67=127 ...
However, when these samples are combined to create all four possibilities for a 
well-sampled instrument (i.e. no pedal pressed, only sustain pressed, only soft 
pedal pressed, both pedals are pressed), there are false regions triggered. It 
is needless to say that for each of these combinations, I include the full 
criteria:
// use this template to reproduce the error<region> sample=w.wav locc64=0 
locc64=63 locc67=0 locc67=63 ...
<region> sample=x.wav locc64=0 locc64=63 locc67=64 locc67=127 ...
<region> sample=y.wav locc64=64 locc64=127 locc67=0 locc67=63 ...
<region> sample=z.wav locc64=64 locc64=127 locc67=64 locc67=127 ...
The same problem also appears if instead of sustain or soft pedals I use the 
sostenuto pedal (e.g locc66=64 hicc66=127). Basically LinuxSampler seems to get 
confused under some of the conditions. I tried to find a workaround by defining 
groups, specifying group numbers and putting off_by opcodes, etc., but the 
problem remains. 
The error only occurs in LinuxSampler and other SFZ players that I have tested 
(so far Sforzando) played the regions correctly. 
Does this sound like a bug to you too or am I missing something here? I would 
very much appreciate your feedback. 

Cheers,
Ebad



_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to