<p dir="ltr">Z ll</p>
<div class="gmail_quote">On 3 May 2015 14:13,  <<a href="mailto:pd-list-request@lists.iem.at">pd-list-request@lists.iem.at</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Pd-list mailing list submissions to<br>
        <a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:pd-list-request@lists.iem.at">pd-list-request@lists.iem.at</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:pd-list-owner@lists.iem.at">pd-list-owner@lists.iem.at</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Pd-list digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: [ggee/notch] / [ggee/bandpass] seem to work at<br>
      default/fixed samplerate of 44100 (Alexandros Drymonitis)<br>
   2. pix_openni can not start depth stream (Csaba Láng)<br>
   3. Re: pix_openni can not start depth stream (Csaba Láng)<br>
   4. Re: [ggee/notch] / [ggee/bandpass] seem to work at<br>
      default/fixed samplerate of 44100 (Raphaël Ilias)<br>
   5. Re: [ggee/notch] / [ggee/bandpass] seem to work at<br>
      default/fixed samplerate of 44100 (Alexandros Drymonitis)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 3 May 2015 14:07:23 +0300<br>
From: Alexandros Drymonitis <<a href="mailto:adrcki@gmail.com">adrcki@gmail.com</a>><br>
To: "Peter P." <<a href="mailto:peterparker@fastmail.com">peterparker@fastmail.com</a>><br>
Cc: pd-list <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>><br>
Subject: Re: [PD] [ggee/notch] / [ggee/bandpass] seem to work at<br>
        default/fixed samplerate of 44100<br>
Message-ID:<br>
        <CAF58LJogH3RRSWTcTcTWq+TRhfBVPRXQoJuQd9veTtkenN=<a href="mailto:pEw@mail.gmail.com">pEw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Isn't this the way to do it?<br>
x->x_rate = sys_getsr();<br>
<br>
On Sun, May 3, 2015 at 6:32 AM, Peter P. <<a href="mailto:peterparker@fastmail.com">peterparker@fastmail.com</a>> wrote:<br>
<br>
> * Raphaël Ilias <<a href="mailto:phae.ilias@gmail.com">phae.ilias@gmail.com</a>> [2015-05-02 16:36]:<br>
> > Hello,<br>
> ><br>
> > I was testing the [bandpass] and [notch] object's from "ggee" library,<br>
> > which compute coefficients values for vanilla's [biquad~] and discovered<br>
> > that the center frequency wasn't the one expected, but was shifted<br>
> > something like 10%.<br>
> ><br>
> > After a few measurement I found that the real center frequency was around<br>
> > 1.08841 upwards the ferquency value set to [bandpass] or to [notch]<br>
> > inlets...<br>
> ><br>
> > ...and I later realized that 48000/44100 = 1.088435... and that on my<br>
> > computer, pd is working at 48000 Hz.<br>
> > So, apparently these objects are calculating the coefficients with an<br>
> > supposed samplerate of 44100 Hz.<br>
><br>
> You are right. I just looked at the source file for one of these<br>
> objects, and it contains a line<br>
><br>
> x->x_rate = 44100.0;<br>
><br>
> So apparently the sample rate for it is hard-coded. I don't know ir<br>
> Günther is actively monitoring the pd-list, but perhaps someone else<br>
> here might know how to get that code to be more responsive to different<br>
> sampling rates...<br>
> (you could change your sampling rate to 44100 in the meantime though,<br>
> Raphaël)<br>
> best, P<br>
><br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -><br>
> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20150503/97bbf367/attachment-0001.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20150503/97bbf367/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 3 May 2015 13:12:38 +0200<br>
From: Csaba Láng <<a href="mailto:langcsaba@gmail.com">langcsaba@gmail.com</a>><br>
To: "<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>" <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>><br>
Subject: [PD] pix_openni can not start depth stream<br>
Message-ID:<br>
        <CABF=<a href="mailto:eXBuyWHFRtZfy98AO_YsSqyedz8532KN4gAH4K0NxyAtUA@mail.gmail.com">eXBuyWHFRtZfy98AO_YsSqyedz8532KN4gAH4K0NxyAtUA@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear list,<br>
<br>
I want to use pix_openni from Matthias Kronlachner.<br>
I prepared the Kinect to function according to this method using homebrew:<br>
<a href="http://www.kinect-wiki.info/OpenNI-%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB-Mac-Homebrew" target="_blank">http://www.kinect-wiki.info/OpenNI-%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB-Mac-Homebrew</a><br>
OpenNi, SensorKinect, Nite installed.<br>
All the samples from OpenNi work fine.<br>
installed pix_depth2rgba too, works fine, depth rgba picture is created.<br>
However when I want to test<br>
with 03-03-user-tracking-by-user-identification-nite-raw-shader.pd from the<br>
test of Matthias, I get this error:<br>
<br>
[pix_openni]: trying to start depth stream<br>
[pix_openni]: OpenNI:: Depth node couldn't be created!<br>
<br>
Does anyone had this before?<br>
What is the solution to make it work properly?<br>
<br>
Thanks in advance for any suggestions.<br>
<br>
Popesz<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20150503/6e95ea95/attachment-0001.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20150503/6e95ea95/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sun, 3 May 2015 13:15:47 +0200<br>
From: Csaba Láng <<a href="mailto:langcsaba@gmail.com">langcsaba@gmail.com</a>><br>
To: "<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>" <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>><br>
Subject: Re: [PD] pix_openni can not start depth stream<br>
Message-ID:<br>
        <CABF=eXDswgtzzk-=<a href="mailto:7WfMy0dGbJSugPcqLLr51zLt%2BOQLgqSbWQ@mail.gmail.com">7WfMy0dGbJSugPcqLLr51zLt+OQLgqSbWQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Sorry, forgot to add that tested on Mac OS X 10.8, 10.9 and 10.10.<br>
<br>
On Sun, May 3, 2015 at 1:12 PM, Csaba Láng <<a href="mailto:langcsaba@gmail.com">langcsaba@gmail.com</a>> wrote:<br>
<br>
> Dear list,<br>
><br>
> I want to use pix_openni from Matthias Kronlachner.<br>
> I prepared the Kinect to function according to this method using homebrew:<br>
><br>
> <a href="http://www.kinect-wiki.info/OpenNI-%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB-Mac-Homebrew" target="_blank">http://www.kinect-wiki.info/OpenNI-%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB-Mac-Homebrew</a><br>
> OpenNi, SensorKinect, Nite installed.<br>
> All the samples from OpenNi work fine.<br>
> installed pix_depth2rgba too, works fine, depth rgba picture is created.<br>
> However when I want to test<br>
> with 03-03-user-tracking-by-user-identification-nite-raw-shader.pd from the<br>
> test of Matthias, I get this error:<br>
><br>
> [pix_openni]: trying to start depth stream<br>
> [pix_openni]: OpenNI:: Depth node couldn't be created!<br>
><br>
> Does anyone had this before?<br>
> What is the solution to make it work properly?<br>
><br>
> Thanks in advance for any suggestions.<br>
><br>
> Popesz<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20150503/c472ca58/attachment-0001.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20150503/c472ca58/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sun, 3 May 2015 13:58:09 +0200<br>
From: Raphaël Ilias <<a href="mailto:phae.ilias@gmail.com">phae.ilias@gmail.com</a>><br>
To: "Peter P." <<a href="mailto:peterparker@fastmail.com">peterparker@fastmail.com</a>><br>
Cc: pd-list <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>><br>
Subject: Re: [PD] [ggee/notch] / [ggee/bandpass] seem to work at<br>
        default/fixed samplerate of 44100<br>
Message-ID:<br>
        <CADYAdN8LJtRLs2UUdNZMbSS+mmeUTR2mTsbEyP0=<a href="mailto:RerRCpcv6A@mail.gmail.com">RerRCpcv6A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi !<br>
<br>
Thank you Peter for checking the source code !<br>
<br>
Yes I could change my sampling rate.<br>
But, well, I think it's better if pd is able work at different sampling<br>
rates, and many standards now prefer 48KHz to 44.1<br>
 (i.e. digital video recorders).<br>
<br>
For now, i'll just make a trick/abstraction that gets the working sampling<br>
rate with [samplerate~] and corrects the frequency parameter by applying a<br>
coefficient (* 44100 / SR)...<br>
<br>
However, IMHO, since frequency representation is related to the time and<br>
not the sampling rate, I think this should be corrected in the object<br>
itself, maybe as Alexandros suggested.<br>
But I don't have the skills to do that myself... hope Günther will read<br>
this.<br>
<br>
have a nice day,<br>
<br>
Raphaël<br>
<br>
<br>
<br>
2015-05-03 5:32 GMT+02:00 Peter P. <<a href="mailto:peterparker@fastmail.com">peterparker@fastmail.com</a>>:<br>
<br>
> * Raphaël Ilias <<a href="mailto:phae.ilias@gmail.com">phae.ilias@gmail.com</a>> [2015-05-02 16:36]:<br>
> > Hello,<br>
> ><br>
> > I was testing the [bandpass] and [notch] object's from "ggee" library,<br>
> > which compute coefficients values for vanilla's [biquad~] and discovered<br>
> > that the center frequency wasn't the one expected, but was shifted<br>
> > something like 10%.<br>
> ><br>
> > After a few measurement I found that the real center frequency was around<br>
> > 1.08841 upwards the ferquency value set to [bandpass] or to [notch]<br>
> > inlets...<br>
> ><br>
> > ...and I later realized that 48000/44100 = 1.088435... and that on my<br>
> > computer, pd is working at 48000 Hz.<br>
> > So, apparently these objects are calculating the coefficients with an<br>
> > supposed samplerate of 44100 Hz.<br>
><br>
> You are right. I just looked at the source file for one of these<br>
> objects, and it contains a line<br>
><br>
> x->x_rate = 44100.0;<br>
><br>
> So apparently the sample rate for it is hard-coded. I don't know ir<br>
> Günther is actively monitoring the pd-list, but perhaps someone else<br>
> here might know how to get that code to be more responsive to different<br>
> sampling rates...<br>
> (you could change your sampling rate to 44100 in the meantime though,<br>
> Raphaël)<br>
> best, P<br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20150503/5c255934/attachment-0001.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20150503/5c255934/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Sun, 3 May 2015 16:11:46 +0300<br>
From: Alexandros Drymonitis <<a href="mailto:adrcki@gmail.com">adrcki@gmail.com</a>><br>
To: Raphaël Ilias <<a href="mailto:phae.ilias@gmail.com">phae.ilias@gmail.com</a>><br>
Cc: pd-list <<a href="mailto:pd-list@lists.iem.at">pd-list@lists.iem.at</a>><br>
Subject: Re: [PD] [ggee/notch] / [ggee/bandpass] seem to work at<br>
        default/fixed samplerate of 44100<br>
Message-ID:<br>
        <<a href="mailto:CAF58LJq7a7eptvmqTGdvyMCyOVjQYNKyx2AE5aLidjUM2tCRQg@mail.gmail.com">CAF58LJq7a7eptvmqTGdvyMCyOVjQYNKyx2AE5aLidjUM2tCRQg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
On Sun, May 3, 2015 at 2:58 PM, Raphaël Ilias <<a href="mailto:phae.ilias@gmail.com">phae.ilias@gmail.com</a>> wrote:<br>
<br>
> However, IMHO, since frequency representation is related to the time and<br>
> not the sampling rate, I think this should be corrected in the object<br>
> itself, maybe as Alexandros suggested.<br>
> But I don't have the skills to do that myself... hope Günther will read<br>
> this.<br>
><br>
I've written some externals and used this and it works fine. If you just<br>
change this line of code and compile the object, it should work, I guess...<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.puredata.info/pipermail/pd-list/attachments/20150503/c4dc7671/attachment.html" target="_blank">http://lists.puredata.info/pipermail/pd-list/attachments/20150503/c4dc7671/attachment.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Pd-list mailing list<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a><br>
to manage your subscription (including un-subscription) see<br>
<a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Pd-list Digest, Vol 122, Issue 6<br>
***************************************<br>
</blockquote></div>