AUTO-ADMIN: Non-MP3, WAV, OGG, SoundCloud, YouTube, Vimeo, Twitter and Facebook links in this post have been protected automatically. Once the member reaches 5 posts the links will function as normal.
Hello,I came up with an envelope to create a crossfade between pedal up and pedal down samples in my piano sfz while preserving natural reverb and sustain.
Tested on sfizz.
Suggestion and refinements welcome.
Code: Select all (#)
<global>
ampeg_attack=0.005 // tiny attack to preserve transients
ampeg_hold=0
ampeg_decay=55 // long decay -> restores body + room sustain
ampeg_sustain=95 // near-full sustain, matches LIP bloom
ampeg_release=0.85 // natural tail-off
ampeg_vel2decay=0.4 // subtle velocity shaping (not too drastic)
ampeg_vel2release=0.6
ampeg_curve=5 // softer curve = more natural sustain
cutoff=20000
fil_type=none
note_polyphony=256
group_polyphony=256
<control>
default_path=\samples
////////////////////////////////////////////////////////////////////////////////
// PEDAL UP GROUP — with smooth fade into pedal-down
////////////////////////////////////////////////////////////////////////////////
<group>
locc64=0 hicc64=63
xf_out_locc64=60 xf_out_hicc64=127 // fades out as pedal goes down
lovel=1
hivel=127
////////////////////////////////////////////////////////////////////////////////
// PEDAL DOWN GROUP — crossfades in as pedal engages
////////////////////////////////////////////////////////////////////////////////
<group>
locc64=64 hicc64=127
xf_in_locc64=0 xf_in_hicc64=68 // fades IN smoothly from pedal-up
lovel=1
hivel=127
