Usually, for most strings sfz instruments, holding down the sustain pedal will cause the sound to loop until the pedal is released.
I noticed that the strings on my Yamaha keyboard behaves differently. When holding in the note, it loops until released. When holding in the pedal and releasing the note, it does not loop continuously, but rather fades out with a longer decay compared to when the pedal was not held down. (Similar to piano sound behaviour).
Is there an easy way (e.g. adding a few lines) to edit a strings sfz file to display this behaviour?
Behaviour of sustain pedal for strings sfz
Moderators: MattKingUSA, khz
Re: Behaviour of sustain pedal for strings sfz
Use the longer ampeg_release setting, in a group that is triggered only when the sustain pedal is on. For example, if you're using my jg_violins.sfz ...
Increase the value of the first ampeg_release if you want a longer fade, Decrease for shorter.
Code: Select all
<group> locc64=64 hicc64=127 ampeg_hold=100 ampeg_release=6
<region> sample=3_A.wav pitch_keycenter=57 hikey=58
<region> sample=4_C.wav pitch_keycenter=60 lokey=59 hikey=61
<region> sample=4_Eb.wav pitch_keycenter=63 lokey=62 hikey=64
<region> sample=4_G.wav pitch_keycenter=67 lokey=65 hikey=68
<region> sample=4_B.wav pitch_keycenter=71 lokey=69 hikey=72
<region> sample=5_Eb.wav pitch_keycenter=75 lokey=73 hikey=76
<region> sample=5_G.wav pitch_keycenter=79 lokey=77 hikey=80
<region> sample=5_B.wav pitch_keycenter=83 lokey=81 hikey=85
<region> sample=6_E.wav pitch_keycenter=88 lokey=86
<group> locc64=0 hicc64=63 ampeg_hold=100 ampeg_release=0.5
<region> sample=3_A.wav pitch_keycenter=57 hikey=58
<region> sample=4_C.wav pitch_keycenter=60 lokey=59 hikey=61
<region> sample=4_Eb.wav pitch_keycenter=63 lokey=62 hikey=64
<region> sample=4_G.wav pitch_keycenter=67 lokey=65 hikey=68
<region> sample=4_B.wav pitch_keycenter=71 lokey=69 hikey=72
<region> sample=5_Eb.wav pitch_keycenter=75 lokey=73 hikey=76
<region> sample=5_G.wav pitch_keycenter=79 lokey=77 hikey=80
<region> sample=5_B.wav pitch_keycenter=83 lokey=81 hikey=85
<region> sample=6_E.wav pitch_keycenter=88 lokey=86
Author of BackupBand at https://sourceforge.net/projects/backupband/files/
My fans show their support by mentioning my name in their signature.