[Csnd]
Date | 2012-08-08 02:08 |
From | Roger Kelly |
Subject | [Csnd] |
I am trying to solve what seems like a simple problem. I would like to simulate the release portion of an ADSR using 2 score entries. Something like this: i1 0 3 = ADSR with R set to .5 i1 0 3 = trap currently playing voice and do a "line" to fade out the amplitude
Is there some way to do this? I thought if I had a way to know the current amplitude of the currently playing voice I could create a "line" from current to 0. Any ideas?
|
Date | 2012-08-08 02:11 |
From | Steven Yi |
Subject | Re: [Csnd] |
Hi Roger, Have you looked at using tied notes? It sounds like what you are trying to do can be done with them. There is a chapter in the Csound Book by Richard Dobson, and I've written a Csound Journal article on as well: http://www.csounds.com/journal/2005fall/tiedNotes.html Hope that helps! steven On Tue, Aug 7, 2012 at 9:08 PM, Roger Kelly |
Date | 2012-08-08 03:43 |
From | Roger Kelly |
Subject | Re: [Csnd] |
Thanks for the advice. After some experimenting, I was able to build exactly what I wanted. Basically on my second tie note I was able to send a p-val to control a second "linseg" for the release portion of the envelope.
I am continually amazed to find almost everything I dream up to do can be done so easily in Csound!
On Tue, Aug 7, 2012 at 8:11 PM, Steven Yi <stevenyi@gmail.com> wrote: Hi Roger, |
Date | 2012-08-11 04:09 |
From | Roger Kelly |
Subject | Re: [Csnd] |
I have a tied note working for my release segment on an Android app. However there is noticable click on sendScore for the second tied note that handles the release portion. It works with using a "line" for the release portion, but I can't figure out why there is a click at the time of sending the "release"/note off event. I noticed in the tied note example this: aout vco2 1, kpchline, iskip aout moogladder aout, 4000, 0.5, iskip What is iskip used for in this case? Is the click a problem with phase restarting or the filter restarting something? On Tue, Aug 7, 2012 at 9:43 PM, Roger Kelly <loraxman@gmail.com> wrote: Thanks for the advice. After some experimenting, I was able to build exactly what I wanted. |