Z ll On 3 May 2015 14:13, pd-list-request@lists.iem.at wrote:
Send Pd-list mailing list submissions to pd-list@lists.iem.at
To subscribe or unsubscribe via the World Wide Web, visit http://lists.puredata.info/listinfo/pd-list or, via email, send a message with subject or body 'help' to pd-list-request@lists.iem.at
You can reach the person managing the list at pd-list-owner@lists.iem.at
When replying, please edit your Subject line so it is more specific than "Re: Contents of Pd-list digest..."
Today's Topics:
- Re: [ggee/notch] / [ggee/bandpass] seem to work at default/fixed samplerate of 44100 (Alexandros Drymonitis)
- pix_openni can not start depth stream (Csaba Láng)
- Re: pix_openni can not start depth stream (Csaba Láng)
- Re: [ggee/notch] / [ggee/bandpass] seem to work at default/fixed samplerate of 44100 (Raphaël Ilias)
- Re: [ggee/notch] / [ggee/bandpass] seem to work at default/fixed samplerate of 44100 (Alexandros Drymonitis)
Message: 1 Date: Sun, 3 May 2015 14:07:23 +0300 From: Alexandros Drymonitis adrcki@gmail.com To: "Peter P." peterparker@fastmail.com Cc: pd-list pd-list@lists.iem.at Subject: Re: [PD] [ggee/notch] / [ggee/bandpass] seem to work at default/fixed samplerate of 44100 Message-ID: <CAF58LJogH3RRSWTcTcTWq+TRhfBVPRXQoJuQd9veTtkenN= pEw@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
Isn't this the way to do it? x->x_rate = sys_getsr();
On Sun, May 3, 2015 at 6:32 AM, Peter P. peterparker@fastmail.com wrote:
- Raphaël Ilias phae.ilias@gmail.com [2015-05-02 16:36]:
Hello,
I was testing the [bandpass] and [notch] object's from "ggee" library, which compute coefficients values for vanilla's [biquad~] and
discovered
that the center frequency wasn't the one expected, but was shifted something like 10%.
After a few measurement I found that the real center frequency was
around
1.08841 upwards the ferquency value set to [bandpass] or to [notch] inlets...
...and I later realized that 48000/44100 = 1.088435... and that on my computer, pd is working at 48000 Hz. So, apparently these objects are calculating the coefficients with an supposed samplerate of 44100 Hz.
You are right. I just looked at the source file for one of these objects, and it contains a line
x->x_rate = 44100.0;
So apparently the sample rate for it is hard-coded. I don't know ir Günther is actively monitoring the pd-list, but perhaps someone else here might know how to get that code to be more responsive to different sampling rates... (you could change your sampling rate to 44100 in the meantime though, Raphaël) best, P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list