Hi Javier,
Javier GarcĂa wrote:
Hi,
I would like to start with pdp and pidip. Is there any manual or list objects?
Documentation is scarce, almost non-existent in fact besides the sometimes-helpful helpfiles that come with the objects. Here's a list, which I've included in the FLOSS Manual for PD that I'm working on.
Good luck! d.
http://en.flossmanuals.net/PureData/ListofObjects
PDP
This is a list of all pdp objects and abstractions with a minimal description. Take a look at the patches in the doc/ directory for more info. (Messy doc & test patches can be found in the test/ directory.)
general purpose pdp modules:
pdp_del a packet delay line pdp_reg a packet register pdp_snap takes a snapshot of a packet stream pdp_trigger similar to pd's trigger object pdp_route routes a packet to a specific outlet pdp_loop a packet loop sampler (packet array) pdp_description output a symbol describing the packet type pdp_convert convert between packet types
image inputs/outputs:
pdp_xv displays images using the xvideo extension pdp_glx displays images using opengl pdp_v4l reads images from a video4linux device pdp_qt reads quicktime movies
image processors:
pdp_abs absolute value pdp_add adds two images pdp_and bitwize and pdp_bitdepth set bit depth pdp_bitmask apply a bit mask pdp_bq spatial biquad filter pdp_bqt temporal biquad filter pdp_cog gaussian blob estimator pdp_constant fills an image with a constant pdp_conv horizontal/vertical seperable convolution filter pdp_cheby chebyshev color shaper pdp_chrot rotates the chroma components pdp_flip_lr flip left <-> right pdp_flip_tb flip top <-> bottom pdp_grey converts an image to greyscale pdp_grey2mask converts a greyscale image to an image mask pdp_hthresh hard thresholding pdp_mul multiplies two images pdp_mix crossfade between 2 images pdp_mix2 mixes 2 images after applying a gain to each of them pdp_noise a noise generator pdp_not bitwize not pdp_or bitwize or pdp_plasma plasma generator pdp_pointcloud convert an image to a point cloud pdp_positive sign function that creates a bitmask pdp_randmix crossfades 2 images by taking random pixels pdp_rotate tiled rotate pdp_scale rescale an image pdp_sign sign function pdp_sthresh soft thresholding pdp_zoom tiled zoom pdp_zrot tiled zoom + rotate pdp_zthresh zero threshold (x<0 -> 0) pdp_xor bitwize xor
dsp objects
pdp_scope~ a very simple oscilloscope pdp_scan~ phase input scanned synthesis oscillator pdp_scanxy~ x,y coordinate input scanned synthesis oscillator
utility abstractions
pdp_pps computes the packet rate in packets/sec
image abstractions
pdp_agc automatic gain control (intensity maximizer) pdp_blur blurs an image pdp_blur_hor horizontal blur pdp_blur_ver vertical blur pdp_contrast contrast enhancement pdp_dither a dither effect pdp_phase applies an allpass filter to an image pdp_phase_hor horizontal allpass pdp_phase_ver vertical allpass pdp_motion_blur blurs motion pdp_motion_phase phase shifts motion pdp_offset add an offset to an image pdp_alledge an all edge detector pdp_conv_emboss emboss pdp_conv_sobel_hor horizontal sobel edge detector pdp_conv_sobel_ver vertical sobel edge detector pdp_conv_sobel_edge sum of squares of hor and ver pdp_saturation change colour saturation pdp_sub subtract 2 images pdp_invert inverse video pdp_gain3 set 3 channel gains independently pdp_gradient converts a greyscale to colour using a colour gradient pdp_png_to convert a png file (on disk) to a certain packet type pdp_tag tag a packet (to use it with route)
matrix processors
pdp_m_mv matrix vector multiply pdp_m_mm matrix matrix multiply pdp_m_+=mm matrix matrix multiply add pdp_m_LU compute LU decomposition pdp_m_LU_inverse compute matrix inverse from LU decomp pdp_m_LU_solve solve a linear system using LU decomp
matrix abstractions
pdp_m_inverse compute matrix inverse
SEPARATE LIBRARIES:
cellular automata (pdp_scaf)
pdp_ca computes a cellular automaton (as a generator or a filter) pdp_ca2image convert a CA packet to a greyscale image (obsolete: use pdp_convert) pdp_image2ca convert an image to a CA packet (black and white) (obsolete: use pdp_convert)
3d drawing objects (pdp_opengl)
3dp_windowcontext a drawable window 3dp_draw draw objects (cube, sphere, ...) 3dp_view viewing transforms (rotate, translate, ...) 3dp_light light source 3dp_push push a matrix (modelview, texture, ...) 3dp_dlist compile a display list 3dp_snap copies the drawing buffer to a texture packet 3dp_mode set the current matrix mode 3dp_toggle set some opengl state variables
3d drawing abstractions (pdp_opengl)
3dp_mouserotate connect to 3dp_windowcontext to rotate the scene 3dp_blend turn on accumulative blending mode
================================================================================ PiDiP
pdp_ascii an ASCII art renderer pdp_canvas a video canvas pdp_charcoal charcoal effect pdp_cmap a color mapper pdp_colorgrid a color picker pdp_compose a video compositor pdp_capture screen capture to video utility pdp_ctrack a color tracker pdp_disintegration disintegration effect pdp_ffmpeg~ a video streamer towards a ffserver pdp_form a geometric forms adder pdp_i/pdp_o PD to PD streaming objects pdp_imgloader load an image and blend it with a video source pdp_live~ a video stream decoder (at least from ffserver) pdp_mgrid a grid-based motion detector pdp_morphology: pdp_binary pdp_erode pdp_dilate pdp_hitandmiss pdp_distance + patches: closing, opening, skeletization, thinning, thickening pdp_mp4live~ a quicktime stream emitter (darwin, quicktime) pdp_mp4player~ a quicktime stream receiver (darwin, quicktime) pdp_pen free hand drawing object pdp_rec~ a quicktime file recorder Video: jpeg, yuv2, divx, dv, yuv2 Audio: twos, raw pdp_shape shape detection object pdp_spigot a video signal router pdp_spotlight a spotlight especially made for cabaret pdp_text a text addition object pdp_theorin~ threaded theora/ogg files reader pdp_theorout~ theora/ogg files recorder pdp_transition transition between two video sources pdp_qt quicktime movie reader pdp_qt~ quicktime movie reader with audio pdp_yqt a quicktime movie reader with less functionnalities pdp_qt but with less functionnalities codecs : jpeg, yuv2, divx, dv, yuv2 no compressed headers! pdp_aging, pdp_baltan, pdp_cycle, pdp_dice, pdp_edge, pdp_intrusion, pdp_lens, pdp_mosaic, pdp_nervous, pdp_puzzle, pdp_quark, pdp_radioactiv, pdp_rev, pdp_ripple, pdp_shagadelic pdp_simura, pdp_spiral, pdp_transform, pdp_underwatch, pdp_vertigo pdp_warhol, pdp_warp : the port of effecTV to PDP.