-
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.
thankskuzu
-
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 -
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 -
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 -
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? -
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?
-
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 -
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 -
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)
-
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 -
kuzu
i am trying to create a patch that can be used for djing, so the patch at least should permit changing the speed of songs, i can do it in wav files but wav files take lots of space and hard to convert all my mp3 files into wavs. thats why i asked if its possible
(tryin to do stg. like atomixmp3)
thanx -
-
-
kuzu
only GUI objets appears at parent patch, thats why metro isnt seen
but my problem is only about gcanvas's being misplaced -
kuzu
thank you all,
nestor's idea is very useful also but i wanted to control a 'number' using a lfo so that i would be able to change not only the volume but also other parametres of a signal (like frequency... or maybe a delay time etc..)
i send my version as attachement which oscillates between 0 and 1
(i used metro 10 it sounds fine for up to 10hz (but it could be a metro 50)) -
kuzu
thank u very much,
i solved the problem with a
metro and snapshot~ -
kuzu
i understand now looking at zzo's 'delay~' abstraction
thank you obiwannabe, and zzo38