[Csnd] infinite delay
Date | 2009-10-06 14:39 |
From | Charles Gran |
Subject | [Csnd] infinite delay |
I am trying to do is have something delayed (looped) at full strength and then when given a trigger begin to decay after a time. I don't have the instrument in front of me, but what I've been working at is something like: adelay comb a1, 60000, 16 to get the delay without (noticeable) decay. And use an if/then triggered by a knob from a midi controller (if kcon >= 1/2 then...) to multiply adelay by a line. kline linen 1,6,1,0,5 I see various other loop mechanisms such as loop_ge, but the documentation a bit terse for me to understand what it does. Is there a better way to go? Charles Send bugs reports to this list. To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" |
Date | 2009-10-06 14:57 |
From | Iain McCurdy |
Subject | [Csnd] RE: infinite delay |
Hi Charles, I really think you should be using a delay buffer construction to do this. e.g. ;amount of feedback (range 0 - 1). 1 = no decay, 0=maximum decay (only 1 echo) ;you'll probably want to control this from your MIDI controller kfb = 0.9 ;define (and read from the end of) a delay buffer. Also define its duration in seconds abufout delayr 2 ;'tap' an audio signal from within this buffer at the stipulated time (in seconds) along its length ;(must be less than the entire length of the buffer) ;this will be the audio signal we are interested in, not 'abufout' adelay deltapi 0.0625 ;write into the beginning of this buffer. (Input signal and feedback signal) deltapw a1 + (adelay * kfb) ;mix dry signal and delays out a1+adelay Hope this helps, Iain > Date: Tue, 6 Oct 2009 08:39:46 -0500 > From: chasgran@gmail.com > To: csound@lists.bath.ac.uk > Subject: [Csnd] infinite delay > > I am trying to do is have something delayed (looped) at full strength > and then when given a trigger begin to decay after a time. I don't > have the instrument in front of me, but what I've been working at is > something like: > > adelay comb a1, 60000, 16 > > to get the delay without (noticeable) decay. And use an if/then > triggered by a knob from a midi controller (if kcon >= 1/2 then...) > > to multiply adelay by a line. > > kline linen 1,6,1,0,5 > > I see various other loop mechanisms such as loop_ge, but the > documentation a bit terse for me to understand what it does. Is there > a better way to go? > > Charles > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" New! Receive and respond to mail from other email accounts from within Hotmail Find out how. |
Date | 2009-10-06 15:03 |
From | Iain McCurdy |
Subject | [Csnd] RE: RE: infinite delay |
whoops, delayw a1 + (adelay * kfb) not: deltapw a1 + (adelay * kfb) From: i_mccurdy@hotmail.com To: csound@lists.bath.ac.uk Date: Tue, 6 Oct 2009 13:57:15 +0000 Subject: [Csnd] RE: infinite delay Hi Charles, I really think you should be using a delay buffer construction to do this. e.g. ;amount of feedback (range 0 - 1). 1 = no decay, 0=maximum decay (only 1 echo) ;you'll probably want to control this from your MIDI controller kfb = 0.9 ;define (and read from the end of) a delay buffer. Also define its duration in seconds abufout delayr 2 ;'tap' an audio signal from within this buffer at the stipulated time (in seconds) along its length ;(must be less than the entire length of the buffer) ;this will be the audio signal we are interested in, not 'abufout' adelay deltapi 0.0625 ;write into the beginning of this buffer. (Input signal and feedback signal) deltapw a1 + (adelay * kfb) ;mix dry signal and delays out a1+adelay Hope this helps, Iain > Date: Tue, 6 Oct 2009 08:39:46 -0500 > From: chasgran@gmail.com > To: csound@lists.bath.ac.uk > Subject: [Csnd] infinite delay > > I am trying to do is have something delayed (looped) at full strength > and then when given a trigger begin to decay after a time. I don't > have the instrument in front of me, but what I've been working at is > something like: > > adelay comb a1, 60000, 16 > > to get the delay without (noticeable) decay. And use an if/then > triggered by a knob from a midi controller (if kcon >= 1/2 then...) > > to multiply adelay by a line. > > kline linen 1,6,1,0,5 > > I see various other loop mechanisms such as loop_ge, but the > documentation a bit terse for me to understand what it does. Is there > a better way to go? > > Charles > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" New! Receive and respond to mail from other email accounts from within Hotmail Find out how. View your other email accounts from your Hotmail inbox. Add them now. |
Date | 2009-10-10 21:02 |
From | Charles Gran |
Subject | [Csnd] Re: RE: RE: infinite delay |
Thanks Ian, After having read the section on delays (up to flangers) in the csound book I understand how this works. What I'm not sure about is why you recommend it. Is it because of the ability to have multiple taps? Charles On Tue, Oct 6, 2009 at 9:03 AM, Iain McCurdy |
Date | 2009-10-11 09:44 |
From | Iain McCurdy |
Subject | [Csnd] RE: Re: RE: RE: infinite delay |
Hi Charles, As well as multi-tap delays there are many other interesting possibilities for processing the audio signal within the buffer when using an open delay buffer such as this - which is why I think I'm recommending it. This method of creating an infinite repeats delay is also the one used by hardware delays. There are of course no rules about how to approach problems in Csound but this is the route I would choose. Bye, Iain > Date: Sat, 10 Oct 2009 15:02:17 -0500 > From: chasgran@gmail.com > To: csound@lists.bath.ac.uk > Subject: [Csnd] Re: RE: RE: infinite delay > > Thanks Ian, > After having read the section on delays (up to flangers) in the csound > book I understand how this works. What I'm not sure about is why you > recommend it. Is it because of the ability to have multiple taps? > > Charles > > On Tue, Oct 6, 2009 at 9:03 AM, Iain McCurdy <i_mccurdy@hotmail.com> wrote: > > whoops, > > delayw a1 + (adelay * kfb) > > > > not: > > deltapw a1 + (adelay * kfb) > > > > ________________________________ > > From: i_mccurdy@hotmail.com > > To: csound@lists.bath.ac.uk > > Date: Tue, 6 Oct 2009 13:57:15 +0000 > > Subject: [Csnd] RE: infinite delay > > > > Hi Charles, > > > > I really think you should be using a delay buffer construction to do this. > > e.g. > > > > ;amount of feedback (range 0 - 1). 1 = no decay, 0=maximum decay (only 1 > > echo) > > ;you'll probably want to control this from your MIDI controller > > kfb = 0.9 > > > > ;define (and read from the end of) a delay buffer. Also define its duration > > in seconds > > abufout delayr 2 > > > > ;'tap' an audio signal from within this buffer at the stipulated time (in > > seconds) along its length > > ;(must be less than the entire length of the buffer) > > ;this will be the audio signal we are interested in, not 'abufout' > > adelay deltapi 0.0625 > > > > ;write into the beginning of this buffer. (Input signal and feedback signal) > > deltapw a1 + (adelay * kfb) > > > > ;mix dry signal and delays > > out a1+adelay > > > > Hope this helps, > > Iain > > > > > > > > > >> Date: Tue, 6 Oct 2009 08:39:46 -0500 > >> From: chasgran@gmail.com > >> To: csound@lists.bath.ac.uk > >> Subject: [Csnd] infinite delay > >> > >> I am trying to do is have something delayed (looped) at full strength > >> and then when given a trigger begin to decay after a time. I don't > >> have the instrument in front of me, but what I've been working at is > >> something like: > >> > >> adelay comb a1, 60000, 16 > >> > >> to get the delay without (noticeable) decay. And use an if/then > >> triggered by a knob from a midi controller (if kcon >= 1/2 then...) > >> > >> to multiply adelay by a line. > >> > >> kline linen 1,6,1,0,5 > >> > >> I see various other loop mechanisms such as loop_ge, but the > >> documentation a bit terse for me to understand what it does. Is there > >> a better way to go? > >> > >> Charles > >> > >> > >> Send bugs reports to this list. > >> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe > >> csound" > > > > ________________________________ > > New! Receive and respond to mail from other email accounts from within > > Hotmail Find out how. > > ________________________________ > > View your other email accounts from your Hotmail inbox. Add them now. > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" Use Hotmail to send and receive mail from your different email accounts. Find out how. |