Re: [PD] How to add relative paths - was: Re: Extended can't load any library except Gem on Windows Vista
On 2010-03-07 19:30, Matteo Sisti Sette wrote: What can be wrong? seems like you are missing the libdir loader. Pd-extended compiles libraries as libdirs, which cannot be loaded as libraries by Pd-vanilla (nor by Pd-extended i think): in order to load them as a library,l you have to use a special loader libdir, which of course has to be loaded before trying to load any libdirized library. libloadliblidirlib. or you could us explicit namespaces, like [zexy/abs~]; but of course, then your patch won't work anymore with nonlibdirized libraries. (or libdirized libs layed out in other libdirectories) fgamsrd IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] routing midi-clock
On 2010-03-07 18:04, Atte André Jensen wrote: Hi I'm trying (and failing) to build a pd patch for routing midi-clock + audio based on the position of a horizontal slider. So basically a patch that sends all midi, or at least midi clock straight through if some object holds 1 block it if the object holds 0. you mean: [spigot]? I tried the [midirealtimein], but I'm not sure how to pass the messages to [midiout] (or some other object). ain't there no [midirealtimeout] on your system? A more severe problem, that I might be facing is if the stream of midi clock messages will be broken if I switch streams like this while the syncing app is running. i expect [midirealtimein] to produce fairly atomic messages, so you should be able to interrupt a stream generated by this object with [spigot] without any problems. this is not true for [midiin], as here you will get the _raw_ byte-stream from midi. since a message could consist of multiple bytes (multiple messages!), you cannot just interrupt the stream at will. fgmasdr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] warning: class XXX overwritten - what does it mean?
On 2010-03-07 17:58, Matteo Sisti Sette wrote: Hi, Can anybody explain what these warning messages mean, appearing on the Pd console at startup when I use GEM?: warning: class 'pix_filmQT' overwritten\; old one renamed 'pix_filmQT_aliased' warning: class 'pix_movieDS' overwritten\; old one renamed 'pix_movieDS_aliased' warning: class 'pix_videoDS' overwritten\; old one renamed 'pix_videoDS_aliased' Should I worry about them? The strangest thing is that the very same version of GEM can give these errors for example on a Vista machine and not on a Windows XP machine. Isn't it weird? no. it gives the warning with Pd=0.42 and it doesn't give the error with older Pd-versions (in those aged versions, you couldn't overwrite a class) there has been loads of discussion whether this is a bug or a feature (imho, it really is the latter; but it is a rather annoying feature, that probably does more harm than good; but otoh, i have learned to live with it and i can see a lot of potential...) as for worrying: Gem=0.92 should work fine, even if you get these warnings. fmgasdr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Create MIDI Message - Launchpad Interaction
On 2010-03-07 13:19, Achim Christian Bornhöft wrote: How can I create three bytes raw midi messages in the following forms to interact with my launchpad from within PD? 128, Key, Velocity use | [pack 0 0] | [128, $1, $2( | and similar. fmadsr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] analysis before synthesis: How?
hi maybe you could send us the sample? best regards Hi William, no, unfortunately no theremin...I fear, it is not even a synthesizer sound but of natural origin... Am I lost in synthesis ? In a world without fences and walls nobody needs gates and windows. William Brent william.br...@gmail.com [10-03-07 16:08]: If the scifi-sound is a theremin, there's a good chance that you could have decent success using sigmund~ to follow spectral peaks over a certain volume, and resynthesize by sending the frequency/amplitude information to a bank of oscillators. It'll help to know something about how spectral analysis works to find the best values for window size and hop, but sigmund~ makes things as easy as possible. The other option that might be worth a shot is Audacity's Noise Removal effect. You select a region of the file that is just noise to train it, then process the noise removal. From the few times I've used it, I've gotten results ranging from laughable to passable. It completely depends on the nature of the signal and noise components you're dealing with. Good luck, William On Sun, Mar 7, 2010 at 5:50 AM, meino.cra...@gmx.de wrote: Hi, this is more a general question: I have a piece of sound (sorry, English is not my mothers tonque...) which conatins beside background noise a scifi-sound, which I want to synthezise (synthesise?) with puredata as close to the original as possible -- without the background. Now I am looking for recipe to do such a thing -- without the need of a supercomputer and without the deep deep knowledge of really deep math. Is there a way to supress the backgroudn as much as possible? Would it be make sense to make a fourier analysis with a tool (what tool -- I am using puredata on Gentoo-Linux)? Are there others tool, which would help me to solve this task? Any idea and help are very appreciated -- thanks a lot in advance! best regards and have a nice sunday! mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- William Brent www.williambrent.com â#65533;#65533;Great minds flock togetherâ#65533;#65533; Conflations: conversational idiom for the 21st century www.conflations.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows. ___ 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] warning: class XXX overwritten - what does it mean?
IOhannes m zmoelnig escribió: no. it gives the warning with Pd=0.42 and it doesn't give the error with older Pd-versions Ouch, yes, I now realise I may have had different Pd versions (though not different gem versions) installed on the different machines. as for worrying: Gem=0.92 should work fine, even if you get these warnings. Great. Just out of curiosity however, what do the warning mean? Well ok, they mean a class has been overridden, but why? The classes mentioned in the error messages (pix_videoDS for example) don't exist in Pd, so it seems like they are defined twice in Gem? I just would like to understand roughly what's going on... thanks m. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] warning: class XXX overwritten - what does it mean?
On 2010-03-08 09:40, Matteo Sisti Sette wrote: Great. Just out of curiosity however, what do the warning mean? Well ok, they mean a class has been overridden, but why? The classes mentioned in the error messages (pix_videoDS for example) don't exist in Pd, so it seems like they are defined twice in Gem? yes. I just would like to understand roughly what's going on... so basically, if two objectclasses claim the same name, older versions of Pd would just ignore the second attempt to register a class with that name, whereas newer versions will happily give the name to the newer objectclass (but issuing a warning). in Gem some names are used multiple times, because of either inheritance (one objectlcass being derived from other another objectclass; this is C++-talk) or for compatibility reasons (e.g. using deprecated names). it currently does work despite of the warnings, but i would like to get rid of such disturbing matters in the next release. fgmsadr IOhannes smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] routing midi-clock
IOhannes m zmoelnig wrote: Thanks for taking the time to answer my post! you mean: [spigot]? Yes. I tried the [midirealtimein], but I'm not sure how to pass the messages to [midiout] (or some other object). ain't there no [midirealtimeout] on your system? Nope. I'm under linux, maybe that's part of the reason? When creating [midirealtimein] I get: error: midirealtimein: works under MSW only. However printing the output of it, seems to be ok, although I'm not 100% sure what to expect... Help says: Pd version 0.42.5-extended-20091101 Should I install something else, maybe some other version or something extra? I'm not sure if I installed from ubuntu repos or from a deb found on puredata.info... A more severe problem, that I might be facing is if the stream of midi clock messages will be broken if I switch streams like this while the syncing app is running. i expect [midirealtimein] to produce fairly atomic messages, so you should be able to interrupt a stream generated by this object with [spigot] without any problems. I guess you're right. If I could only get [midirealtimeout] I have a feeling that I would be ready... -- Atte http://atte.dk http://modlys.dk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] warning: class XXX overwritten - what does it mean?
IOhannes m zmoelnig escribió: in Gem some names are used multiple times, because of either inheritance (one objectlcass being derived from other another objectclass; this is C++-talk) or for compatibility reasons (e.g. using deprecated names). Ok it's clearer now. Thank you very much :) -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to add relative paths - was: Re: Extended can't load any library except Gem on Windows Vista
IOhannes m zmoelnig escribió: seems like you are missing the libdir loader. Pd-extended compiles libraries as libdirs, [...] Oh yes! Libdir is indeed the first item in the loadlib list - i.e. it is loadlib1=libdir in the registry, so the mistery is why libdir doesn't [didn't] load in the first place (I do, and did, have a libdir.dll file in the extra folder). Now two strange things: 1) I manually re-edited the .reg file, apparently reestablishing it just like it was before (I had replaced all loadlib with path as a workaround, to have all externals available though not pre-loaded), and surprise surprise, now everything works: libdir loads and all subsequent libs load 2) Now, just to try, I deleted all keys from the registry (all the loadlib entries _and_ the nloadlib entry); however, when I run Pd, it still loads all libraries, and they appear in the startup list. If I modify the list from Pd and click Apply, then all keys in the registry are created again. So, how does Pd remember the startup list after I delete it from the registry? Seems like it saves it somewhere else. Where?? Or is it the registry itself that has some sort of cache? Regarding mistrey (1), there is an error in the pd-settings.reg file (as it ships with Pd Extended), that the line just before loadlib1=libdir reads flags= where it should read flags= However I had fixed it already, so it doesn't quite explain the fact that libdir didn't load.. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] gem framebuffer question
hello, i am having a problem with inserting gemframebuffer in the right way in the attached patch. as you can see i try to buffer the texture on the big rectangle and put it on a smaller one. the only way i could get a buffer image was to put it in parallel to the a-branch of |t b a| which seems odd to me. furthermore the produced texture is just showing a segment of the whole 1600 600. what am i doing wrong ? thank you for your help. best erich #N canvas 674 48 1028 813 10; #X obj 99 420 GEMglLoadIdentity; #X obj 99 543 scaleXYZ 4 4 1; #X obj 99 513 rotateXYZ 0 0 0; #X obj 99 274 t b a; #X obj 99 244 gemhead -16; #X obj 99 387 pix_snap2tex 0 0 1600 600; #X obj 99 581 rectangle 8 3; #X obj 99 453 colorRGB 1 1 1; #X obj 37 134 gemwin; #X msg 108 90 dimen 1600 600; #X obj 37 23 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X msg 37 90 create \, 1; #X obj 37 47 t b b; #X obj 396 6 gemhead; #X obj 396 191 circle 0.1; #X obj 396 40 colorRGB 1 0 0; #X obj 396 73 rotateXYZ 0 0 0; #X msg 224 89 0 \, destroy; #X obj 577 56 counter 0 360; #X obj 577 23 t b; #X floatatom 577 89 5 0 0 0 - - -; #X obj 577 116 select 360; #X obj 396 163 translateXYZ 0.5 0 0; #X obj 99 483 translateXYZ 0 0 -12; #X obj 577 146 counter 0 100; #X obj 438 312 gemhead -17; #X obj 176 312 gemframebuffer; #X obj 176 343 translateXYZ 0 0 -4; #X obj 438 353 pix_texture; #X obj 438 383 translateXYZ 4 -2 0; #X obj 438 409 rectangle 4 4; #X connect 0 0 7 0; #X connect 1 0 6 0; #X connect 2 0 1 0; #X connect 3 0 5 0; #X connect 3 1 5 0; #X connect 3 1 26 0; #X connect 4 0 3 0; #X connect 5 0 0 0; #X connect 7 0 23 0; #X connect 9 0 8 0; #X connect 10 0 12 0; #X connect 11 0 8 0; #X connect 12 0 11 0; #X connect 12 1 9 0; #X connect 13 0 15 0; #X connect 13 0 19 0; #X connect 15 0 16 0; #X connect 16 0 22 0; #X connect 17 0 8 0; #X connect 18 0 16 3; #X connect 18 0 20 0; #X connect 19 0 18 0; #X connect 20 0 21 0; #X connect 21 0 24 0; #X connect 22 0 14 0; #X connect 23 0 2 0; #X connect 24 0 22 1; #X connect 25 0 28 0; #X connect 26 0 27 0; #X connect 26 1 28 1; #X connect 27 0 5 0; #X connect 28 0 29 0; #X connect 29 0 30 0; ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] py/pext compiling problem 64-bit
Hi all, I'trying to compile py/pyext on ubuntu 64-bit machine. with flext rev 3659 I've got no problems. with flext rev 3723 I've got the error below: ubu...@ubuntu-desktop:~/pd/source/py_3723$ sh ../flext_3723/build.sh pd gcc make -f ../flext_3723/buildsys/gnumake-sub.mak PLATFORM=lnx RTSYS=pd COMPILER=gcc BUILDPATH=../flext_3723/buildsys/ PKGINFO=package.txt BUILDCLASS=ext USRCONFIG=config.txt USRMAKE=build/gnumake-lnx-gcc.inc TARGETMODE=release TARGETTYPE=multi THREADED=1 _build_ make[1]: ingresso nella directory «/home/ubuntu/pd/source/py_3723» mkdir -p pd-linux/release-multi/ g++ -c -pthread -fPIC -fvisibility-inlines-hidden -DPY_EXPORTS -DPY_NUMPY -DPY_USE_GIL -DNDEBUG -DFLEXT_THREADS -DFLEXT_SYS=2 -DPD -I/usr/include/python2.6 -I/home/ubuntu/pd/source/pd-0.42-5/src -I/usr/local/include/stk -I/usr/local/include/sndobj -I/usr/local/include/flext source/pybuffer.cpp -o pd-linux/release-multi/pybuffer.opp source/pybuffer.cpp:154: warning: deprecated conversion from string constant to ‘char*’ source/pybuffer.cpp: In function ‘int buffer_ass_slice(PyObject*, Py_ssize_t, Py_ssize_t, PyObject*)’: source/pybuffer.cpp:406: error: no matching function for call to ‘flext_multi::CopySamples(flext_multi::buffer::Element*, t_sample*, int)’ /usr/local/include/flext/flsupport.h:425: note: candidates are: static void flext_multi::CopySamples(t_sample*, const t_sample*, int) Someone can help? PS: I'm trying rev 3723 because of 64-bit buffer patch ( http://markmail.org/message/6v52tlvllwvcwilj#query:+page:1+mid:6hpplp4wfi4u6vkc+state:resultsg...@g.org ) My goal is to handle arrays directly in python, but with the rev 3659 I'm only get half of the array inside py (the other half is set to zero). Am I on the right way to fix my problem? Thanks and ciao! ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] gridflow on windows
Hi, I have just downloaded gridflow 0.0.7(final) for Windows from http://gridflow.ca/ and followed the installation instructions (copy 7 dll files to windows/system32, the gridflow folder into extra, and added gridflow to startup), but I get the following error (in a popup window, not the pd console): No se encuentra el punto de entrada del procedimiento canvas_setgraph en la biblioteca de vínculos dinámicos pd.dll which roughly means cannot find the entry point of procedure canvas_setgraph in the dynamic link library pd.dll Once I hit OK, the console says: D:\\programmi\\pd\\extra\\gridflow\\gridflow.dll: couldn't load gridflow: can't load library Do I need something more to have it running on Windows? Or should I try with some older version of Pd? (I'm using 0.42.4) thanks m. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gridflow on windows
Oh sh##, I see it needs Pd Extented. I was trying it with Pd Vanilla. Maybe it would be a good idea to mention it in the installation readme and/or home page, or is it obvious? It seems it works for the moment. However, in the tutorial intro (gf_tutorial_intro.pd) there are a lot of [pddp_open] objects that cannot create. What is pddp_open? Where can I get it? thanks m. Matteo Sisti Sette escribió: Hi, I have just downloaded gridflow 0.0.7(final) for Windows from http://gridflow.ca/ and followed the installation instructions (copy 7 dll files to windows/system32, the gridflow folder into extra, and added gridflow to startup), but I get the following error (in a popup window, not the pd console): No se encuentra el punto de entrada del procedimiento canvas_setgraph en la biblioteca de vínculos dinámicos pd.dll which roughly means cannot find the entry point of procedure canvas_setgraph in the dynamic link library pd.dll Once I hit OK, the console says: D:\\programmi\\pd\\extra\\gridflow\\gridflow.dll: couldn't load gridflow: can't load library Do I need something more to have it running on Windows? Or should I try with some older version of Pd? (I'm using 0.42.4) thanks m. -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] reporting gridflow bugs
Hi, Is the Pd bugtracker the right place for reporting GridFlow bugs? I ask because there isn't a single bug with the keyword gridflow... -- Matteo Sisti Sette matteosistise...@gmail.com http://www.matteosistisette.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gridflow on windows
Pddp is the PureData Documentation Project i'm not using it so i don't know much about it, but you can probably download a package from the net Greetings, p. Matteo Sisti Sette a écrit : Oh sh##, I see it needs Pd Extented. I was trying it with Pd Vanilla. Maybe it would be a good idea to mention it in the installation readme and/or home page, or is it obvious? It seems it works for the moment. However, in the tutorial intro (gf_tutorial_intro.pd) there are a lot of [pddp_open] objects that cannot create. What is pddp_open? Where can I get it? thanks m. Matteo Sisti Sette escribió: Hi, I have just downloaded gridflow 0.0.7(final) for Windows from http://gridflow.ca/ and followed the installation instructions (copy 7 dll files to windows/system32, the gridflow folder into extra, and added gridflow to startup), but I get the following error (in a popup window, not the pd console): No se encuentra el punto de entrada del procedimiento canvas_setgraph en la biblioteca de vínculos dinámicos pd.dll which roughly means cannot find the entry point of procedure canvas_setgraph in the dynamic link library pd.dll Once I hit OK, the console says: D:\\programmi\\pd\\extra\\gridflow\\gridflow.dll: couldn't load gridflow: can't load library Do I need something more to have it running on Windows? Or should I try with some older version of Pd? (I'm using 0.42.4) thanks m. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [devolts] capture bpm
descritores? 2010/3/6 Ricardo Brazileiro rbrazile...@gmail.com re all, how to capture bpm from adc~ ? -- ricardo brazileiro http://rbrazileiro.info -- Página pessoal: http://gcravista.googlepages.com/guilhermemartinslunhanii ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] dsp help for tonestack
Howdy guys (are there girls on this list?), I'm looking to try to implement some guitar dsp in pd, mainly a preamp, tonestack, and speaker cabinet. I want to see if it's possible to get a better frequency response with my guitar without taking too much cpu or buying extra gear. Anyway, I've found some great examples in the CAPS LADSPA plugins and I'm looking at the C++ for the tonestack. I haven't used any of the filter primitives in PD before, so I don't know where to start. I haven't really done any lower level dsp aside from an intro to signal processing in undergrad (a while ago now). Can anyone give me a pointer on how to implement this function using rpole~, rzero~, etc:? y = 2 * (a * (x - x[-2]) + c * y[-1] - b * y[-2]) It's the transposed Direct Form II digital filter from dsp/TDFII.h ... yes, I know I *could* run the plugin through [plugin~] but I prefer to keep things minimal. ANyway, this is an experiment. Dan Wilcox danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] dsp help for tonestack
It's all Greek to me, but have you checked out this? http://www.linuxjournal.com/content/introducing-guitarix D. On 3/9/10 4:15 AM, Dan Wilcox wrote: Can anyone give me a pointer on how to implement this function using rpole~, rzero~, etc:? y = 2 * (a * (x - x[-2]) + c * y[-1] - b * y[-2]) It's the transposed Direct Form II digital filter from dsp/TDFII.h ... yes, I know I *could* run the plugin through [plugin~] but I prefer to keep things minimal. ANyway, this is an experiment. -- ::: derek holzer ::: http://macumbista.net ::: ---Oblique Strategy # 183: When is it for? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list