To trigger a release state.
Date | 2017-04-03 21:56 |
From | Forrest Curo |
Subject | To trigger a release state. |
In the example for xtratim, we find the 'release' opcode which detects a release state:krel release ;outputs release-stage flag (0 or 1 values) How can I set that flag when I'm using real-time input, but not via midi? |
Date | 2017-04-03 21:59 |
From | Steven Yi |
Subject | Re: To trigger a release state. |
The release flag is set to true when the p3 duration is done and xtratim is initiated. Csound will execute an instrument for the total time of p3 + xtratim. On Mon, Apr 3, 2017 at 4:56 PM, Forrest Curo |
Date | 2017-04-03 22:12 |
From | Forrest Curo |
Subject | Re: To trigger a release state. |
In this case p3 is always set negative... but anyway, I see that this works:kvel = p4 if(kvel != 0) goto leaveon turnoff2 p1, 5, 1 leaveon: On Mon, Apr 3, 2017 at 1:59 PM, Steven Yi <stevenyi@gmail.com> wrote: The release flag is set to true when the p3 duration is done and |
Date | 2017-04-03 23:20 |
From | Forrest Curo |
Subject | Re: To trigger a release state. |
Not quite yet -- Should probably be: kvel init p4 if(kvel != 0) goto leaveon turnoff2 p1, 5, 1 kvel =1 leaveon: ??? On Mon, Apr 3, 2017 at 2:12 PM, Forrest Curo <treegestalt@gmail.com> wrote:
|