[Csnd] making a delay with feedback
Date | 2009-06-23 15:04 |
From | Atte Andre Jensen |
Subject | [Csnd] making a delay with feedback |
Hi I'm struggling to make (what would seem) a simple delay with variable feedback. But no matter what I try it just won't behave. If someone could make a simple example from the following (it's supposed to be happening in an always-on output-module instrument), I'll be forever grateful (and forever copy/paste'ing the code): imaxdelay = 5; seconds kdelay = 1; seconds kfeedback = .5; 0-1 ; 0 = no delay in output ; 1 = constant feedback, even if a_the_dry_signal stops ; sounding asignal = a_the_dry_signal ; here should be the code to make the delay happen :-) out asignal I'm sorry about the newbie question, I never seemed to be able to wrap my head around deltapi and friends. -- Atte http://atte.dk http://modlys.dk http://virb.com/atte |
Date | 2009-06-23 16:12 |
From | Iain McCurdy |
Subject | [Csnd] RE: making a delay with feedback |
Hi Atte, something like this should work: imaxdelay = 5; seconds kdelay = 1; seconds kfeedback = .5; 0-1 ; 0 = no delay in output ; 1 = constant feedback, even if a_the_dry_signal stops ; sounding asignal = a_the_dry_signal afeedbacksig init 0 abufout delayr imaxdelay atap deltap3 kdelay delayw asignal + afeedbacksig afeedbacksig = atap*kfeedback ;used in the next k pass out asignal bye, Iain > Date: Tue, 23 Jun 2009 16:04:56 +0200 > From: atte.jensen@gmail.com > To: csound@lists.bath.ac.uk > Subject: [Csnd] making a delay with feedback > > Hi > > I'm struggling to make (what would seem) a simple delay with variable > feedback. But no matter what I try it just won't behave. If someone > could make a simple example from the following (it's supposed to be > happening in an always-on output-module instrument), I'll be forever > grateful (and forever copy/paste'ing the code): > > imaxdelay = 5; seconds > kdelay = 1; seconds > kfeedback = .5; 0-1 > ; 0 = no delay in output > ; 1 = constant feedback, even if a_the_dry_signal stops > > ; sounding > asignal = a_the_dry_signal > ; here should be the code to make the delay happen :-) > out asignal > > I'm sorry about the newbie question, I never seemed to be able to wrap > my head around deltapi and friends. > > -- > Atte > > http://atte.dk http://modlys.dk http://virb.com/atte > > > Send bugs reports to this list. > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound" Bing™ brings you maps, menus, and reviews organized in one place. Try it now. |
Date | 2009-06-23 16:45 |
From | Victor.Lazzarini@nuim.ie |
Subject | [Csnd] Re: RE: making a delay with feedback |
Attachments | None None |
Date | 2009-06-24 02:04 |
From | Atte Andre Jensen |
Subject | [Csnd] Re: Re: RE: making a delay with feedback |
Victor.Lazzarini@nuim.ie wrote: > abufout delayr imaxdelay > atap deltap3 kdelay > delayw asignal + atap*kfeedback Thanks, this works. The most stupid thing is I actually had this, but somehow forgot that kdelay is in seconds (not ms) so I was operating out of range compared to imaxdelay, and stupid me couldn't figure out why I was always hearing the 5 seconds delay that was set by imaxdelay. > Also, as a rule of thumb, setting ksmps=1 should be > a good thing too, in case you want to go down to 1-sample > and/or use variable delays (to have a fine degree of variability too). This is a realtime orchestra, so unfortunately ksmp=1 is not gonna work. However 1 sample delay is not gonna happen in this case. I am, however, using variable delays, how would I benefit from having ksmp=1 in this regard? -- Atte http://atte.dk http://modlys.dk http://virb.com/atte |
Date | 2009-06-24 08:05 |
From | victor |
Subject | [Csnd] Re: Re: Re: RE: making a delay with feedback |
you can ignore my advice then. Victor ----- Original Message ----- From: "Atte Andre Jensen" |
Date | 2009-06-24 09:25 |
From | Atte Andre Jensen |
Subject | [Csnd] Re: Re: Re: Re: RE: making a delay with feedback |
victor wrote: > you can ignore my advice then. Ok, thanks for the help. -- Atte http://atte.dk http://modlys.dk http://virb.com/atte |