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

Core ADSR sustain question

Discussion in 'REAKTOR' started by LanmanCZ, Mar 10, 2016.

  1. LanmanCZ

    LanmanCZ New Member

    Messages:
    7
    Hello,
    I'd like to please ask what am I doing wrong with the ADSR core module from library. For some reason the sustain parameter does not work for me. Even if I manually, using a constant, set the S input of the ADSR to 0 the module remains sending out value 1 during the sustain phase (while I'm holding a key), it does not drop to 0 after decay period as it should. The other envelope parameters work as expected - attack, release. Only the decay/sustain seem to misbehave for some reason.

    [​IMG]

    In the manual there is written "S specifies the sustain level, which normally should be in the range 0 to 1, since the attack peak level is always 1" which makes sense, but I cannot figure out what am I doing wrong and why the envelope does not work as expected. You can check the block I'm working on in the link bellow - it is my first "proper" Reaktor block so it is possible that I'm doing something silly there. Thanks for any tips.

    www.lanman.cz/AceOSC-4Wave.zip
     
  2. Big Gnome

    Big Gnome NI Product Owner

    Messages:
    574
    It's being caused by the gate signal being latched at audio rate. Put a Dup Flt in front of the Prim Gate >.
     
    • Like Like x 1
    • Informative Informative x 1
  3. LanmanCZ

    LanmanCZ New Member

    Messages:
    7
    Great, that did the trick! Thanks a lot!
     
  4. Tony True

    Tony True New Member

    Messages:
    4
    Ok I am pretty green when it comes to all the technical stuff for VST’s etc, and so I’d like to describe the problem I’m having and see if it’s similar to the one above or not.

    I am using the Accordion sound from the World sounds (I believe, as I’m at work not home) and using Jam Origins Midi Guitar software to trigger it. I do not believe that this is a cause of the problem as when I use my Axiom 61 KB I get the same effect, but I wanted to give all the info.

    So what is happening is that when I play the notes play fine, however there is NO decay of the notes, until they stop…no trail off as a natural sounding instrument would do. So it’s making the playing of certain pieces and styles difficult.

    I have gone in and played with ever setting in the Envelope and other areas I can find, with little or no effective change.

    So I had to record my part and go into the Midi editor of my DAW (Samplitude Pro) and manually set the volume levels and create a fade for certain parts.

    However I find it hard to believe that this is not possible in the VST itself, so any assistance would be appreciated.

    Tony
     
  5. Tony True

    Tony True New Member

    Messages:
    4
    Also what does the following mean....sorry...???

    "the gate signal being latched at audio rate. Put a Dup Flt in front of the Prim Gate >."
     
  6. herw

    herw NI Product Owner

    Messages:
    6,421
    the envelope expects only a single event to start. There are two possibilities: the gate event is (are) a (two) single event(s) (velocityOn and velocityOff).
    1st If you create an audio input then this value would been called with audio rate automatically, means there is a stream of gateOn. So the envelope starts with sample rate. Inserting an DupFlt would stop this stream because the gateOn normally doesn't change. So you get a single event.
    2nd You can use the macro gate from prim to get a single event. No need to get it from primary via an input (which should be no audio input but an event input).
    ciao herw
     
    • Informative Informative x 1
  7. colB

    colB NI Product Owner

    Messages:
    3,969
    From the descriptuon, it seems like youre talking about release rather than decay, so:
    I thought it was in the nature of accordions to have steady volume and a relatively abrupt release. Assuming the player keeps pumping the bellows. Because it's just a mechanical on/off gate mechanism.