[Stk] Bowed one-pole, sample rate assumption?

Perry R Cook prc at CS.Princeton.EDU
Tue Nov 11 13:21:25 PST 2008


You could, but then it would only be valid for
44100.0 sample rate.  STK allows you to run it
with various sample rates, so this makes it more
generic and flexible.

PRC

----- "Stephen Sinclair" <sinclair at music.mcgill.ca> wrote:

> Hi,
> 
> 
> 
> In Bowed.cpp, the stringFilter one-pole is initialized with the
> 
> following calculation:
> 
> 
> 
>   stringFilter_.setPole( 0.6 - (0.1 * 22050.0 / Stk::sampleRate()) );
> 
> 
> 
> Is it safe to assume that 22050.0 / Stk::sampleRate() should be
> 
> replaced with 0.5?
> 
> 
> 
> 
> 
> Steve
> 
> 
> 
> _______________________________________________
> 
> Stk mailing list
> 
> Stk at ccrma.stanford.edu
> 
> http://ccrma-mail.stanford.edu/mailman/listinfo/stk



More information about the Stk mailing list