« Return to Thread: making a delay with feedback

RE: making a delay with feedback

by Iain McCurdy :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
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@...
> 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.

 « Return to Thread: making a delay with feedback