• kuzu

    hi there,
    i have a project of motion detection/tracking objects with Gem, but i want to extract only the red channel and track only red objects, for that, when i use [colorRGB 1 0 0] i get the red channel but my problem is, a white object has RGB values of '1 1 1' too, so it's not really efficient detection of red, i tried to use hsv color map but i couldn't figure out how pix_rgb2hsv object could be used and how to get only some 'red' not 'white also'...
    if somebody have any ideas , or can tell me what i'm doing wrong, i would appreciate.
    thanks

    kuzu

    posted in pixel# read more
  • kuzu

    hi there,
    i'm trying to get an mp3 to an array and then play with tabread4~ etc.
    is it possible?
    couldn't find anything so far
    thanks for any help

    posted in technical issues read more
  • kuzu

    i'm working on a patch which has 2 tables,
    my problem is:
    i load a soundfile to one of them and play using tabread4~,
    when first soundfile is playing, when i try to load another soundfile to second table, it causes a pause in first table's sound,
    i would like to use that patch on live performances but because of this problem i cant.
    (i use windows Xp and pd extended 0.39.2)
    i thought may be if i use multithreading, when a file is being loaded to a table, the other can continue playing without pauses/clicks etc. but i dont know if its possible. i searched through some sites but i couldn't find anything.
    is there any way to prevent this? any ideas appreciated
    i hope i could be clear, sorry for my english.
    thanx

    posted in technical issues read more
  • kuzu

    hi ,
    i have a question about playing sound files.
    i found out how to change playing speed of a file using tabread4~, but i want to be able to change the tempo without changing sound's pitch. (it's like the 'master tempo' button on some of pioneer cd players.)
    also is it possible to change the pitch without changing the tempo? (or is it that 'pd hilbert' stuff in ssb mod.?)

    any suggestions
    hope i could tell my problem clearly:) thanx

    posted in technical issues read more
  • kuzu

    if i put [gcanvas] in a subpatch and choose this subpatch to be 'graph on parent',
    at parent patch that gcanvas is totally out of graph, actually it is created at its coordinates at subpatch.

    so it makes impossible to use gcanvas in an abstraction or subpatch?
    what else can i use or what can i do to fix this,
    any ideas?

    http://www.pdpatchrepo.info/hurleur/gbug.pd

    posted in technical issues read more
  • kuzu

    hi,
    i want to create a LFO that could change the volume of a signal with a sinusoidal wave
    i have some questions about that,
    i use a osc~ object for creating low frequences, and it has a signal outlet,
    input of volume number is control inlet,
    i used env~ but it looks like it uses a lot of CPU, is there any other objects that i can use for that job,

    and my other problem about env~:
    osc~ goes sinusoidally from 1 to 0,0 to -1, -1 to 0 ... and so,
    but env~ object outputs always positive values as amplitude (normally), so when osc~ is at 1 env~ outputs 99.99, when osc~ is at -1 env~ outputs 99.99 again, so its not the sine wave that controls the volume, its only the half of it...
    i dont know if i could tell my problem, a made an image of it =)

    you have any suggestions?

    http://www.pdpatchrepo.info/hurleur/oscenv.bmp

    posted in technical issues read more
  • kuzu

    hi friends,
    i have a problem about delwrite~ and delread~ objects,
    i want to create an object(patch) with a signal input and signal output, that output will be delayed, and i want to be able to use that object in other patches,
    i created a patch 'delayobject' using objects like:

    |delwrite~ delay 3000( |delread~ delay 400(

    but when i want to use more than one of these 'delayobject' s in an other patch, i get the error

    warning: delay: multiply defined

    so, for every 'delayobject' that i create i have to give 'delay' a different name automatically,
    i try to use something like $1-delay but i can't figure out how, cause there is no inlet for 'name' on delread~,delwrite~ objects,
    is there a way that i can rename these objects with a message?
    or any other ideas, suggestions?
    thanx

    posted in technical issues read more
  • kuzu

    hi, i'm new to puredata and i have a problem about graphs,
    for example, i create a graph and i want to put some bangs, some toggles.. inside,
    i edit the graph with right click->open, when i close it and look at the graph at parent patch all GUI objects are messed up - misplaced..
    is there any way that i can decorate these graph objects properly?

    for example,
    i have a graph width 200- height 150
    i want my toggles to be at a specific position (x,y) like (10,25) (30,25) (50 25)...
    is that possible?
    thanx

    posted in technical issues read more
  • kuzu

    ok, if for anyone who could be interested in the future, i figured it out with pix_alpha object:

    |
    | [1) [0) [1 0.3 0.3(
    | | | /
    | | | | [0.5 0 0(
    | | | | /
    [ pix_alpha ]
    |

    it thresholds rgb values between (0.5 0 0) and (1 0.3 0.3) so you get most of the red parts and the white parts, with like green and blue values over 0.3 are eliminated(become black)

    posted in pixel# read more
  • kuzu

    i had this problem with Pd extended 0.39.2
    because it contained a beta version of GEM i think ,
    download stable GEM ver 0.90 at http://gem.iem.at/releases
    and try
    gemhead->pix_video->pix_texture->square 4

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!