|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
making a delay with feedbackHi
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@... with body "unsubscribe csound" |
|
|
RE: making a delay with feedbacksomething 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@... > To: csound@... > 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@... with body "unsubscribe csound" Bing™ brings you maps, menus, and reviews organized in one place. Try it now. |
|
|
Re: RE: making a delay with feedbackabufout delayr imaxdelay atap deltap3 kdelay delayw asignal + atap*kfeedback On a quick glance, my impression is that the code below adds 1 extra k-period to the feedback path (but I might be wrong on this). 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). Using an audio signal for delaytime also smooths things in variable delays. You can place it in a UDO so that you don't need to inflict the high kr on the whole of your orchestra. Victor ----- Original Message ----- From: Iain McCurdy <i_mccurdy@...> Date: Tuesday, June 23, 2009 4:13 pm Subject: [Csnd] RE: making a delay with feedback To: csound@... >
Bing™ brings you maps, menus, and reviews organized in one place. Try it now. > Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National University of Ireland, Maynooth |
|
|
Re: Re: RE: making a delay with feedbackVictor.Lazzarini@... 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 Send bugs reports to this list. To unsubscribe, send email sympa@... with body "unsubscribe csound" |
|
|
Re: Re: Re: RE: making a delay with feedbackyou can ignore my advice then.
Victor ----- Original Message ----- From: "Atte Andre Jensen" <atte.jensen@...> To: <csound@...> Sent: Wednesday, June 24, 2009 2:04 AM Subject: [Csnd] Re: Re: RE: making a delay with feedback > Victor.Lazzarini@... 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 > > > Send bugs reports to this list. > To unsubscribe, send email sympa@... with body "unsubscribe > csound" Send bugs reports to this list. To unsubscribe, send email sympa@... with body "unsubscribe csound" |
|
|
Re: Re: Re: Re: RE: making a delay with feedbackvictor wrote:
> you can ignore my advice then. Ok, thanks for the help. -- Atte http://atte.dk http://modlys.dk http://virb.com/atte Send bugs reports to this list. To unsubscribe, send email sympa@... with body "unsubscribe csound" |
| Free embeddable forum powered by Nabble | Forum Help |