[PD] ~/pd or ~/.pd for user's externals directory
With this release of Pd-extended, all platforms have default locations for user-installed externals, helpfiles, etc. I just had a thought, perhaps ~/.pd would be a better directory than ~/pd. Any thoughts on that? Here's how it is now: GNU/Linux: /usr/share/pd and ~/pd Mac OS X: /Library/Pd and ~/Library/Pd Windows: %ProgramFiles%/Common Files/Pd and %UserProfile%/ Application Data/Pd .hc ¡El pueblo unido jamás será vencido! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-extended PPC autobuild Jack OSX
Hans-Christoph Steiner wrote: That's up to IOhannes, I know little about it. unfortunately i know little about it as well. anyhow, according to various user-reports i have now reduced the NUM_JACK_PORTS to 128. hopefully (though mysteriously) this will make go away these problems with jack. fmgadsr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] better tabread4~
hello, Charles Henry a écrit : On Tue, Jun 10, 2008 at 10:29 AM, cyrille henry [EMAIL PROTECTED] wrote: ... I'm having trouble compiling, due to the garray_getfloatwords symbol. Which version of Pd are you using? vanilia 0.41.4 I'd like to see the waveform and test it out. Here's my analysis of key points (a=x[-1], b=x[0], c=x[1], d=x[2]) 83 a0 = d - c - a + b; 84 a1 = a - b - a0; 85 a2 = c - a; 86 *out++ = ((a0*frac+a1)*frac+a2)*frac+b; At frac=0, output should be b. Check! At frac=1, output should be c ((a0*1+a1)*1+a2)*1+b =a0+a1+a2+b =d-c-a+b + a-b-(d-c-a+b) + c-a + b =d-c-a+b + a-b-d+c+a-b + c-a + b =d-c-a+b + 2a-2b+c-d + c-a + b =c Check! 1st derivatives: At frac=0, d/dx f(x) = c-a (This quantity really ought to be (c-a)/2, but let's see how the rest comes out) At frac=1, d/dx f(x) = 3*(d-c-a+b) + 2*(a-b-d+c+a-b) + c-a =d-b So, we've got 1st derivatives that match between samples. Check! This looks like a really good plan. I might suggest some new coefficients to try: a0=(3b-a-3c+d)/2 a1=a-5b/2+2c-d/2 a2=(c-a)/2 ok, i don't have time for now to test anything. i'll have more time in 1 or 2 weeks. The only difference is the 1st derivatives are (c-a)/2 and (d-b)/2, respectively. Maybe you could try a 5th-degree polynomial next and set the 2nd derivatives for continuity. This would involve 4-points as before, but it might introduce a ripple in the interpolation (cubic interpolation can't do that, since it only has two critical points). i tried a Hermite interpolation. it sound great, but i did not had time yet to explore the tension parametter. here is the code if you wish to explore it. I'm not keen on doing the spectral analysis, because it would take about 4 hours, to do it by hand. There's something I would like to see (once I can compile it). I made a patch (attached) a while back to view the tabread4~ interpolation function (impulse response). Give it a try if you're inclined to do so, because it might surprise you. attachement is a pict of the impulse response of tabread4~ and tabread4c~. cyrille Chuck cyrille Chuck ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list // GPL // 99% comes from pd. just the interpolation shem is diferent and comes from : // http://local.wasp.uwa.edu.au/~pbourke/other/interpolation/ #include m_pd.h / tabosc4h~ ***/ /* this is all copied from d_osc.c... what include file could this go in? */ #define UNITBIT32 1572864. /* 3*2^19; bit 32 has place value 1 */ /* machine-dependent definitions. These ifdefs really should have been by CPU type and not by operating system! */ #ifdef IRIX /* big-endian. Most significant byte is at low address in memory */ #define HIOFFSET 0/* word offset to find MSB */ #define LOWOFFSET 1/* word offset to find LSB */ #define int32 long /* a data type that has 32 bits */ #endif /* IRIX */ #ifdef MSW /* little-endian; most significant byte is at highest address */ #define HIOFFSET 1 #define LOWOFFSET 0 #define int32 long #endif #if defined(__FreeBSD__) || defined(__APPLE__) #include machine/endian.h #endif #ifdef __linux__ #include endian.h #endif #if defined(__unix__) || defined(__APPLE__) #if !defined(BYTE_ORDER) || !defined(LITTLE_ENDIAN) #error No byte order defined #endif #if BYTE_ORDER == LITTLE_ENDIAN #define HIOFFSET 1 #define LOWOFFSET 0 #else #define HIOFFSET 0/* word offset to find MSB */ #define LOWOFFSET 1/* word offset to find LSB */ #endif /* __BYTE_ORDER */ #include sys/types.h #define int32 int32_t #endif /* __unix__ or __APPLE__*/ union tabfudge { double tf_d; int32 tf_i[2]; }; static t_class *tabosc4h_tilde_class; typedef struct _tabosc4h_tilde { t_object x_obj; t_float x_fnpoints; t_float x_finvnpoints; t_word *x_vec; t_symbol *x_arrayname; t_float x_f; double x_phase; t_float x_conv; } t_tabosc4h_tilde; static void *tabosc4h_tilde_new(t_symbol *s) { t_tabosc4h_tilde *x = (t_tabosc4h_tilde *)pd_new(tabosc4h_tilde_class); x-x_arrayname = s; x-x_vec = 0; x-x_fnpoints = 512.; x-x_finvnpoints = (1./512.); outlet_new(x-x_obj, gensym(signal)); inlet_new(x-x_obj, x-x_obj.ob_pd, s_float, gensym(ft1)); x-x_f = 0; return (x); } static t_int
Re: [PD] ~/pd or ~/.pd for user's externals directory
An official folder would be ok. But it should be possible to reassign this variable if necessary. In my case I have the work folder /jmmmp-ext in the extras folder (where is also a jmmmp folder from pd). That allows me to get to my work much faster than having something on my system user folder. When I update pd, it always overwrites everything but this folder, evidently. João With this release of Pd-extended, all platforms have default locations for user-installed externals, helpfiles, etc. I just had a thought, perhaps ~/.pd would be a better directory than ~/pd. Any thoughts on that? Here's how it is now: GNU/Linux: /usr/share/pd and ~/pd Mac OS X: /Library/Pd and ~/Library/Pd Windows: %ProgramFiles%/Common Files/Pd and %UserProfile%/ Application Data/Pd .hc ¡El pueblo unido jamás será vencido! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Friedenstr. 58 10249 Berlin Deutschland Tel +49 30 42020091 Mob +49 162 6843570 [EMAIL PROTECTED] skype: jmmmpjmmmp http://www.puredata.org/Members/jmmmp IBM Thinkpad R51, XP, Ubuntu GG Pd-Ext-0.39-2-t5, Pd Van 0.40-t2 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] XML audio to pd
I'm working with an XML database (well in fact an X3D realtime immersive A-V environment) i have audio files referenced with this database is there a way that these streams(?) can be sent to pd to be manipulated? at any one time there may be several so from X3D i would have something like AudioClip DEF=575 url=audio/Dunn_David-Rainfall.wav / AudioClip DEF=1414 url=audio/Westerkamp-1981-transformations-a walk_through_the_city.wav/ AudioClip DEF=2247 url=audio/throbbing_gristle-1981-we_hate_you_little_girls.wav / as well as empty elements, like AudioClip DEF=2251 url= / Any thoughts? All the best Milo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] ~/pd or ~/.pd for user's externals directory
i think /Library/Application\ Support/Pure\ Data and ~/Library/Application\ Support/Pure\ Data would make more sense on OS X m. Am 2008-06-16 um 19:49 schrieb Hans-Christoph Steiner: With this release of Pd-extended, all platforms have default locations for user-installed externals, helpfiles, etc. I just had a thought, perhaps ~/.pd would be a better directory than ~/pd. Any thoughts on that? Here's how it is now: GNU/Linux: /usr/share/pd and ~/pd Mac OS X: /Library/Pd and ~/Library/Pd Windows: %ProgramFiles%/Common Files/Pd and %UserProfile%/ Application Data/Pd .hc -- -- ¡El pueblo unido jamás será vencido! ___ 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 or ~/.pd for user's externals directory
Hans-Christoph Steiner wrote: With this release of Pd-extended, all platforms have default locations for user-installed externals, helpfiles, etc. I just had a thought, perhaps ~/.pd would be a better directory than ~/pd. Any thoughts on that? Is there an advantage to making it invisible on top of being so well hidden that pd itself can't find it most of the time :?( Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] ~/pd or ~/.pd for user's externals directory
No. Hidden home directory files traditionally have a special meaning. They are initialisation resources. ~/.something is a place a program will go to look for startup options (in a particular order after /var/something ... so that global and multi user configs can live together) I know some recent Linux apps have started putting userworld resources into dot directories, but this is bad practice imho. 2c andy. On Mon, 16 Jun 2008 11:49:53 +0200 Hans-Christoph Steiner [EMAIL PROTECTED] wrote: With this release of Pd-extended, all platforms have default locations for user-installed externals, helpfiles, etc. I just had a thought, perhaps ~/.pd would be a better directory than ~/pd. Any thoughts on that? Here's how it is now: GNU/Linux: /usr/share/pd and ~/pd Mac OS X: /Library/Pd and ~/Library/Pd Windows: %ProgramFiles%/Common Files/Pd and %UserProfile%/ Application Data/Pd .hc ¡El pueblo unido jamás será vencido! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Use the source ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] ~/pd or ~/.pd for user's externals directory
Hallo, Martin Peach hat gesagt: // Martin Peach wrote: Hans-Christoph Steiner wrote: With this release of Pd-extended, all platforms have default locations for user-installed externals, helpfiles, etc. I just had a thought, perhaps ~/.pd would be a better directory than ~/pd. Any thoughts on that? Is there an advantage to making it invisible on top of being so well hidden that pd itself can't find it most of the time :?( No. ;) Dotfiles on unix generally are used for configuration only, not for documents. E.g. a mail software like Mutt has its config files in ~/.mutt/ but mails in ~/Mail/ or so. Same for ~/.openoffice etc. So offering a ~/.pd for documents doesn't make much sense. Ciao -- Frank Barknecht _ __footils.org__ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] sssad and polywavesynth
Dear List If someone also uses the great Polywavesynth.well i have a little weird problem.. I would like to use two of them in one patch and store and recall presets for each of them.. lets say poly1 and poly2... i create sssad_panel poly1 and poly2 but if i save a preset from poly1 it also catches the values from poly2 so.they are not 100% independent from each other.. It might be a bit complicated to unterstand...but the same probably happens with anything that is stored with sssad What am i doing wrong Thanks Luigi --- Luigi Rensinghoff [EMAIL PROTECTED] skype:gigischinke ichat:gigicarlo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] ~/pd or ~/.pd for user's externals directory
Hans, While I don't really have any feelings about this external directory, it would be nice to have a different properties file from what Vanilla Pd uses, this way we can have two different setups, and they won't interfere with each other. Currently, I have one properties file that both versions of Pd appear to be trying to load, but because the properties file was built for Pd-extended, loading Vanilla Pd generates errors for everything that it tries to load, as it can't find those things. Mike On Mon, Jun 16, 2008 at 4:49 AM, Hans-Christoph Steiner [EMAIL PROTECTED] wrote: With this release of Pd-extended, all platforms have default locations for user-installed externals, helpfiles, etc. I just had a thought, perhaps ~/.pd would be a better directory than ~/pd. Any thoughts on that? Here's how it is now: GNU/Linux: /usr/share/pd and ~/pd Mac OS X: /Library/Pd and ~/Library/Pd Windows: %ProgramFiles%/Common Files/Pd and %UserProfile%/ Application Data/Pd .hc ¡El pueblo unido jamás será vencido! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal. —Yehudi Menuhin (1916–1999), musician ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sssad and polywavesynth
hi Luigi could you pack the synth in an abstraction and give it an ID as arguemnt? then u could use the $1 as prefix for all your parameters and sssad. but this way you can't load a preset from the other instance. this problem could be solved with OSC or a list for each parameter. i.e. synthA/freq 123 or synthA freq 123 good luck :) eni Luigi Rensinghoff wrote: Dear List If someone also uses the great Polywavesynth.well i have a little weird problem.. I would like to use two of them in one patch and store and recall presets for each of them.. lets say poly1 and poly2... i create sssad_panel poly1 and poly2 but if i save a preset from poly1 it also catches the values from poly2 so.they are not 100% independent from each other.. It might be a bit complicated to unterstand...but the same probably happens with anything that is stored with sssad What am i doing wrong Thanks Luigi --- Luigi Rensinghoff [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] pdp_ieee1394 ... couldn't create
Hello, its quite confusing, that in help is written for OSX. On Sat, Jun 14, 2008 at 08:55:10PM +0200, Hans-Christoph Steiner wrote: The 0.42 builds should have it included. Those are the builds from trunk of SVN. You could take the pidip.pd_linux and use it with another Pd-extended version if you want. on Pd version 0.42.0-extended-20080604 [pdp_ieee1394] gets created, but not if i try it with parameters : [pdp_ieee1394 640 480] : pdp_ieee1394 640 480 ... couldn't create without parameters, no error on creation, but sending other messages than close does not work : error: Bad arguments for message 'open' to object 'pdp_ieee1394' error: pdp_ieee1394: no method for 'reset' error: pdp_ieee1394: no method for 'quality' close CtrlAltBack -- |||Ctrl + Alt + Back||| |||restart your view||| ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] ~/pd or ~/.pd for user's externals directory
On Jun 16, 2008, at 3:46 PM, IOhannes m zmoelnig wrote: Hans-Christoph Steiner wrote: With this release of Pd-extended, all platforms have default locations for user-installed externals, helpfiles, etc. I just had a thought, perhaps ~/.pd would be a better directory than ~/ pd. Any thoughts on that? i would rather have the configuration file(s) move into ~/.pd/ this way it is easy to add conffiles for other Pd-related stuff without cluttering the ~ even more. Here's how it is now: GNU/Linux: /usr/share/pd and ~/pd ouch! according to the Filesystem Hierarchy Standard (http:// www.pathname.com/fhs/pub/ fhs-2.3.html#USRSHAREARCHITECTUREINDEPENDENTDATA), this directory is reserved for Architecture-independent data. traditional (C) externals do not exactly fall into this category. Any suggestions for a better location? I know /usr/share/pd is not ideal, but I couldn't think of anything better. .hc fgmard IOhannes [W]e have invented the technology to eliminate scarcity, but we are deliberately throwing it away to benefit those who profit from scarcity.-John Gilmore ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Troubleshooting help CPU Overload
Actually the problem disappeared... Just in case it appears again i have some more questions... Am 13.06.2008 um 13:50 schrieb IOhannes m zmoelnig: Luigi Rensinghoff wrote: Hi List... I have a patch that drives the cpu-load up Wha do you think is the most common source for that ?? streams of messages (i often find that people just send tons of statechanges triggering all kind of superfluous calculations, while they really are just interested in the settled state) vline~ naive search implementations, denormals, memory allocation,... Could you explain that a little more ??? denormals, memory allocation ?? How should i pin down the malicious circuit/external or whatevr it is.. hmm... try to find out when problems occur (do you have constant load? spikes? is the CPU load growing while the patch is running?) what does this tell you regarding your program logic? try to disable parts of the patch (by deleting it). does the problem go away? try to narrow down the culprit. use [print] for debugging rather than the numberbox (nbx will not tell you if a number changes 1 times per tick) use a profiler (e.g. valgrind, shark,...) What is that ??? It seems not to be related to Audio-Processing even with audio turned off, [vline~] has a known bug (fixed by claude, but i don't know whether this has already made it into Pd) that would start eating CPU if you keep sending it messages. there might be other objects that have similar problems (that is audio-objects that start eating CPU without dsp-on) it could have been that actuallyi realized it was behaving very strange and replaced it fgmasdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/ listinfo/pd-list --- Luigi Rensinghoff [EMAIL PROTECTED] skype:gigischinke ichat:gigicarlo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Anybody Using Faust ??
Hey List... what do think about Faust ??? Is anybody using it outside the academic research and teaching world... I just managed to get the Eks Extended Karplus Strong compiled on Intel Mac.. and would like to know if there is anybody with some experiences on it... Cheers Luigi --- Luigi Rensinghoff [EMAIL PROTECTED] skype:gigischinke ichat:gigicarlo ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pdp_ieee1394 ... couldn't create
Ctrl Alt Back wrote: Hello, its quite confusing, that in help is written for OSX. On Sat, Jun 14, 2008 at 08:55:10PM +0200, Hans-Christoph Steiner wrote: The 0.42 builds should have it included. Those are the builds from trunk of SVN. You could take the pidip.pd_linux and use it with another Pd-extended version if you want. on Pd version 0.42.0-extended-20080604 [pdp_ieee1394] gets created, but not if i try it with parameters : [pdp_ieee1394 640 480] : pdp_ieee1394 640 480 ... couldn't create without parameters, no error on creation, but sending other messages than close does not work : error: Bad arguments for message 'open' to object 'pdp_ieee1394' error: pdp_ieee1394: no method for 'reset' error: pdp_ieee1394: no method for 'quality' close CtrlAltBack bkoz the help file is pdp_ieee1394l.pd ( yes there is an 'l' here more ) can you ask any uncompressed video to have any quality? stupidity of quicktime on mac here you always refer to the stupid mac version that i should _kill_ ciao, sevy ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list