Re: [PD] convolution using pd-vanilla
For the FFT based convolution, you could easily modify the example patch I06.timbre.stamp.pd to do straight up convolution in the frequency domain. I wouldn't know how to do it in the time domain without an extern or a lot of painstaking work. It might be a nice thing to have, though. I can tell you, though, that the frequency domain method will out perform the time domain in terms of CPU usage. But, since you are windowing there will be a latency. Apart from that, the output is identical by both methods. y(n) = x(n) * g(n) Y(k) = X(k)G(k), y(n) = IDFT(Y(k)) where g(n) is the impulse response, X(k) is the discrete Fourier transform of x(n) and * is the convolution operation. On 05/05/2014 09:33 AM, Oli Larkin wrote: hi, is anyone aware of an example of both a brute force time domain (e.g. buffir~ in Max) and an FFT-based fast convolution patch in pd-vanilla? I would like to do a comparison of the two. Can be using a small IR, just for demo purposes. cheers, Oli ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Distance Measures among Arrays and Lists
[listtool] ditto for lists (if you are too lazy to dump them into arrays ; ) https://github.com/dmedine/list_externs On 04/24/2014 05:18 AM, William Brent wrote: [tabletool] has methods for euclidean/taxicab distance between vectors stored in 2 arrays. On Thu, Apr 24, 2014 at 5:55 AM, D G mami.mu...@gmail.com mailto:mami.mu...@gmail.com wrote: Hello members of the list I am very interested in creating a list of objects or abstractions from any PD library (pd-extended or beyond) used to measure the distance between two arrays or two lists. Does any of you know one or some? Thanks a lot for your help!!! D ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com http://www.williambrent.com Great minds flock together Conflations: conversational idiom for the 21st century www.conflations.com http://www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD on Raspbian
FYI There is also a RPi GPIO object for Pd by Miller Puckette here: http://msp.ucsd.edu/syllabi/206.13w/index.htm http://msp.ucsd.edu/syllabi/206.13w/index.htm and the same code with a makefile and build for UDOO here: https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio https://github.com/cmuartfab/Udoo/tree/dem-rev/puredata/gpio I did see the note from garthz about the architecture collisions. I will attend to this. Anyway, make sure to use the gpio.l_arm version -- just delete the other two to avoid problems. On 03/20/2014 06:28 AM, Ivica Ico Bukvic wrote: There is also pd-l2ork for RPi. We are just readying a release with a comprehensive support for GPIO (including hardware and software PWM), as well as MCP3008 AD converter (for analog sensors). There is also a fairly detailed documentation on how to run RPi headless via a laptop, while sharing network connection. See: http://l2ork.music.vt.edu/main/?page_id=2288 HTH ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] PD on Raspbian
also, Alt+clicking on any part of a window should let you drag it (most linux distros have this feature -- I imagine Raspbian does) On 03/19/2014 09:10 AM, Pierre Massat wrote: Hi, I have never managed to get pd-extended to work properly on Raspbian. The vanilla version available from the repos works better. You can then install external libs if you need them. Cheers, Pierre. 2014-03-19 13:29 GMT+01:00 Christian Fischer m...@c-m-fischer.de mailto:m...@c-m-fischer.de: Hi everyone, two (beginner) questions regarding Pd-extended 0.43.3 on Rpi Raspbian Wheezy: - There is an I/O error message in the Pd window as there is only an audio out (but no in) on the Rpi. Just deactivating the inlet in Pd audio settings doesn't help. ALSA is used by default. What can be done to avoid error message? However sound out works fine. - When opening a new Pd window (ctrl+n), it pops up so high in the bottom left corner of the screen, that you can not see the menu anymore. Therefore the window is not moveable or usable. Used Pd already on various PCs and OS but this I have never experienced. What can be done? Thanks! christian ___ Pd-list@iem.at mailto:Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] udoo board sound issues
BTW, not to overstate the obvious, but... A good way to measure total latency is with an oscilloscope. Hook up one probe to the mic, the other probe to a wire coming out of an output on your device. Then make a patch that sends the sound straight through, eg: [dac~] | [adc~] If you stimulate the mic with an impulse of some sort, you should see a spike and then the same spike a few (or perhaps more than a few) ms later on the scope. You can be very exact about this by using the scope correctly. For a bonus, subtract the latency on Pd (one of the settings in audio settings) from this to find out the latency of everything in your signal chain that is not due to Pd. -David On 03/16/2014 11:37 AM, Jonathan Wilkes wrote: On 03/16/2014 05:33 AM, Simon Iten wrote: [...] Any digital instrument also has latencies. Basically it is a matter of playing the instrument you are using. How are you measuring the latency? -Jonathan Simon ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] linking libs in extern development
Dear folks, Does anybody know a good way to link libraries in a Pd extern build? I am using plain ol' command line and makefiles. It would be nice to be able to do this without modifying the Makefile in the Pd.etc./Contents/Resources/ directory, but due to my general ignorance of programming lore, I don't really know how to do this. Any suggestions? Thanks, David Medine ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Osc phase and number of periods for subsonic touch-music, (Daniel K.)
Daniel, You could make a table with a sine wave form in it and drive it with a [tabosc4~] object. The only way (as far as I know) to ensure sample accuracy for this is to set the blocksize to 1 (use the [blocksize] object). Otherwise you might run over the end of your table by as much as 63 samples and you will probably get a click (Pd defaults to calculating 64 samples at a time). Hope that helps, David ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-list Digest, Vol 67, Issue 116
IOhannes, I think you have hit the nail on the head. It is likely that I was missing the 'alsa-oss' package. Pd seems to need that one. However, I can't really be sure because I have since scrapped Fedora altogether and installed Xubuntu (the super-stripped-down addition). Initially I got the same problem with my Pd install. I went back and and got all the alsa and now it works great. All in all, I find Fedora a little bit too obscure (I am ashamed to admit) for my level of expertise/patience. I went through hell getting my network settings configured correctly, which is a breeze in Ubuntu. However, Fedora is significantly faster on my machine, which is a serious incentive to learn how to deal with its many caveats. Also, Fedora is very strict about refusing to deal with proprietary software, which is definitely something to get behind. Anyway, thank you very much, IOhannes. Perhaps when Fedora 14 comes out (very soon, I believe), and I have a little more free time I will try again. At that point I will probably post more about errors that I encounter when installing Pd. Best, David On 10/29/2010 01:33 AM, david medine wrote: IOhannes, Thanks for the input. What is strange is that the 'Media' tab in the Menu doesn't list any soundcard atall (not like it did on my former Ubuntu system). Also, I tried invoking Pd with the -alsa tag, but Pd told me that there is no such tag :( this basically means, that you compiled pd without alsa support. now this is somewhat contradictory to: checking for main in -ltk8.5... yes alsa= yes btw, here it goes on a little bit: snip checking for main in -ltk85... no checking for main in -ltk8.5... yes alsa= yes checking for snd_pcm_info in -lasound... yes checking for shm_open in -lrt... yes /snip it is of course crucial, that snd_pcm_info can be found in libasound. what does your configure tell you? fg,adsr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzMMIoACgkQkX2Xpv6ydvTS/ACg71kWpqQoqN1aw1m7OYQLe46T Gr0AnRq4taG8uxDXOznZ1fRlQf0X+58M =IMeX -END PGP SIGNATURE- -- ___ Pd-list mailing list Pd-list@iem.at to manage your subscription (including un-subscription) see http://lists.puredata.info/listinfo/pd-list End of Pd-list Digest, Vol 67, Issue 116 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-list Digest, Vol 67, Issue 106
IOhannes, Thanks for the input. What is strange is that the 'Media' tab in the Menu doesn't list any soundcard atall (not like it did on my former Ubuntu system). Also, I tried invoking Pd with the -alsa tag, but Pd told me that there is no such tag :( Still (not) working... David Dear all, I switched operating systems to Fedora 13 yesterday and it is great, except that I cannot get Pd to address ALSA. The build goes well, no errors, and Pd is there and it looks fine, except when I go to 'Audio settings' the boxes next to input and output are empty. There are no options to select. I have installed every ALSA package that I can find, and still no joy. Any ideas? This is a sample what the console reports during configuration: per default, Pd uses OSS. you have to manually tell it to use ALSA. Menu-Media-ALSA or start Pd with -alsa. then the audio-menu should list your soundcards (that is: if you have any; can other (alsa) applications play sound?) checking tcl.h usability... yes checking tcl.h presence... yes checking for tcl.h... yes checking for main in -ltcl85... no checking for main in -ltcl8.5... yes checking for main in -ltk85... no checking for main in -ltk8.5... yes alsa= yes I find the '' before alsa to be troubling. Anyone know how to fix this? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] fedora 13 vs pd
Dear all, I switched operating systems to Fedora 13 yesterday and it is great, except that I cannot get Pd to address ALSA. The build goes well, no errors, and Pd is there and it looks fine, except when I go to 'Audio settings' the boxes next to input and output are empty. There are no options to select. I have installed every ALSA package that I can find, and still no joy. Any ideas? This is a sample what the console reports during configuration: checking tcl.h usability... yes checking tcl.h presence... yes checking for tcl.h... yes checking for main in -ltcl85... no checking for main in -ltcl8.5... yes checking for main in -ltk85... no checking for main in -ltk8.5... yes alsa= yes I find the '' before alsa to be troubling. Anyone know how to fix this? Best, David Medine ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list