• happilylazy

    Wow, thanks a lot for these specific implementation. They look like exactly what I need.
    I will try to use them and see how far I can get.

    But, I was still wondering if masking, or pixel analysis could solve my problem using pure GEM. Simply.

    posted in pixel# read more
  • happilylazy

    Greetings, I have been using PD for audio for a number of years, but now I am boldly exploring the multimedia side of it. So I need a bit of help with my patch.

    I am interested in using GEM with live camera to get the information on the moving object on the camera.
    More specifically, are the moving objects (changes) present in four quadrants of the image, and what is the minimal distance from the center of the image 'r', as depicted in the image below.

    Using the pix_background it is easy to extract only the changes on an image and extract moving objects, but how do I detect in which quadrant of the image are these objects present, and what is the minimum distance from the center of the image?

    In the case of the illustration, the objects are in the quadrant 1 & 4, and the minimum distance from the center is 'r'.


    posted in pixel# read more
  • happilylazy

    Wow, I actually got this working perfectly, for both of your answers. My external devices are reacting as expected, no glitches or problems.

    @NoDSP: That was a good demonstration of how to implement it on low level, definitely useful to implement in patches.
    @rjp9: A great patch, thank you. This is a clean robust solution.

    posted in technical issues read more
  • happilylazy

    I am trying to sync through MIDI my PD patches and some hardware equipment. The reason is that PD generates music and I jam to it with instruments connected to effects and samplers. The problem is that those samplers and effects are BMP dependent and need this information to perform.

    How can I send MIDI clock messages from PD?

    I can't seam to find a way of doing this with [midiout] and [noteout].
    I am using Win7.

    p.s. I believe I found some hints that on linux using [midiout] it is possible to do this, but is this exclusive for linux or possible on Win too?

    posted in technical issues read more
  • happilylazy

    To make it more simple.

    How to read a complete line of text till carriage return, regardless of symbols present?

    I use [ read ecg_data.txt cr ( command to [ textfile ].

    posted in technical issues read more
  • happilylazy

    I need to read a whole line of text (till carriage return) from a file. My text file looks like this


    Unfortunately, I can only read one atom at a time with textfile object and bang, as you can see in the attached patch.

    I actually need the whole line, but PD stops after comma. How do I do this?


    posted in technical issues read more
  • happilylazy

    I have a set of images i want to make into a stop animation.
    I use [pix_image] and [pix_draw] to draw random images, from which I stream into [pix_record].


    I am unable to produce video, I breaks after second image.

    I was able to create video if using just a static image on Win 7 and up to 4 seconds mjpeg codec 3 video on Ubuntu. I tried pictures of same format, larger-smaller GEM window, all codecs on both systems, and nothing works.

    Can you please help out, help me find some setting that would successfully produce video.

    Here's my test patch, need ch_gemwin.pd and gemwin_control.pd


    posted in pixel# read more
  • happilylazy

    I am having a problem on setting up timing of events in my PD patch.

    What I need is to play "Sine osc~" for 5 seconds, and then a "Saw osc~" for 5 seconds, not playing them both at the same time but interchangeably.
    It would be nice if I could repeat this for ever too.

    Can anyone help to make this in my patch?
    I am stuck and it seams like a simple problem.

    posted in patch~ read more
  • happilylazy

    Hi everyone,

    I am interested in TCP/IP communication from the Unix server to the Pure Data. I have it realized using sockets on the Unix server side, and netclient on the Pure Data side. I exploited the chat-server tutorial for this.

    Now the problem lies that the server is streaming the data out as a "string" message delimited with ";"

    My question is, is there a way to send something other than string message to Pure Data, like byte-stream or serialized number stream? Can Pure Data receive such messages?

    Since string takes too many bytes to transfer, for example number "1024;" is already 5 bytes, while any integer number is just 4 bytes.

    posted in technical issues read more
  • happilylazy

    I need help to build a patch that would change the timbre of a played/recorded instrument, in such a way to match the timbre of another one.
    This is to make one instrument sound like another one (both instrument timbres are known).

    Can you please help me get started and point me to the right direction.
    How would one start to create such a patch in Pure Data?

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!