Please be advised that due to scheduled infrastructure maintenance, we anticipate downtimes for the Native Instruments websites and Native Access on February 28, 2024 starting at 06:00 CET. For more details, click here.

Some specific help with release triggers

Matt Cossey
Matt Cossey Member Posts: 3 Newcomer
edited August 2023 in Scripting Workshop

Hi guys, am reasonably new to scripting so am hoping there are some experts here who can help me out.

I've referenced some of Dave Hilowitz's videos, and in particular used some of Nils Liberg's code to sort out most of my release trigger issues... however... whilst I've stopped key release triggers playing when the pedal is released, I can't get them to play whilst the sustain pedal is down.

Effectively, I've sampled the mechanical sound of the piano, and of course the mechanical noise of the key lifting sounds regardless of whether the sustain pedal is down or not. But for the life of me I can't figure out how to get the key release sample to ignore the hold of the sustain pedal.

Would so appreciate some insights if anyone has any.


Thank you!

Comments

  • stephen24
    stephen24 Member Posts: 257 Advisor

    Play the key release sample in a release callback

    on release - play the keyboard sample, wherever it is - end on

  • Matt Cossey
    Matt Cossey Member Posts: 3 Newcomer

    Thanks for the response Stephen. Will that work even if the pedal is down? i.e. will it ignore the hold of the pedal and still play the sample when the key is released? Thanks!

  • stephen24
    stephen24 Member Posts: 257 Advisor

    Try it and see

Back To Top