MIDI ADSR

MIDI ADSR version 1.2
Send ADSR controlled MIDI CC values via notes.

Set the time for the attack, decay, sustain, and release stages of the envelope. Set the level for the attack and sustain stages. Then send any note to the plugin. CC values will be output following the envelope’s shape.

If the note is held down, the envelope will stay in the sustain stage until it is released. Retriggering a note before the end of the envelope will interrupt the envelope and restart from the beginning.

You can also enable velocity sensitivity, which scales the envelope according to the velocity of the note received.

If you want to increase the maximum length per stage, edit the “default_maxtime” variable at the beginning of the script.

5 comments on “MIDI ADSR
  • GtrGeorge on said:

    This is just great; I’ve been wishing for something like this for awhile for one of the purposes you suggested, triggering volume swells; it works beautifully. I’ve been trying to use the ENV effect included with iVCS3, and it works, but it is somewhat unpredictable as far as setting the times.

    Could there be longer times for the A D S & R? Maybe 10 or 15 seconds max?

    Thanks for providing a great addition to the Mozaic library.

  • wim-number37 on said:

    GtrGeorge, thanks. I’m glad it’s useful for you. I just uploaded a quick release that allows you to increase the maximum times pretty easily by editing the “default_maxtime” variable at the top of the script. It sets the maximum time in measures. Just set that up higher until you get the right balance of length and knob accuracy. 5 measures at 120bpm is 10seconds.

    I’m working on a much more powerful and flexible envelope generator that will be ready at some point. That one will have an adjustment for length without having to edit the script. It’ll also have the choice of sync to host tempo or freeform.

  • GtrGeorge on said:

    Thanks! I’ll play around with editing the script, but I’m looking forward to your next version.

  • tzee on said:

    Hi wim
    a great tool – thank you for that !
    Please consider to add a knob to adjust the startlevel in the next version.
    The knob would work as an amount control for my workflow.
    This would also add the possibility to invert the envelope (startlevel 127, Vel-levels 0)
    Thanks again.
    Best, Christof

  • wim-number37 on said:

    Humm … apparently I did a version 1.2 at some time in the past, but never uploaded it. 🤷🏼‍♂️

    Version 1.2 adds an option to set whether or not midi notes are passed through. The previous version blocked notes, requiring parallel routing in order to play notes and send the envelope to a synth. It seems I added a way to edit the maximum stage time easily in the script. (You would do this if you want slower envelopes – the downside being less precise control for the knob.)

    Hopefully the reason I didn’t upload it earlier isn’t because it’s buggy! Let me know if anything seems wonky.

  • Leave a Reply

    • Platform:
    • Category: Effect
    • Revision: 1.2
    • License: MIT License
    • Modified: 5 months ago
    • Views: 897
      Likes: 15
      Downloads: 245
    Download
    Chat