-
theblackpeacock
Hey folks, first post on the "new" forum. Stopped hanging around here since the times that I thought a handle like "theblackpeacock" was pretty cool.
Anyways I am digging into the newest version of vanilla after stubbornly sticking with pd-extended for all this time so I have a lot to catch up on. There were a couple of options for pd extended to handle drop down menus, I know that a lot has been added to the most recent vanilla including new objects. Is there now a native GUI object for drop down menus? If not has anyone come up with a creative way to hande this using just vanilla objects? Trying to stick to vanilla wherever I can.
Thank you!
-
theblackpeacock
Hey so Ive always had an easy time multiplying a clock phasor but wanted to divide it. Today I had a flash of insight and made a counter using all signal-rate objects using the same algorithm as the feedback float-and-adder counter used pretty often in PD. This divide patch is super accurate with a high frequency input. Although it expects a phasor at the input I have fed other things in and gotten interesting results.
Anyways it's all documented in case you want to dissect it. Enjoy
-
theblackpeacock
So I recently installed the new version of PD and I just loaded up fftease and nothing worked. My guess is that no one has ported them to the 64 bit version. Does anyone else have it working? I use that library a lot.
Oh yeah, running ubuntu 13.1
-
theblackpeacock
I am having no luck with the pix2sig object. I have snaps~ objects on all the signal outputs to check out the output but there is no output except a random burst every 30 seconds or so. The help file is only for sig2pix has anyone successfully used this object?
I am running PD 4.2 and Ubuntu 12.3.
-
theblackpeacock
I am finally getting back into visuals and I am just getting my feet wet with GEM. I used to use visual jockey gold, which is really great for freeware but man that thing was a pain in the tukus sometimes! All kind of stupid glitches and menu options that weren't controllable by MIDI. GEM on linux is the way to go for me.
I'm trying to get an old algorithm to work on gem that involves video feedback. Basically I start off with some video to initiate the loop, then I chromakey the video, apply filters/ color effects/ zoom rotation etc to the output and feed it back into the background of the chroma-keyed image. This makes it so that cutout portions of the video that I am playing go crazy with rainbow color goopy nonsense. Here's an example:
(notice the video staggering and crappy resolution due to vj gold :/ )
So far I have found this page ( http://www.hellocatfood.com/feedback-loops-in-pure-data/ ) which details using the pix_snap object to capture the entire render window and spit it into a texture. That works fine except that in this example the texture is being applied to a 3D object and I just want to use it for a plane, at least to start off with.
I am having some difficulty getting this method to work just printing to a single plane. Before I go shooting in the dark on how to fix it has anyone else figured out how to do this already/ have some resources for me to find? Google shows me a lot of people who have done it but very few who share their code.
Thanks!
-
theblackpeacock
Howdy
Im trying to compile a pd object that I made last year on windows, but now I am running ubuntu 12.04 and I am having some difficulty. Ive gone through lots of tutorials on various ubuntu forums about how to compile .c files and it seems pretty straight forward but pretty much no matter what I do the compiler does not seem to be recognizing my header files.
When I run the following command: "sudo gcc phizzlor_tilde.c -o phizzlor~.pd_linux -I /usr/local/include " what I get for the error is:
In function `_start':
(.text+0x18): undefined reference to `main'
/tmp/ccVR0TQ9.o: In function `phizzlor_new':
phizzlor_tilde5.c:(.text+0xf): undefined reference to `pd_new'
phizzlor_tilde5.c:(.text+0x6d): undefined reference to `post'
phizzlor_tilde5.c:(.text+0x7b): undefined reference to `s_signal'
phizzlor_tilde5.c:(.text+0x83): undefined reference to `s_signal'
phizzlor_tilde5.c:(.text+0x8f): undefined reference to `inlet_new'
phizzlor_tilde5.c:(.text+0x9d): undefined reference to `s_signal'
phizzlor_tilde5.c:(.text+0xa5): undefined reference to `s_signal'
phizzlor_tilde5.c:(.text+0xb1): undefined reference to `inlet_new'
phizzlor_tilde5.c:(.text+0xbf): undefined reference to `s_signal'
phizzlor_tilde5.c:(.text+0xc7): undefined reference to `s_signal'
phizzlor_tilde5.c:(.text+0xd3): undefined reference to `inlet_new'
phizzlor_tilde5.c:(.text+0xe1): undefined reference to `s_signal'
phizzlor_tilde5.c:(.text+0xe9): undefined reference to `s_signal'
phizzlor_tilde5.c:(.text+0xf5): undefined reference to `inlet_new'
phizzlor_tilde5.c:(.text+0x101): undefined reference to `gensym'
phizzlor_tilde5.c:(.text+0x110): undefined reference to `outlet_new'
/tmp/ccVR0TQ9.o: In function `phizzlor_perform':
phizzlor_tilde5.c:(.text+0x2b9): undefined reference to `pow'
/tmp/ccVR0TQ9.o: In function `phizzlor_dsp':
phizzlor_tilde5.c:(.text+0x45b): undefined reference to `dsp_add'
/tmp/ccVR0TQ9.o: In function `phizzlor_tilde_setup':
phizzlor_tilde5.c:(.text+0x511): undefined reference to `gensym'
phizzlor_tilde5.c:(.text+0x545): undefined reference to `class_new'
phizzlor_tilde5.c:(.text+0x556): undefined reference to `gensym'
phizzlor_tilde5.c:(.text+0x579): undefined reference to `class_addmethod'
phizzlor_tilde5.c:(.text+0x58e): undefined reference to `class_domainsignalin'
phizzlor_tilde5.c:(.text+0x59a): undefined reference to `gensym'
phizzlor_tilde5.c:(.text+0x5c5): undefined reference to `class_addmethod'
phizzlor_tilde5.c:(.text+0x5d1): undefined reference to `gensym'
phizzlor_tilde5.c:(.text+0x5fc): undefined reference to `class_addmethod'
phizzlor_tilde5.c:(.text+0x608): undefined reference to `gensym'
phizzlor_tilde5.c:(.text+0x633): undefined reference to `class_addmethod'
collect2: ld returned 1 exit statusEven though "m_pd.h" is in the folder "/usr/local/include" and the compiler isn't complaining at all about not being able to find the header file, the compiler clearly isn't recognizing the definitions of all these structures found in the header file.
Can anyone else with experience doing this lead me in the right direction?
Thank you
-
theblackpeacock
Hello all. As I mentioned I am running the newest version of PD on Ubuntu. For whatever reason when I have PD open it turns off all other audio, no matter which audio driver I am using. In previous version of PD this was the case but only when I had the DAC activated, in the newest version this happens even if the DAC is off. I am trying to build a work-around so that I can listen to music but also in this new version mp3play~ and readanysf~ don't seem to be working.
I am interested in a solution but I am also just bringing this to everyones attention. I am considering building the readanysf~ external for linux since the source code is online.
-
theblackpeacock
kind of a silly issue but I am using [tof/pmenu] with a modular synth patch im building where all of the controls are put in the menu so that I can assign controller banks to whatever I like. However I realized that after filling up 2 columns some of the entries are going off the bottom of the computer screen. [popup] isnt an option since it only uses 1 row so its actually worse. Any suggestions?
I wish the dang thing would just expand to 3 columns...
-
theblackpeacock
i was under the impression that you could send the name of a send~ / receive~ bus to the control inlet of a receive~ object (as im pretty sure you can do this with a normal control send receive) but it doesnt do anything. It isnt mentioned in the help file, just wondering if anyone knows what this does or did ancient aliens put it there to baffle modern humans?
-
theblackpeacock
I needed more list processing power than zl and coll could do for me and found myself doing the same thing many times over but in slightly different ways. So i decided to consolidate my list processing methods a la LISP and do everything with parentheses, as simple quotes dont allow nesting and dont get stored in coll files.
This library includes a parenthesis based sequencer called (recall) that can do fancy things when signals are used to drive it.
(paren), (unparen) and (drip) are good places to start if you want to see how this library works.
have fun with this and remember to put spaces between your parentheses!
edit: caught a few bugs, how embarrassing. Check the new upload I may be finding more bugs as I push these objects a little more
-
theblackpeacock
Hi! Im running Ubuntu 12.04 lts 64 bit and trying to install pd-extended. I grabbed the .deb file but when I go to install it I got the error "dependency is not satisfiable: libmagick++3 (>= 7:6.6.2.6)". The strange thing is that I currently have libmagick++4 installed. So ive started to go through all of the dependencies that are not there, installing previous versions of libraries that I have. I got rid of libmagick++4 in favor of libmagick++3, now im doing libquicktime1 instead of libquicktime2, libavcodec52, libavutils etc. All of these are dependencies that Ive installed the most recent versions of but pd just doesnt recognize them because they are new.
Is there a way around this? I bet most of these libraries are backwards compatible, is there a way to convence pd of that? Am i going to have to build pd myself?
I started by downloading vanilla and adding the external libraries but I found that a lot of essential GUI objects were missing and I was getting constant error messages, it was unusable.
Thanks for any help.
-
theblackpeacock
Hi! I bet someone has asked this before, but i couldnt find it. sorry to beat a dead donkey.
I recently made the swtch to linux, running ubuntu 10.10, and I installed pd vanilla from the ubuntu software center and then installed the libraries from the synaptic package manager. I did this because pd-extended does not seem to come directly from the software center, even from the link on the pd website.
The library externals seem to work but only after I open the help file from the browser for the appropriate object that I want to use, extremely frustrating. Its like I have to remind pd that it knows where my externals are one by one.
Does anyone know a way to have it find all the library files on startup, like the correct path where the external libraries are found?
thanks for holding the linux noobs hand
-
theblackpeacock
Hello all
Im trying to make a graph-on-parent object style tracker interface and i want to use multiple copies. This makes it hard to hack pd to do mouse clicks inside of the tracker with a [send pd], even when i name the canvases separately with a
[ namecanvas $0-tracker-blah ]. Is there some way that the canvas can tell that ive clicked inside of it so that I can let the tracker sort of "select" whichever one is being clicked in?Thank you
-
theblackpeacock
hi all
so in max you can send coll a message that says "set blah" and it will change the name of the coll that the [coll] object receiving the message is associated with. I cant seem to find an easy way to do this in pd, anyone else figure this out? I am trying to avoid doing something like blah1-blah2-0, blah1-blah2-1 for my index values so that i can still sort.
thank you
-
theblackpeacock
Howdy. Im trying to make a pd external with more than 2 signal inlets. So far i have been trying to do it in the way that I expanded from a 1 audio inlet to 2 audio inlet external, by adding an extra inlet_new function in my setup and adding a new inlet to my dsp method. This looks something like this:
static void *myobj_new(t_floatarg f)
{
t_myobj *x = (t_myobj *)pd_new(myobj_class);
x->x_f = f;inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_signal, &s_signal);
inlet_new(&x->x_obj, &x->x_obj.ob_pd, &s_signal, &s_signal);outlet_new(&x->x_obj, gensym("signal"));
return (x);
}static void myobj_dsp(t_myobj *x, t_signal **sp)
{
x->x_conv = 1./sp[0]->s_sr;
dsp_add(myobj_perform, 6, x, sp[0]->s_vec, sp[1]->s_vec, sp[2]->s_vec, sp[3]->s_vec, sp[0]->s_n);
}I didn't change the setup function.
Unfortunately this makes pd crash once I turn on audio. Can someone point me in the right direction for doing this kind of thing?
thanks!
-
theblackpeacock
hey all. I am trying to write a sequencer (i know i know) and i need to store values into a coll or some kind of lookup table. I am trying to do this with [tosymbol] and [fromsymbol] pairs to make sure that I can separate note events in each beat. It ends up looking like this in the coll file
instrument1 pattern1 step1 , (note1 64 127 1000 0) (note2 127 500 0)
where each parentheses pair represents something that has been tosymbol-ed together into a list and the extra numbers represent MIDInote# velocity duration and shift. This is good because when i am calling back the info i've stored i can break up the individual lists and then fromsymbol each separate note event to get my info out like so:
[beat info goes in <
|
[coll stored-info]
|
[zl iter 1]
|
[fromsymbol]
|
[output = (note1 64 127 1000 0), (note2 127 500 0), etc as seperate lists]The problem with this method is that coll does not seem to store/recall tosymbol information correctly when i save it as a txt file and try to recall it :/ Has anyone tried saving nested lists in a file before? I would like to avoid putting in extra symbols because i want to keep the original file readable but any help on this topic is greatly appreciated.
-
theblackpeacock
Hey all. I am trying to write a music randomizer with very few bells and whistles but i need it to be able to play mp3s. My only option seems to be mp3play~ but it has zero documentation, either in a helpfile or on the web. Can someone quickly post some stuff on how to use this object?
Also I hear a lot of people have problems with this "cant load level 2" error. Anyone know how to fix that?
Thank you
-
theblackpeacock
Hey all. Trying to do something pretty simple just have to randomly scramble a list and I have come across no easy ways to do it. Ideas?
-
theblackpeacock
Hey folks. Im trying to make some new interface objects with the really cool graph on parent feature. Unfortunately there seems to be some not so cool bugs along with it. Im trying to avoid using the [popup] object because it is very big and clunky. I am currently working on a dropdown menu that uses the donecanvas message to pd. Basically it resizes the canvas window to include some symbol boxes and buttons that are used to select the next symbol to display at the top and then resizes to only display 1 symbol box. Only thing is that the other symbol boxes are left drawn on the object even after the canvas is resized to exclude them. This should be clear if you check out the patch. Is there some way to refresh the interface so that it will get rid of these annoying leftover GUIs? Could this maybe be the purpose of the illusive restore command given in /pd_msg/0.all_msgs?
I included some of my abstractions because i cant remember if i included them or not.
If this doesnt work i think ill just have to suck it up and use [popup]
-
theblackpeacock
So im sending messages to pd in order to create subpatches that ive already built but that rely on being set up by some loadbangs. For some reason when i create the subpatches by hand the loadbangs trigger but when i create them with messages to pd the loadbangs do not trigger. Anyone experienced this?
Im running pd ext on a thinkpad win 7