Expanding the off/mute group with a new 2nd set opcodes #17
Replies: 0 comments 4 replies
-
I've made a wiki describe the need of this opcodes addition along with example sfz test file for demonstration of this case, in here : |
Beta Was this translation helpful? Give feedback.
-
This is an example of an existing sample player that has 2 off_time settings (rel. time) https://user-images.githubusercontent.com/65444898/89728279-55380a00-da56-11ea-9050-b5045fe50315.png |
Beta Was this translation helpful? Give feedback.
-
I agree to ARIA's alias I made an example test that includes these 3 set of opcodes. This first example will load and play and illustrate the sfz programming/design. Notice the first keyswitch example won't get choked shortly because the off_time is too long. <global>
sample=*saw
key=48
ampeg_decay=4
ampeg_sustain=0
ampeg_release=4
note_polyphony=1
sw_lokey=36
sw_hikey=38
sw_default=36
<region>
sw_last=36
sw_label=Long, Self-mute
off_time=2
group=1
off_by=2
<region>
sw_last=37
sw_label=Short, Choked by other key
off_time=0.5
group=1
off_by=2
//-------------
<group>
sw_last=38
sw_label=Zero, For RR-on/off
off_time=0
seq_length=3
<region>
seq_position=1
region_label=RR_1
group=1
off_by=2
<region>
seq_position=2
region_label=RR_2
tune=1200
group=2
off_by=2
<region>
seq_position=3
region_label=RR_3
tune=2400
group=2
off_by=2
//===============
<global>
<region>
sample=*silence
key=50
note_polyphony=1
group=2
off_by=2 This second example won't play properly at this moment, but this is the example of the intended feature. <global>
sample=*saw
key=48
ampeg_decay=4
ampeg_sustain=0
ampeg_release=4
note_polyphony=1
sw_lokey=36
sw_hikey=37
sw_default=36
//Long, Self-mute
polyphony_group=1
off_time=2
//Short, Choked by other key
cut_group=1
cut_by=2
cut_time=0.5
//-------------
<group>
sw_lolast=36
sw_hilast=37
sw_label=RR off
//Zero, For RR-on/off
mute_group=1
mute_by=2
mute_time=0
<region>
region_label=RR_1
//-------------
<group>
sw_last=37
sw_label=RR on
mute_group=2
seq_length=3
<region>
seq_position=2
region_label=RR_2
tune=1200
<region>
seq_position=3
region_label=RR_3
tune=2400
//===============
<global>
<region>
sample=*silence
key=50
cut_group=2 |
Beta Was this translation helpful? Give feedback.
-
As an alternative addition to current SFZ v2 specs, #20 seems to be simpler implemented and would have similar desired function |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
To better mimic the real behaviour of Drums & Percussion into sampled instrument, where this type of percussive instruments sound are decaying itself interuptedly after every new hits. And for the like, cymbals/hihat, also need to be choked/muted by other articulations. So there are two decaying in its sound which are,
So in sfz programming, it is need to setup two different off_time, to prevent the unnatural build-up sound and also to have a proper choked sound
Currently, sfz has only 1 set of off/mute group opcodes, which are :
group
off_by
off_mode
off_time
off_shape
off_curve
Those can be used to set polyphony group voicing
I suggest to add another set of opcodes for the choke needs, which are :
cut_group
cut_by
cut_mode
cut_time
cut_shape
cut_curve
* other than "cut", optional opcode name can be also like :
mute_group
,mute_by
, etc.choke_group
,choke_by
, etc.Beta Was this translation helpful? Give feedback.
All reactions