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

updating convolution is steppy

Discussion in 'Scripting Workshop' started by Lovechld2000, Dec 21, 2021.

  1. Lovechld2000

    Lovechld2000 NI Product Owner

    Messages:
    267
    Hey is it just me or when you set_engine_par to the convolution reverb, the controls lag and step.(not just visually, you can hear it) Is there a trick to get them to work nicely?
    the dry and wet seems ok but the others are not so good (kontakt 6.5.2)
     
  2. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    Yes, there is a lag because for most of those parameters the IR needs to be recalculated, so all of those engine params require async.
     
  3. Lovechld2000

    Lovechld2000 NI Product Owner

    Messages:
    267
    thanks Mr D. Right now I have commands like this
    Code:
    set_engine_par($ENGINE_PAR_IRC_LENGTH_RATIO_LR, $knb_irsize, -1, 0, 0)
    are you saying it's better to redo like this?
    Code:
    wait_async(set_engine_par($ENGINE_PAR_IRC_LENGTH_RATIO_LR, $knb_irsize,-1,0,0)
     
  4. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    Yeah you could try. Updating the parameter value display will still be jumpy though.
     
  5. Lovechld2000

    Lovechld2000 NI Product Owner

    Messages:
    267
    yes no noticeable difference in performance. I'll leave the wait asyncs there anyway