Bug 300

Summary: Sounds are not muted by "off_by" event
Product: LinuxSampler Reporter: Vladislav <naumovvladislav>
Component: otherAssignee: Christian Schoenebeck <cuse>
Status: CLOSED DUPLICATE    
Severity: major    
Priority: P5    
Version: 2.0.0   
Hardware: PC   
OS: Linux   

Description Vladislav 2016-09-30 23:28:48 CEST
Hello.

I tried to write about this long time ago, but capcha didn't let me in to bugtracker.
I also tried to connect by email, I even received answer, but something goed wrong.
This bug completely tired and ruined my nerves. I cannot work while it's present.

There is enought major bug in sfz engine.

It's present when you work with .sfz files, where there are two different groups 
(which are activated by the same key (for example, C4); first group is activated by key pressing, second - releasing; first group is deactivated by activating second group, second - first group).

Sounds of samples from this groups are not muted after event, which was specified to mute this sounds.

Example .sfz file: http://pastebin.com/Qb8KUusQ
From there you can see definitions of such two groups:
<group> loop_mode=no_loop sw_lokey=B0 sw_hikey=B0 sw_last=B0 group=1 off_by=2 trigger=attack
, and
<group> loop_mode=one_shot sw_lokey=B0 sw_hikey=B0 sw_last=B0 group=2 off_by=1 trigger=release
.

This bug can be met, for example, when you're using or making string tremolo instruments (where sounds of stroke up and stroke down differ).

Best regards,
Vladislav
Comment 1 Vladislav 2016-11-17 20:43:12 CET
P.S. Without it I cannot make such guitar "tremolos", like in "Behemoth–Chant For Ezkaton 2000". I think that this bug leads to another one. I found it and will describe when I'll have a time.
Comment 2 Vladislav 2016-12-02 03:31:57 CET
I added instrument for testing this (instrument, in which I had errors):
https://vk.com/doc16425447_439489292
Comment 3 Vladislav 2017-08-23 19:06:49 CEST
The same bug is present in Carla. I did not reported this bug to it, so I wrote video.

Linux Sampler has the same sound by "layered" sounds one onto other, so it's impossible to create tremolo instrument.

Link to video: https://vk.com/video16425447_456239250
Copy on YouTube: https://youtu.be/DB5cWEIG2-U
Comment 4 Christian Schoenebeck 2019-03-10 16:13:16 CET

*** This bug has been marked as a duplicate of bug 309 ***