release sample playback volume

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

Moderators: eric_telemaque, davidv

mrbumpy409
Posts: 2
Joined: Thu Jan 08, 2015 1:24 am

release sample playback volume

Postby mrbumpy409 » Sat Jan 17, 2015 8:01 pm

I am creating an instrument where I need key release samples to always play back at the same volume. However, sforzando seems to be varying the release sample volume based on the release envelope of the note-on samples.

This can be reproduced easily using the following SFZ file:

Code: Select all

<group>
amp_veltrack=0
ampeg_release=1

<region>
sample=*silence

<group>
trigger=release
amp_veltrack=0
ampeg_decay=0.2
ampeg_sustain=0
volume=-6

<region>
sample=*noise


Using the above file, if you repeat the same note rapidly, the first release sample plays back at the correct volume, but subsequent release samples play back gradually louder. Here is what the recorded wave output looks like:

Image

Now, if I set the note-on group's release to 0 instead of 1, all of the release samples play at the same volume, which is what I want:

Image

Except, I need to have non-zero release values for the note-on events in my instrument. The only other way I've been able to get the behavior I want is to use "trigger=release_key" instead of "trigger=release", but that method doesn't work with the sustain pedal.

Is there an ARIA-specific opcode that deals with this? I couldn't find anything addressing this in the Cakewalk Synthesizers book or any online references.

Return to “SFZ Programming”

Who is online

Users browsing this forum: No registered users and 2 guests