[Csnd] envelopes for restriking an instrument
Date | 2010-06-02 04:05 |
From | Aaron Krister Johnson |
Subject | [Csnd] envelopes for restriking an instrument |
Hi all, I have an elegant FM kalimba instrument. I want to use numbered 'x.yy' instruments called with 'event_i' from a helper instrument to trigger it, so that there is a 'legato' envelope. Not sustained legato, mind you, but I'm hoping that the new instance of the instrument will take an amplitude value from the old, bring it to zero quickly before reinit of a new percussive envelope. This is akin to how the thumb on a kalimba stops the sound of the kalimba (if it's the same tine (pitch)) just before restarting it on the downstroke of plucking. I know this is possible, and I know it's similar to a legato instrument, but the examples I see all seem to talk about legato instruments where there is a sustain portion of the envelope....i.e., the instrument always has a constant energy source. How can one translate this idea to a more percussive envelope, so that we can keep a decay/release segment going, have it stop and quickly attack again, w/o clicks? Best, Aaron Krister Johnson http://www.akjmusic.com http://www.untwelve.org |
Date | 2010-06-02 10:01 |
From | Iain McCurdy |
Subject | [Csnd] RE: envelopes for restriking an instrument |
adecay linsegr 1,3,0,0.1,0 aattack linseg 0,0.3,0,0.01,1,1,1 aenv = adecay * aattack is something like this a possibility? The natural decay time of the resultant envelope is 3 seconds but if a note is turned off before this is completed (e.g. by a new note being played) a release time of 0.1 seconds is used to simulate the time it takes for the thumb to damp the tine. The zero flat line of 0.3 seconds of the attack envelope allows this release segement to complete before the new note begins. As a result of this the actual decay time of a note will be 0.3s shorter, i.e. in this example 2.7s. You will need to ensure that old notes are turned off if new notes overlap either in the score or by using turnoff2 etc. Let me know if any of this helps. Iain ________________________________ > Date: Tue, 1 Jun 2010 22:05:17 -0500 > From: aaron@akjmusic.com > To: csound@lists.bath.ac.uk > Subject: [Csnd] envelopes for restriking an instrument > > Hi all, > > I have an elegant FM kalimba instrument. I want to use numbered 'x.yy' instruments called with 'event_i' from a helper instrument to trigger it, so that there is a 'legato' envelope. Not sustained legato, mind you, but I'm hoping that the new instance of the instrument will take an amplitude value from the old, bring it to zero quickly before reinit of a new percussive envelope. This is akin to how the thumb on a kalimba stops the sound of the kalimba (if it's the same tine (pitch)) just before restarting it on the downstroke of plucking. > > I know this is possible, and I know it's similar to a legato instrument, but the examples I see all seem to talk about legato instruments where there is a sustain portion of the envelope....i.e., the instrument always has a constant energy source. How can one translate this idea to a more percussive envelope, so that we can keep a decay/release segment going, have it stop and quickly attack again, w/o clicks? > > Best, > > Aaron Krister Johnson > http://www.akjmusic.com > http://www.untwelve.org > _________________________________________________________________ http://clk.atdmt.com/UKM/go/197222280/direct/01/ Do you have a story that started on Hotmail? Tell us now Send bugs reports to the Sourceforge bug tracker https://sourceforge.net/tracker/?group_id=81968&atid=564599 Discussions of bugs and features can be posted here To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |