Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: statevar source questions.

Date2009-09-13 05:49
From"Partev Barr Sarkissian"
Subject[Csnd] Re: Re: statevar source questions.
svfiter and statevar, as in state variable filters?
All this time and it just came to me now. Use to 
build those back in the 1980's, 4th-Order SV-VCF's
modules for a modular hardware system. 

I'll have to revisit those again in the MacCsound,
on my next patches.

-Partev


==========================================================



--- stevenyi@gmail.com wrote:

From: Steven Yi 
To: csound@lists.bath.ac.uk
Subject: [Csnd] Re: statevar source questions.
Date: Sat, 12 Sep 2009 23:58:00 -0400

I'm curious about statevar, as last I checked it sounded quite
different from svfilter and sounded a bit off to me at the time.

On Sat, Sep 12, 2009 at 7:50 PM, Steven Cook
 wrote:
> Hi,
>
> I've been looking at the Csound source code (v5.05) and am confused by
> statevar. This implementation of a state variable filter appears to store
> three state variables, lpd, bpd & lp, but I *think* only two are needed. The
> first line of the process loop:
>
> hp = in[i] - q*bpd - lp;
>
> ...uses lp when it should use lpd. Lp (is it right to capitalize here!?)
> could be a temporary variable. While I'm here, the frequency setting line
> should be:
>
> f = 2.0*sin(pi*freq*(double)csound->pidsr/ostimes);
>
> ...with added pi.
>
> Of course, it's getting very late, so all of the above could be flawed...
>
> Regards,
>
> Steven Cook.
> http://www.spcplugins.com/
> +44(0)1271 867288
>
>
>
> 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"




_____________________________________________________________
Netscape.  Just the Net You Need.


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