Re: [PD] int.lib for PD? (interpolating between numerous preset values)
Hi Joseph, I did exactly that but in pd so I wonder who it was? Anyway my patch is called pDM and can be downloaded at http://www.speech.kth.se/music/performance/download/ It includes 2D interpolation of a number of variables. The corner values of each variable are set to specific values and the rest of the space is more or less linearly interpolated. Since 4 points are defined it will result in a somewhat curved surface. All this is described in the papers, see the readme. Defining presets in arbitrarily positions in the space would be an interesting extension that needs some other method of interpolation. Best Anders Joseph Barrows wrote: Hi Pders, I recently saw a presentation by a fellow using Max and he was using int.lib that allowed using a 2D space populated with presets, and as he moved a marker around the space int.lib would smoothly interpolate all the values in the various presets depending on the distance from their markers in the 2D space he was using it to set up 'moods' for effecting the audio, so he had more of a conductor role than an individual musician role when controlling his patch I was wondering if there is anything like this for PD (interpolation of groups of values) -- Joseph Barrows live video performance; web site design; new media artist jjbarrows.artwww.net http://jjbarrows.artwww.net [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ___ 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] int.lib for PD? (interpolating between numerous preset values)
The warning can be ignored. It seems to be a small bug. The synth part just rescale decibels to velocity given you have one of the synths in the list. It works anyway but without proper calibration of sound level. Please use it if you wish - I would be great to hear more about it and I would appreciate if you included a reference to one of the papers. I wanted to connect it to a wiimote for some time but it seems to be a bit tricky on the pc. Also, the mapping is not straightforward with accelerometers. However, I used a webcam for some time and it is a lot more fun controlling it this way than using the mouse. /Anders Luigi Rensinghoff wrote: Hi, This looks really nice and exciting. I would like to incorporate the patch in the wiimote experiments i did...so the 2D variables could actually be catched from the wii-IR coordinates. What i dont understand is the synth part ?? i did not have a closer look yet for now i am just getting this error: Warning_synth_not_implemented(using_SBlive): symbol Kontakt-2 If i understand right it is just necessary to connect a synth via MIDI, so what does the error message mean ? Anyway... Thanks for posting it Bye Luigi Am 12.07.2008 um 09:51 schrieb Anders Friberg: Hi Joseph, I did exactly that but in pd so I wonder who it was? Anyway my patch is called pDM and can be downloaded at http://www.speech.kth.se/music/performance/download/ It includes 2D interpolation of a number of variables. The corner values of each variable are set to specific values and the rest of the space is more or less linearly interpolated. Since 4 points are defined it will result in a somewhat curved surface. All this is described in the papers, see the readme. Defining presets in arbitrarily positions in the space would be an interesting extension that needs some other method of interpolation. Best Anders --- Luigi Rensinghoff [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] skype:gigischinke ichat:gigicarlo ___ 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-extended 39-3 libraries load
I experienced exactly the same thing as Luiz. When I did a fresh load of the extended version that you suggested (no entry in HKEY_LOCAL_MACHINE\SOFTWARE\Pd which was properly removed by the uninstall) it seemed to work decently. For example freeverb~ loaded when the freeverb help patch was opened in the browser. After saving the Path... dialog (without the freeverb path - and without changing any paths) the freeverb~ object no longer loaded when opening the help patch. Now the question is what pd-extended is doing with the search paths and how is it used in the Browser? For example, are all the browser help patches supposed to work out-of-the-box? The pd settings including the search paths seems to survive uninstall/install procedures which is kind of neat from a user point of view but it makes this kind of debugging difficult. From the pd documentation it make sense that the freeverb~ is not found since it is not part of the search path. However, it would be extremely helpful if the use standard extension flag also searched the subdirectories in extra! I suspect that this is an old issue but it is even more important with the large number of directories in the pd-extended version. /Anders Hans-Christoph Steiner wrote: The 10 items thing is a well known bug... An import help patch exists, but it doesn't seem to get installed properly. That's a bug, it should be reported: http://puredata.org/dev/bugtracker/ .hc On Oct 11, 2007, at 5:30 PM, Luiz Naveda wrote: Hi Hans, The problem (for me) is not exactly loading extended libraries at start up. The problem starts when you try to modify the path slots in the file menu. After this I don't know what happens...Some libraries are missing... And I start to ask myself: Why ten? If I overwrite one slot I miss the overwrote library? I've checked the registry and the adresses were there... To complete, after rewrite the registry...nothing loads...and I have to reinstall PD, again I already checked the docs and the information is cloudy...for me. This affect directly the modularity and development of libraries.Is it possible to create a super-searching path (with subdirectory search)? So, if you want load something, just throw the folder there. [import] doesnt work, and it has no docs, until now I am using Pd version 0.39.3-extended-rc5 Best Luiz On 10/10/07, Hans-Christoph Steiner [EMAIL PROTECTED] wrote: I haven't been able to reproduce this problem. All of the libraries should be loaded by default. This is how it worked for me on the two WinXP machines I've tested on. Perhaps there is something stuck in the registry that is causing problems. Try deleting the Pd registry settings. Delete this whole folder: HKEY_LOCAL_MACHINE\SOFTWARE\Pd Careful! You can really screw things up if you delete the wrong thing. Then try reinstalling using this version: http://autobuild.puredata.info/auto-build/2007-10-10/Pd-0.39.3-extended-windowsxp-i386.exe If that doesn't work, please file a bug report with as much information as possible. .hc On Oct 10, 2007, at 5:05 AM, Anders Friberg wrote: I had for a long time similar struggles related to missing objects in pd-extended. To use the colon as separator does not seem to work on Windows - which makes sense since paths usually contain a colon as well. And if I want to use all libs in extended I have to list 51 paths since that is the number of folders in /pd/extra/! And it is very confusing (especially for a beginner) when the help patches in the browser do not work from the beginning. It would be wonderful to have a working out-of-the-box solution to this problem. (and yes - I clicked the reg file) pd-extended is a great effort and if this issue can be solved it would improve the usability enormously. /Anders Max Neupert wrote: Am 07.10.2007 um 07:12 schrieb Luiz Naveda: Nowdays I have had a strange problem. I have my own library which depends on some other libraris from PD extended. When I have to install it in other computers, I put my folders in 2 of the 10 slot- path but normally it misses 3 or 4 other libraries, so I start to look for the missing objects and rewrite all missing libraries in the 10 slots... to add more entries you may use the : as a separator as described here: http://puredata.org/docs/tutorials/TipsAndTricks#add-more-entries-to- the-path-and-library-dialogs ___ 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 All information should be free. - the hacker ethic ___ PD-list
Re: [PD] pd-extended 39-3 libraries load
I had for a long time similar struggles related to missing objects in pd-extended. To use the colon as separator does not seem to work on Windows - which makes sense since paths usually contain a colon as well. And if I want to use all libs in extended I have to list 51 paths since that is the number of folders in /pd/extra/! And it is very confusing (especially for a beginner) when the help patches in the browser do not work from the beginning. It would be wonderful to have a working out-of-the-box solution to this problem. (and yes - I clicked the reg file) pd-extended is a great effort and if this issue can be solved it would improve the usability enormously. /Anders Max Neupert wrote: Am 07.10.2007 um 07:12 schrieb Luiz Naveda: Nowdays I have had a strange problem. I have my own library which depends on some other libraris from PD extended. When I have to install it in other computers, I put my folders in 2 of the 10 slot- path but normally it misses 3 or 4 other libraries, so I start to look for the missing objects and rewrite all missing libraries in the 10 slots... to add more entries you may use the : as a separator as described here: http://puredata.org/docs/tutorials/TipsAndTricks#add-more-entries-to- the-path-and-library-dialogs ___ 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] function-to-block dictionary in pd-extended [was: Re: PD i education]
Sounds great! I started to think about how it could be done. One simple start would be to include the list of objects according to function that is found in core-pd. However, I think it would be better to put in in the help menu rather than then right-clicking on the canvas. This would encourage newbies to use the standard pd blocks to start with. A general function-to-block dictionary is more complicated since there seems to be something like 1000 help files in the doc section... One possibility could be to put a text label in each help file, for example: ;;;pd-extended classification;;;category: audio;function: filter, subfunction: bandpass;;; This is just an example. It could be done in a number of ways e.g. just give keywords. The audio/control classification is of course already evident from the tilde sign.This could be complemented with a short one-liner: ;;;description: A 2-pole bandpass filter;;; Then this would be divided in thee tasks: 1. agree on the list of categories and functions 2. label the help files ( I guess that it would be easy for everyone to do in the CVS?) 3. Implement sorting according to function in the browser. (If the browser search the doc section a new lib would be included automatically.) The first step can be done on this list or in the pd doc group. The second step can easily be distributed. I could spend some time with it and I think I could mobilize more people at the department as well. The last step depends mostly on hans so it would be great to hear your opinion about it. /Anders marius schebella wrote: Three, I would like to help build such a database. marius. Hans-Christoph Steiner wrote: I sometimes forget even the names of the objects that I have written, so I would use the dictionary for sure. So you are not alone in the desire for a dictionary, there is at least two of us ;) .hc On May 30, 2007, at 7:51 AM, Anders Friberg wrote: This is a quite extreme viewpoint. Translate that to language learning, for example a German learning English. It implies that using a dictionary from German to English is forbidden and the only available dictionary is from English to German. Then assume that the German guy have some basic understanding of the English language but forgot one word... This is exactly my own case. Maybe I am away from pd for a year (God forbid!). Then most of my fluency will fade away and a dictionary would be extremely helpful. I tend to remember functionality but not the exact block name. Am I alone? We also try to avoid any fancy stuff in the basic tutorials but we use pd-extended ourselfs and we provide ready-made patches using pd-extended that the students can interface to. /Anders -- - Anders Friberg Associate Professor Speech, Music and Hearing, KTH Lindstedtsvägen 24 S-100 44 Stockholm http://www.speech.kth.se/~andersfr/ work: +46 8 7907876 mobile: +46 70 7746287 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] lowering gem camera capture CPU overhead
Hi Ico, I've run into exactly the same problem. Most probably it is the decoding of the firewire signal that eats the cpu cycles. The dv format (same as firewire) is compressed into a 29 Mbits/sec stream (see e.g. http://www.adamwilt.com/DV-FAQ-tech.html#DVformats) that needs to be unpacked before processing in GEM (or any other video software). My solution is to use analog video cameras with a capture card. In this way I am able to use four simultaneous cameras using less than half of the cpu power on a standard winpc with pentium 4, 3GHz. I don't need much picture quality so I got really cheap surveillance CCD cameras costing less than 50 euro each connected to a four-input capture card (about 190 euro). Another great thing is that your are not limited in cable length as with firewire. Another solution would be to find a firewire capture card with built-in decoder (I guess there are such cards out there). /Anders Ivica Ico Bukvic wrote: Hi all, I've been trying to shave off precious cycles off the FW camera input capture. The problem is that vanilla capture of a FW camera feed (NTSC) already introduces 50+% of CPU overhead on an AMD64 3000+. I have experimented with lowered gem frame value, but anything below 20 seems to jagged. So, here are the questions: What is the cause of such a high capture overhead? Is there a way to minimize such overhead beyond just optimizing code for sse and other similar methods, plus the aforesaid frame option for the gem object? Many thanks! Best wishes, Ico ___ 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-Extended-0.38.4 devices-audio settings
I had similar problems in winXP. I did the same thing ie going back from extended 0.39 to 0.38 and after that there is no sound until I select the ASIO input panel on the menu. If the sound card is not installed it will report (correctly) that there is no ASIO on the machine. After that it is possible to select any sound i/o. Hopefully it goes away with the new version but it is a bit worrying since it means that some settings persist after deinstalling the 0.39 version. /Anders Charles Henry wrote: Hi, list, I have had trouble with pd-extended-0.38.4 lately. I once had it installed, and it worked fine. Then, I upgraded to 0.39, and later I decided to go back to 0.38. Since that time, I have had trouble recognizing ALSA devices from the audio settings menu. Instead, I see input device #1, #2, #3 instead of the specific names and 0 channels for input and output. Upon changing 0 channels to 2 channels, there is an unknown audio API error. I just don't get it. Does anybody have an idea what is going wrong here? Chuck ___ 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-Extended-0.38.4 devices-audio settings
I wish it was that simple! On winXP you have to go into registry and delete the relevant pd items there using the regeditor. The problem is that I don't really know how the registry works so I try to avoid it as long as I can. /Anders Charles Henry wrote: Thanks, Anders, On linux, I just deleted .pdsettings in my home directory and ran the installer a second time. Works just great! Chuck On 2/21/07, Anders Friberg [EMAIL PROTECTED] wrote: I had similar problems in winXP. I did the same thing ie going back from extended 0.39 to 0.38 and after that there is no sound until I select the ASIO input panel on the menu. If the sound card is not installed it will report (correctly) that there is no ASIO on the machine. After that it is possible to select any sound i/o. Hopefully it goes away with the new version but it is a bit worrying since it means that some settings persist after deinstalling the 0.39 version. /Anders Charles Henry wrote: Hi, list, I have had trouble with pd-extended-0.38.4 lately. I once had it installed, and it worked fine. Then, I upgraded to 0.39, and later I decided to go back to 0.38. Since that time, I have had trouble recognizing ALSA devices from the audio settings menu. Instead, I see input device #1, #2, #3 instead of the specific names and 0 channels for input and output. Upon changing 0 channels to 2 channels, there is an unknown audio API error. I just don't get it. Does anybody have an idea what is going wrong here? Chuck ___ 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 -- - Anders Friberg Associate Professor Speech, Music and Hearing, KTH Lindstedtsvägen 24 S-100 44 Stockholm http://www.speech.kth.se/~andersfr/ work: +46 8 7907876 mobile: +46 70 7746287 ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] external object becoming a message box after saving
Hans-Christoph Steiner wrote: Strange, this is happening with the cyclone/toxy objects too. I wonder what's causing it... I had the same problem with the cyclone/switch object in the 38.4 pd-extended on windows. /Anders .hc On Jan 9, 2007, at 2:50 PM, ugur guney wrote: # Hi list! # I'm trying to learn how to write externals (after being able to link and compile the source codes thanks to Yvan Vander Sanden's tutorial) and come up with a strange behavoir: The object [additive~] turns into a messege box [additive~( (and sometimes its borders are totally erased or sometimes pd crashes) after saving the patch (but not everytime). Maybe I made a mistake that I couldn't find. What might be the reason of such an error? # Here is the code I've written. The object should be post the number of incoming bangs and the time after creation (when dsp is on) and compiled .dll file is attached. -ugur- #include m_pd.h static t_class *additive_tilde_class; typedef struct _additive_tilde { t_object x_obj; t_int bangtime; t_float time; } t_additive_tilde; void additive_tilde_bang(t_additive_tilde *x) { post(you banged %d times. time: %f, x-bangtime++, x-time); } t_int *additive_tilde_perform(t_int *w) { t_additive_tilde *x = (t_additive_tilde *)(w[1]); t_sample *out = (t_sample *)(w[2]); int n =(int)(w[3]); while (n--) { *out++ = x-time; x-time += 1.0f/44100; } return (w+4); } void additive_tilde_dsp(t_additive_tilde *x, t_signal **sp) { dsp_add(additive_tilde_perform, 3, x, sp[0]-s_vec, sp[0]-s_n); } void *additive_tilde_new(t_floatarg f) { t_additive_tilde *x = (t_additive_tilde *)pd_new(additive_tilde_class); x-time = f; x-bangtime = 0; outlet_new(x-x_obj, gensym(signal)); return (void *)x; } __declspec (dllexport) void additive_tilde_setup(void) { additive_tilde_class = class_new(gensym(additive~), (t_newmethod)additive_tilde_new, 0, sizeof(t_additive_tilde), CLASS_DEFAULT, A_DEFFLOAT, 0); class_addmethod(additive_tilde_class, (t_method)additive_tilde_dsp, gensym(dsp), 0); class_addbang(additive_tilde_class, additive_tilde_bang); } additive~.dll ___ PD-list@iem.at mailto:PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin ___ 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] iemlib abs small bugs
Hi all, I found a couple of small details in the (otherwise great!) iemlib abstraction collection which I think can easily be fixed. I am using pd-extended 38.4 so maybe it is fixed more recent versions: The vcf_lp2~ abstraction is using iem_cot~ which does not exist. I suppose it should be changed to iem_cot4~ instead? The vcf_bp2~ abstractions doesn't work - replace vcf_filter~ rbp with vcf_filter~ bp2 or vcf_filter~ rbp2? The rest of the filters seems to be ok although I haven't gone through all of them (quite a few!) It is easy to make a workaround by saving them at the same place as the patch that are calling them. Should I put it in the bug list? Best, Anders ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list