[yoshimi] More on envelopes

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Fri, 30 Mar 2018 20:55:33 +0100

Mostly of interest to those creating their own sounds.

The first thing to keep in mind is that amplitude envelopes (particularly
release time) set the point at which a note ceases. Frequency/filter envelopes
can be shorter, so their effect stops part way, but if they are longer, the
last part will be ineffective.

Across all three engines, and kits (if kit mode is active) it is whichever is
the longest that sets the overall time of the note, and you may well hear others
stop if the times are sufficiantly different.

Also, within AddSynth itself, it is which ever voice has the longest envelope
that sets the overall voice time, and if you set voices with very different
characteristics you can hear the shorter ones finish before the overall sound
stops. Bear in mind, that each voice can also have a start delay set, so you
can get a late sound pickup that is then the last bit you hear, even if it's
quite short. However, if the start time of one voice is after all the others
have finished it will never sound.

This sort of idea works best with 'Forced Release' disabled.

An unexpected twist to this, is that taking the combined voice envelope time
against the main AddSynth envelope, it is which ever is the *shortest* that
sets the AddSynth time as a whole. This can really catch you out!

With regard to the Modulator amlitude envelopes. They don't change the overall
time, but if they are shorter than their voice length (or any voice that the
modulator is slaved to) the modulation may end a bit strangely. If they are
longer, then part of their action will be missed.

Finally, there is what I believe to be a bug (that goes back to Zyn 2.2.1). If
an AddSynth voice is enabled, it's amplitude envelope release time is active,
even if the envelope is apparently deactivated and not editable. Oh, and by
default all the voice times are quite long, so again you could be puzzled as
to why a sound is longer than you expected. Because this has always been there
I don't propose to change it. To do so would quite likely alter many exisiting
instrument patches, but do keep it in mind.


P.S.
I've attached another demo instrument patch that shows some of this, but I
actually like it enough to include it in the 'Companion' bank on the next
commit :)

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.

Attachment: AddSynth Morph.xiz
Description: Binary data

Other related posts:

  • » [yoshimi] More on envelopes - Will Godfrey