Csound Csound-dev Csound-tekno Search About

[Csnd] Cutting off frequencies from a noise

Date2012-04-11 17:09
FromXion
Subject[Csnd] Cutting off frequencies from a noise
Hello there.
I'm new on the forum and pretty new to CSound.
I'm exploring its capabilities, but I have to make a thing and I can't
figure out how.

First of all: please forgive my bad english.  

I would like to make a noise (a band of frequencies, like a 1000 Hz freq
range) and progressively cut off some frequencies from it. I don't want to
use a hp or lp filter, I want to cut a single frequency (better if randomly
determined, but it's not the most important thing). Then another, and so on
until only one remains.
After that I would like to add those frequencies again, one by one, until
the band is "complete" again.

I'm quite ok with making the noise, using the "rand" opcode, but I don't
know how to do the cut-add thing.

Is there a way you know to do that (hope I've been able to explain it well)?

Thank you very much in advance.

Davide 

--
View this message in context: http://csound.1045644.n5.nabble.com/Cutting-off-frequencies-from-a-noise-tp5633321p5633321.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2012-04-11 17:21
Fromjpff@cs.bath.ac.uk
SubjectRe: [Csnd] Cutting off frequencies from a noise
sounds like you need a band-reject filter like butterbr
there may be better ways that the experts know

> Hello there.
> I'm new on the forum and pretty new to CSound.
> I'm exploring its capabilities, but I have to make a thing and I can't
> figure out how.
>
> First of all: please forgive my bad english.
>
> I would like to make a noise (a band of frequencies, like a 1000 Hz freq
> range) and progressively cut off some frequencies from it. I don't want to
> use a hp or lp filter, I want to cut a single frequency (better if
> randomly
> determined, but it's not the most important thing). Then another, and so
> on
> until only one remains.
> After that I would like to add those frequencies again, one by one, until
> the band is "complete" again.
>
> I'm quite ok with making the noise, using the "rand" opcode, but I don't
> know how to do the cut-add thing.
>
> Is there a way you know to do that (hope I've been able to explain it
> well)?
>
> Thank you very much in advance.
>
> Davide
>
> --
> View this message in context:
> http://csound.1045644.n5.nabble.com/Cutting-off-frequencies-from-a-noise-tp5633321p5633321.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>
>



Date2012-04-11 20:08
FromAndres Cabrera
SubjectRe: [Csnd] Cutting off frequencies from a noise
Hi,

Just to be picky, you won't really get of the noise if you take out a
single frequency because noise is an infinite sum. You will always
have to take out a band of frequencies. Like John says, you could use
notch filters or you could do it in the frequency domain as well
getting rid of the amplitude of one bin at a time (not a great
suggestion for a beginner, but maybe it will make you curious about
the pvs opcodes...)

Cheers,
Andrés

On Wed, Apr 11, 2012 at 5:09 PM, Xion  wrote:
> Hello there.
> I'm new on the forum and pretty new to CSound.
> I'm exploring its capabilities, but I have to make a thing and I can't
> figure out how.
>
> First of all: please forgive my bad english.
>
> I would like to make a noise (a band of frequencies, like a 1000 Hz freq
> range) and progressively cut off some frequencies from it. I don't want to
> use a hp or lp filter, I want to cut a single frequency (better if randomly
> determined, but it's not the most important thing). Then another, and so on
> until only one remains.
> After that I would like to add those frequencies again, one by one, until
> the band is "complete" again.
>
> I'm quite ok with making the noise, using the "rand" opcode, but I don't
> know how to do the cut-add thing.
>
> Is there a way you know to do that (hope I've been able to explain it well)?
>
> Thank you very much in advance.
>
> Davide
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/Cutting-off-frequencies-from-a-noise-tp5633321p5633321.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>