1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Logarithmic ADSR

Discussion in 'Building With Reaktor' started by Big Gnome, Oct 12, 2012.

  1. Big Gnome

    Big Gnome NI Product Owner

    Messages:
    574
    Last night I made a simple hack to the built-in core ADSR envelope to allow for either a linear or logarithmic attack slope, as the linear slope occasionally feels a little sluggish to me. The UL hates me at the moment, so here it is, for your pleasure.

    --------

    Edit: Whoops! Fixed a bug related to velocity sensitivity.
     

    Attached Files:

  2. herw

    herw NI Product Owner

    Messages:
    6,421
    nice upload - but it isn't logarithmic shape but quadratic i think. Nevertheless good idea.

    ciao herw
     
  3. Big Gnome

    Big Gnome NI Product Owner

    Messages:
    574
    Perhaps you're right--mathematics is not my strong suit. Convex, shall we say?
     
  4. Leon Spek

    Leon Spek NI Product Owner

    Messages:
    53
    Thanks for sharing. Convex sounds convincing ;-)
     
  5. owen_vallis

    owen_vallis Forum Member

    Messages:
    74
  6. MarcHönninger

    MarcHönninger New Member

    Messages:
    6
    Wow nice, something very interesting for me to check out. Thanks!
     
  7. rickyeffe

    rickyeffe NI Product Owner

    Messages:
    312
  8. owen_vallis

    owen_vallis Forum Member

    Messages:
    74
    Nice! Gonna take me a while to chew through that one, but cool use of the crossfades.
     
  9. BenHoward

    BenHoward Forum Member

    Messages:
    255
    It would be nifty if you could optionally make it an AHDSAR

    from http://postmodular.co.uk/wmd/multimode-envelope
     
  10. rickyeffe

    rickyeffe NI Product Owner

    Messages:
    312
    yeah the structure is a bit dirty cause i was still learning core cell
    i've just rewritten it again tonight, it uses a bit less cpu than before and also now it's possible to set up all kind of curves also for the release.

    i'll update it on the library soon, i'm gonna test it a bit more just to make sure there are no issues.

    in the meantime here it is...

    EDIT: v2.0 is now available on the user library:
    https://co.native-instruments.com/index.php?id=userlibrary&type=0&ulbr=1&plview=detail&patchid=12363

    -Fixed some display issues
    -Fixed velocity changes during legato
    -Total rewrite of main module (less CPU usage)
    -All curves are now available also for release
    -Added an "analog" version (changes offset when it starts and it crossfades with the previous one, note that analog version could go over the 0-1 range)
     
    Last edited: Dec 5, 2012