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

How to trigger sample from note-on only

Discussion in 'KONTAKT' started by Batflap, May 11, 2005.

Thread Status:
Not open for further replies.
  1. Batflap

    Batflap Forum Member

    Messages:
    44
    Newbie question here: Is it possible to trigger a sample in Kontakt 2from just a note-on signal that then lasts the full duration of teh sample? I.e. I don't want to have to hold down the keyboard note (or make a MIDI note e.g. 10s long in my key editor) for the whole duration of the sample to play.

    Any help?
     
  2. doume

    doume NI Product Owner

    Messages:
    11
    A possible solution is an ADSR envelope with decay (and release too if you want) set to values longer than the samples. Sustain could be zeroed. The sampler will play the whole sample in the same manner with any midi noteon duration. It is the classical enveloppe for percussive bell type sounds in old synths (I learned it from my good old juno60 !). You can put the enveloppe after the amplifier on all groups, or as output insert I guess.

    Another possibility is certainly using the script which has time parameters.

    And there are probably other solutions.

    Hope that helps

    Dominique
     
  3. fizbin

    fizbin NI Product Owner

    Messages:
    78
    Usually this is done by setting the sample ADSR release to its highest value.

    Also, I'm not at my DAW to test it, but it should be very simple. I think this script will do it:
    Code:
    on init
    	message("")
    end on
    
    on release
    	ignore_event($EVENT_ID)
    end on
    
    I you have a looped sample it will play forever with the scripted method.

    fizbin
     
Thread Status:
Not open for further replies.