From ccddec68116fc6403858ebfa13d4a7b1aa3d5278 Mon Sep 17 00:00:00 2001 From: "N.N." Date: Sun, 18 Oct 2009 20:01:19 +0000 Subject: hi gridflow 0.9.5 svn path=/trunk/; revision=12611 --- externals/gridflow/doc/flow_classes/#in-help.pd | 226 ++++++++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 externals/gridflow/doc/flow_classes/#in-help.pd (limited to 'externals/gridflow/doc/flow_classes/#in-help.pd') diff --git a/externals/gridflow/doc/flow_classes/#in-help.pd b/externals/gridflow/doc/flow_classes/#in-help.pd new file mode 100644 index 00000000..f2f9a610 --- /dev/null +++ b/externals/gridflow/doc/flow_classes/#in-help.pd @@ -0,0 +1,226 @@ +#N canvas 172 0 512 689 10; +#X obj 354 172 #out window; +#X obj 7 9 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X obj 17 10 #in; +#X text 13 34 This object imports a grid \, usually an image \, video +or live stream.; +#X msg 362 126 open working.jpg; +#X obj 354 106 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 +-1; +#X text 55 181 <--click here; +#X obj 8 352 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 13 353 Inlet_0; +#X text 79 379 A bang sends a grid to [#out]. Since frames from videos +and live streams are read as a series of individual grids \, successive +bangs advance through the frames.; +#X text 77 466 "set" - followed by a number will select the corresponding +video frame. A bang must be sent to [#in] in order to display the frame. +; +#X text 77 512 "close" - Closes the video input device. Only necessary +when you are using a live capture device.; +#X text 76 546 "rewind" - Will rewind video to the beginning.; +#X text 76 600 "loop 0" - turns off the loop option. The video stops +once it reaches the end.; +#X text 81 862 Signals the end of a file and when a file is unreadable. +; +#X obj 8 789 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 9 790 Outlet_0; +#X text 82 814 Displays the resulting grid when connected to [#out +window]; +#X obj 10 839 cnv 15 60 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 10 840 Outlet_1; +#X text 81 892 Displays the frame number of the frame currently being +viewed. Applies to formats that have frame numbers \, i.e. video.; +#X obj 7 328 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 201 329 Inlets (1); +#N canvas 82 93 663 454 quicktime 0; +#X text 9 9 The following messages can be used to set parameters for +video (.mov) files.; +#X text 128 283 different versions of LibQuickTime may include support +for different codecs \, and some may also support entirely different +wrapper formats such as AVI.; +#X text 129 367 Codecs must be set before first frame is written.; +#X text 128 330 QuickTime library for Macintosh: Apple QuickTime (some +codecs/features may not be available).; +#X obj 9 272 cnv 15 24 17 empty empty empty 20 12 0 14 -241291 -66577 +0; +#X msg 38 230 codec jpg; +#X msg 23 116 framerate 33; +#X msg 33 203 colorspace rgb; +#X msg 18 78 size 400 600; +#X obj 10 272 #in; +#X text 145 117 Number of frames per second.; +#X msg 32 171 parameter jpeg_quality 85; +#X text 187 147 Determines window size when reading a video file.; +#X text 129 230 quicktime library for linux accepts LibQuickTime (libquicktime.so). +codecs currently available are: Raw \, jpeg \, png \, mipa \, yuv2 +\, yuv4.; +#X text 134 84 Sets height and width. Must be set before setting the +codec parameters and after setting framerate and codec.; +#X text 107 230 <--; +#X text 108 80 <--; +#X text 119 118 <--; +#X text 108 80 <--; +#X text 108 80 <--; +#X text 162 147 <--; +#X text 212 173 <--; +#X text 139 206 <--; +#X text 237 174 Sets compression quality (100 being the highest quality +\, but a large file. 75-85 is the standard setting).; +#X text 163 209 Other colorspaces include rgba \, bgr \, bgra \, yuv +\, yuva.; +#X msg 10 54 open example.mov; +#X msg 28 145 force_size 480 640; +#X obj 103 427 #record; +#X text 15 427 see also :; +#X connect 5 0 9 0; +#X connect 6 0 9 0; +#X connect 7 0 9 0; +#X connect 8 0 9 0; +#X connect 11 0 9 0; +#X connect 25 0 9 0; +#X connect 26 0 9 0; +#X restore 145 688 pd quicktime file messages; +#X obj 353 151 cnv 15 25 17 empty empty empty 20 12 0 14 -241291 -66577 +0; +#X obj 354 151 #in; +#X obj 15 228 cnv 15 25 17 empty empty empty 20 12 0 14 -241291 -66577 +0; +#X floatatom 202 195 5 0 0 0 - - -; +#X msg 202 151 set 2; +#X msg 202 107 loop 0; +#X msg 202 129 loop 1; +#X floatatom 32 285 5 0 0 0 - - -; +#X msg 202 173 rewind; +#X obj 41 267 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 16 228 #in; +#X text 39 98 <--click here; +#X obj 17 96 tgl 15 0 empty empty empty 0 -6 0 8 -24198 -1 -1 0 1; +#X obj 17 120 metro 33.3; +#X obj 355 255 cnv 15 101 17 empty empty empty 20 12 0 14 -241291 -66577 +0; +#X obj 356 234 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 +-1; +#X obj 356 280 #out window; +#X obj 356 255 #in sewing.jpg; +#X text 378 234 <--click here; +#X text 77 671 For info about messages specifically for quickTime files +\, click on:; +#N canvas 150 0 874 560 more 0; +#X msg 191 388 open videodev \$1 \, get; +#X msg 52 147 brightness 1000; +#X msg 41 124 hue 1000; +#X msg 26 101 color 1000; +#X msg 65 171 contrast 1000; +#X msg 14 78 whiteness 1000; +#X msg 80 264 channel 2; +#X msg 80 294 tuner 2; +#X msg 81 324 norm 2; +#X msg 81 352 frequency 2; +#X msg 190 456 transfer mmap 4; +#X msg 191 356 transfer read; +#X msg 190 434 colorspace RGB24; +#X msg 191 411 size 400 600; +#X obj 14 441 #in; +#X obj 192 172 #contrast; +#X text 166 172 or; +#X text 306 411 Sets height and width of the input.; +#X text 322 488 In the case of mmap \, the extra numeric argument sets +the queue length in number of frames \, so you can select an appropriate +tradeoff between efficiency and latency.; +#X text 16 12 Grid Settings; +#X text 322 457 This is the standard and fastest way to receive pictures +from the camera.; +#X text 121 99 Message "get brightness" or "get" followed by any of +the other colour attributes will display its values in the console. +; +#X text 375 390 Opens video device.; +#X text 331 435 Supported values are RGB24 or YUV420P.; +#X text 14 48 Color Adjustments; +#X text 144 75 Values from 0 to 65535; +#X text 283 412 <--; +#X text 309 435 <--; +#X text 345 390 <--; +#X text 300 456 <--; +#X text 287 357 <--; +#X text 310 357 Some cameras/drivers only support "transfer read" and +not mmap.; +#X text 6 520 see also :; +#X obj 92 520 #camera; +#X connect 0 0 14 0; +#X connect 1 0 14 0; +#X connect 2 0 14 0; +#X connect 3 0 14 0; +#X connect 4 0 14 0; +#X connect 5 0 14 0; +#X connect 6 0 14 0; +#X connect 7 0 14 0; +#X connect 8 0 14 0; +#X connect 9 0 14 0; +#X connect 10 0 14 0; +#X connect 11 0 14 0; +#X connect 12 0 14 0; +#X connect 13 0 14 0; +#X restore 145 649 pd more info about video devices; +#X text 77 632 For info about messages specifically for video devices +\, click on:; +#X text 8 813 GRID; +#X text 10 863 BANG; +#X text 9 890 INTEGER; +#X text 7 962 FILE NAME; +#X text 9 381 GRID; +#X text 9 433 MESSAGE; +#X text 8 727 INTEGER; +#X text 169 213 (and turn off the metro); +#X text 244 195 <-- vary this; +#X obj 7 765 cnv 15 500 17 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 197 766 Outlets (2); +#X text 197 766 Outlets (2); +#X obj 8 943 cnv 15 500 18 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 195 944 Arguments; +#X text 352 74 IMAGE FILES:; +#X text 12 72 VIDEO FILES:; +#X obj 28 183 bng 15 250 50 0 empty empty empty 0 -6 0 8 -24198 -1 +-1; +#X text 380 106 <-- click here; +#X text 68 265 <-- sends a bang upon reaching; +#X text 97 278 the end of the file; +#X obj 16 305 #out window \, title video; +#X text 90 962 Including the file name of a grid into the [#in] object +eliminates the need for an "open" message but limits the action to +one specified grid.; +#X text 77 432 "open" - followed by the filename \, sends it as a resource +to [#out]. For example: "open sewing.jpg".; +#X text 77 727 Outputs the frame that corresponds to the value. Applies +to formats that have frame numbers \, i.e. video.; +#X text 76 566 "loop 1" - Restarts a video each time it reaches the +end (default setting).; +#X obj 41 248 route bang; +#X msg 24 147 open violoncelle.mov; +#X text 402 10 GridFlow 0.9.1; +#X connect 4 0 25 0; +#X connect 5 0 25 0; +#X connect 25 0 0 0; +#X connect 27 0 34 0; +#X connect 28 0 34 0; +#X connect 29 0 34 0; +#X connect 30 0 34 0; +#X connect 32 0 34 0; +#X connect 34 0 66 0; +#X connect 34 1 31 0; +#X connect 34 1 71 0; +#X connect 36 0 37 0; +#X connect 37 0 34 0; +#X connect 39 0 41 0; +#X connect 41 0 40 0; +#X connect 62 0 34 0; +#X connect 71 0 33 0; +#X connect 72 0 34 0; -- cgit v1.2.1