[PD] GGEE [lowpass] error vs. purepd [lowpass]? was Re: basic resonant filters in Pd
IOhannes m zmoelnig
zmoelnig at iem.at
Tue May 19 09:39:16 CEST 2009
Claude Heiland-Allen wrote:
> IOhannes m zmoelnig wrote:
>> brandon zeeb wrote:
>>> Btw, this seems to be a feature of almost all of the GGEE biquad
>>> coefficient
>>> externals. Check line 67 on highpass.c, bandpass.c, equalizer.c, and so
>>> forth. I'm not sure how you would want to handle this, but keep in mind
>>> it's systemic.
>>>
>>
>> you would systematically use x->x_rate=sys_getsr().
>
> Some additional questions:
>
> What about [block~] up/downsampling? does that get taken into account by
> sys_getsr()? when is it safe/recommended to call sys_getsr()? (I guess
> in the dsp add method?)
>
ok.
sys_getsr() reports the sample-rate of the audio-backend.
whatever happens within the patch (up/downsampling) does not affect this
value.
if you want to get the sample-blocks samplerate, you get this from the
t_signal structure (as passed to the dsp callback)
unfortunately, the sr in this structure always munges in the overlap
factor...
vfsamsdr
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090519/3fe9d701/attachment.bin>
More information about the Pd-list
mailing list