Re: LeakDC coef to freq

[email protected]
Newsgroups gmane.comp.audio.supercollider.user
Message-ID <[email protected]>
If coef = exp(-2pi * (cutFreq/SampleRate))
then cutFreq = -ln(coef)*SampleRate/2pi

> On March 11, 2021 11:43 AM olaf-xpEK/[email protected] wrote:
> 
>  
> and from coef to freq?
> 
> On 11/03/2021 15:49, [email protected] wrote:
> > Hi Olaf,
> >
> > I once figured this out, don't know how anymore, but here's the formula in sc code:
> >
> > (-2pi * (cutFreq/SampleRate.ir)).exp;
> >
> > (where cutFreq is the frequency in Hz, best between 1 and 200.
> >
> > cheers,
> > Wouter
> >
> >
> >
> >
> >> Op 11 mrt. 2021, om 08:27 heeft olaf-xpEK/[email protected] het volgende geschreven:
> >>
> >> Hi
> >>
> >> Does anyone know the formula to translate the LeakDC coef argument to frequency? (I am especially interested in the formula for audio rate.)
> >>
> >> best,
> >>
> >> olaf
> >>
> >>
> >>
> >> _______________________________________________
> >> sc-users mailing list
> >>
> >> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> >> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> >> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
> >
> > _______________________________________________
> > sc-users mailing list
> >
> > info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> > archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> > search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
> >
> 
> 
> _______________________________________________
> sc-users mailing list
> 
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.