Connecting Insert & Send Effects | Scripting Help

drumcroissantvertigo
drumcroissantvertigo Member Posts: 1 Newcomer
edited October 2024 in Scripting Workshop

I've been reading the KSP manual while using Creator Tools to make an instrument with Kontakt. I'm trying to add a control knob for plate reverb to change the decay. I'm not getting any errors back, but I can't seem to control the parameter. Attached are screenshots here.

Screenshot 2023-09-01 at 11.20.17.png Screenshot 2023-09-01 at 11.20.28.png

This is the script I've been using. I'm trying to target the insert effects; I tried targeting the send effects but have had no luck.

Screenshot 2023-09-01 at 11.20.36.png

I'm new to this and have been aiming to improve my skills, so that any help would be great!

Best Answer

  • noY_T
    noY_T Member Posts: 37 Member
    Answer ✓

    You would have to load the effect into a group effect slot, not the Instrument insert.

    But if you want to control the effect on the instrument insert level you would use

    set_engine_par($ENGINE_PAR_PR_DECAY, $reverb_knob, -1, 0, $NI_INSERT_BUS)
    

Answers

  • noY_T
    noY_T Member Posts: 37 Member
    Answer ✓

    You would have to load the effect into a group effect slot, not the Instrument insert.

    But if you want to control the effect on the instrument insert level you would use

    set_engine_par($ENGINE_PAR_PR_DECAY, $reverb_knob, -1, 0, $NI_INSERT_BUS)
    
This discussion has been closed.
Back To Top