Limiting portamento range

Discussion on the SFZ implementation and opcodes available in the ARIA engine.

Moderators: eric_telemaque, davidv

DSmolken
Posts: 26
Joined: Wed Dec 03, 2014 2:59 am

Limiting portamento range

Postby DSmolken » Tue Sep 22, 2015 7:18 am

I'm working on a sax library. I thought I'd try to add portamento to legato notes, and got it working quickly by seeing how it's done in the Garritan basses in ARIA free sounds.

This seems to work fine for the most part:

Code: Select all

eg07_sustain=1
eg07_level0=-1
eg07_time0=0
eg07_level1=0
eg07_pitch_oncc140=100
eg07_time1=0
eg07_time1_oncc120=0.24


I also set the eg07_time1_oncc120 to 0 when trigger=first, which means I only get portamento for legato notes.

However, when sliding down more than about a third, it sounds obviously artificial unless the glide time is very short. Sliding up sounds OK even with big intervals and max glide time. So what I'd like to do is limit the portamento somehow, and ideally limit downward glides more than upward ones.

Either just set the time to zero when the previous note is more than a major third above the current note, or set a maximum envelope depth on the glides, so that downward glides would be starting a major third above the new note, even if the previous note was higher. I might also want to try limiting upward glides, maybe have them start at an octave even if the previous note was more than an octave lower.

I suspect this is somehow possible with CC140 and/or 141, but not sure how.
www.karoryfer.com/karoryfer-samples is where my sfz libraries are

Return to “SFZ Programming”

Who is online

Users browsing this forum: No registered users and 1 guest