[PD] [ggee/notch] / [ggee/bandpass] seem to work at default/fixed samplerate of 44100

Fred Jan Kraan fjkraan at xs4all.nl
Sun May 3 15:58:26 CEST 2015


On 2015-05-03 03:11 PM, Alexandros Drymonitis wrote:
>
>
> On Sun, May 3, 2015 at 2:58 PM, Raphaël Ilias <phae.ilias at gmail.com
> <mailto:phae.ilias at gmail.com>> wrote:
>
>     However, IMHO, since frequency representation is related to the time
>     and not the sampling rate, I think this should be corrected in the
>     object itself, maybe as Alexandros suggested.
>     But I don't have the skills to do that myself... hope Günther will
>     read this.
>
> I've written some externals and used this and it works fine. If you just
> change this line of code and compile the object, it should work, I guess...
>
It might be better to replace the 44100.0 by the proper function here like:
x->x_rate = sys_getsr();

But more objects in ggee have the same issue. Maybe the author had a 
good reason for this...

A patch to fix them all is easy to make and add to sourceforge.

Fred Jan




More information about the Pd-list mailing list