What's new

Script Required

audioeditor

New Member
1. Is there a script that than delete AHDSR (picture attached) on int?

2. For release trigger, I am looking for a script where the main sample plays for 200ms with a fade out after release along with the release trigger sample.

3. I was also wondering if there is a simple script where I can activate release trigger on pressing (holding a key) else the samples play without release.
 

Attachments

  • Env Ahdsr.png
    Env Ahdsr.png
    12.1 KB · Views: 10
1. No.

2. That's fairly simple:

Code:
on note
    ignore_event($EVENT_ID)
    play_note($EVENT_NOTE, $EVENT_VELOCITY, 0, 200000)
end on

You should keep that AHDSR envelope to set up the fade out time using the Release parameter, make sure Sustain is at max tho.

3. Can simply purge/unpurge the release triggered groups via button and they won't play then.
 
Last edited by a moderator:
Top Bottom