Some specific help with release triggers

Matt Cossey
Matt Cossey Member Posts: 5 Newcomer
edited October 2024 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: 428 Pro

    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: 5 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: 428 Pro

    Try it and see

This discussion has been closed.
Back To Top