Envelope Generator Plugin (Alpha Test, starting with the first Version ever (Dayly 2026-08-18))

Unlike the Rest of this Topic, the very Top gets edited regularly to link to
the newest downloadable Version, until 1.0 stable releases.

Download

EnvelopeGenerator Plugin, version Dayly 2026-08-23+1, made for Godot 4.4.1 and later

Dayly Versions are unstable, so you should not use them in a big or medium Project.

To save my public Storage Space, only the newest Dayly Version is uploaded to Google Drive,
and the Project removed from Google Drive when it gets fully open‑sourced and published on the Godot Asset Store.

I am making an Envelope Generator Plugin
mainly for my own Use but i believe others would also use it in a Game.

Envelope Generators are traditionally used in electronic Music to play a Note by animating the Loudness of a continuous Sound.
They typically have 4 Phases, together known as ADSR:

  1. Attack: Starts in the same Moment as the Note.
    It ramps up the Volume of the Note to its Max.
  2. Decay: The Note gets quieter but not mute.
  3. Sustain: For as long as the Note is held, it stays at the same Volume.
  4. Release: When the Note ends, it doesn’t silence abruptly.
    It mutes smoothly.

More Info: Envelope (music) — English Wikipedia

The Purpose of making an Envelope Generator in Godot is that
it can animate much more than just Sound, for Example the Opacity of a Sprite.

Typical Envelopes only use linear Interpolation between the Start and End of each Phase
but my Implementation uses Curves, so i can change the Shape of each Phase in a Way that is more expressive but still easy to use.

This is also why i removed the Decay Phase from my Implementation:
Because the Attack Curve can include both Attack and Decay.

1 Like

Update Dayly 2026-08-22

  • Downgraded to Godot 4.4.1
    because all Features that this Add‑on uses were added in (or before) Godot 4.4

  • Referenced this Project’s MIT License at the Top of every ’’.gd’’ Script File.
    I’m not yet sure if that’s good enough for Codeberg:

    # Copyright © poppy ribbon
    # Licensed under MIT License.
    # A Copy of the License should be included with this Add-on.
    
    

    The LICENSE.txt File is in res://addons/curve_envelope

    For Reference, the actual License
    Copyright © poppy ribbon
    
    Permission is hereby granted, free of charge, to any person obtaining a
    copy of this software and associated documentation files
    (the “Software”), to deal in the Software without restriction, including
    without limitation the rights to use, copy, modify, merge, publish,
    distribute, sublicense, and/or sell copies of the Software, and to
    permit persons to whom the Software is furnished to do so, subject to
    the following conditions:
    
    The above copyright notice and this permission notice shall be included
    in all copies or substantial portions of the Software.
    
    THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS
    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
    IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
    CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
    TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    

※ I will not add all Changes to the Dayly Changelog.
That would slow down early Development too much.

Update Dayly 2026-08-22+1

The Envelope Settings are now stored in custom Resources,
just like this Answer recommends:

This Add‑on should include a solid Collection of Resource Presets that are useful for Envelopes,
so i very much wish this Godot Proposal gets implemented:

Update Dayly 2026-08-23

This project started using git.

Setted up a git archive Command to export a clean .zip Archive for Godot Asset Store.
This Command is published in the README.md.