Csound Csound-dev Csound-tekno Search About

[Csnd] Flanging

Date2009-12-03 13:15
FromCarl
Subject[Csnd] Flanging
Hi Guys,
Does anyone know how to set up a flanging effect in an instrument. I've
played around trying to offset one instrument with another but cant get it
to work?
Thanks

Date2009-12-03 13:21
FromMichael Gogins
Subject[Csnd] Re: Flanging
Modulate the delay time in a delay line, and play the delayed signal
with the original signal.

Regards,
Mike

On 12/3/09, Carl  wrote:
> Hi Guys,
> Does anyone know how to set up a flanging effect in an instrument. I've
> played around trying to offset one instrument with another but cant get it
> to work?
> Thanks
>
> --
> "Call me what you like....but don't call me in the morning."
> http://www.myspace.com/bluefevermusic
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"

Date2009-12-03 13:23
FromOeyvind Brandtsegg
Subject[Csnd] Re: Flanging
Here is an example using vdelayx to do the modulating delay line.
The depth, rate, feed and offset parameters can be adjusted to taste.
If you use an larger offset (in the 15 to 40 ms range), you will get
more of a chorus effect although a single voice chorus might be quite
thin.
The flang waveform is a standard sine.
Input to the flanger is the audio signal a1, output is aOut

best
Oeyvind

*** csound instrument excerpt
; flanger
	aDepth		= 2					; flanger depth (in milliseconds)
	kRate		= 0.3					; flanger rate (speed)
	kFeed		= 0.8					; flanger feedback
	iOffset		= 2					; delay time offset
	iFlangWave	= giSine				; flanger waveform
	aDelayTime	oscil	0.5, kRate, iFlangWave		; delay time oscillator (LFO)
	aDelayTime	= ((aDelayTime+0.5)*aDepth)+iOffset	; scale and offset LFO
	iMaxDelay	= 0.1
	iWindowSize	= 4
	aFeed		init 0
	aFlanger 	vdelayx a1+aFeed, aDelayTime*0.001, iMaxDelay, iWindowSize
	aFeed		= aFlanger*kFeed
	aOut		= (a1 + aFlanger) * iamp
***

2009/12/3 Carl :
> Hi Guys,
> Does anyone know how to set up a flanging effect in an instrument. I've
> played around trying to offset one instrument with another but cant get it
> to work?
> Thanks
>
> --
> "Call me what you like....but don't call me in the
> morning."http://www.myspace.com/bluefevermusic
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-03 14:50
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Flanging
I assume that the flanger opcode is not sufficient?

==John ff



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-03 15:55
FromOeyvind Brandtsegg
Subject[Csnd] Re: Re: Flanging
O yes, it would do just fine. Just didn't think of it, as I made the
example for some of my students to show how a flanger could be built.
Oeyvind

2009/12/3  :
> I assume that the flanger opcode is not sufficient?
>
> ==John ff
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-04 00:57
FromCarl
Subject[Csnd] Re: Re: Re: Flanging
Cool, thanks!

On Thu, Dec 3, 2009 at 3:55 PM, Oeyvind Brandtsegg <obrandts@gmail.com> wrote:
O yes, it would do just fine. Just didn't think of it, as I made the
example for some of my students to show how a flanger could be built.
Oeyvind

2009/12/3  <jpff@cs.bath.ac.uk>:
> I assume that the flanger opcode is not sufficient?
>
> ==John ff
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



--
"Call me what you like....but don't call me in the morning."http://www.myspace.com/bluefevermusic