From 158623f3d62b49d88c990d662d8bdfa527175471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juha=20Vehvil=C3=A4inen?= Date: Sat, 31 Aug 2002 08:27:43 +0000 Subject: removed white space svn path=/trunk/Framestein/; revision=102 --- Patches/01 example-video.pd | 30 --- Patches/01.example-video.pd | 30 +++ Patches/02 example-docking.pd | 22 -- Patches/02.example-docking.pd | 22 ++ Patches/03 example-docking2.pd | 15 -- Patches/03.example-docking2.pd | 15 ++ Patches/04-01 example-info-rgb-event.pd | 59 ----- Patches/04-01.example-info-rgb-event.pd | 59 +++++ Patches/04-02 example-draw-text.pd | 27 -- Patches/04-02.example-draw-text.pd | 27 ++ Patches/04-03 example-draganddrop.pd | 21 -- Patches/04-03.example-draganddrop.pd | 21 ++ Patches/05 example-plugins.pd | 127 ---------- Patches/05.example-plugins.pd | 127 ++++++++++ Patches/06 example-photoshopfilters.pd | 127 ---------- Patches/06.example-photoshopfilters.pd | 127 ++++++++++ Patches/07 example-blending.pd | 57 ----- Patches/07.example-blending.pd | 57 +++++ Patches/08 example-masking.pd | 66 ----- Patches/08.example-masking.pd | 66 +++++ Patches/09 example-sonogram.pd | 75 ------ Patches/09.example-sonogram.pd | 75 ++++++ Patches/10 example-waveformdisplay.pd | 126 ---------- Patches/10.example-waveformdisplay.pd | 126 ++++++++++ Patches/11 example-browser.pd | 30 --- Patches/11.example-browser.pd | 30 +++ Patches/12 example-network.pd | 64 ----- Patches/12.example-network.pd | 64 +++++ Patches/13 example-avioutput.pd | 63 ----- Patches/13.example-avioutput.pd | 63 +++++ Patches/14 example-hist.pd | 46 ---- Patches/14.example-hist.pd | 46 ++++ Patches/15 example-searchpath.pd | 28 --- Patches/15.example-searchpath.pd | 28 +++ Patches/16 example-PeRColate.pd | 96 -------- Patches/16.example-PeRColate.pd | 96 ++++++++ Patches/17-01 example-PixelPack.pd | 8 - Patches/17-01.example-PixelPack.pd | 8 + Patches/17-02 example-PixelPack-layermodes.pd | 66 ----- Patches/17-02.example-PixelPack-layermodes.pd | 66 +++++ Patches/17-03 example-PixelPack-overview.pd | 70 ------ Patches/17-03.example-PixelPack-overview.pd | 70 ++++++ Patches/40 The Harmon.pd | 60 ----- Patches/40.The_Harmon.pd | 60 +++++ Patches/50 example-externals.pd | 342 -------------------------- Patches/50.example-externals.pd | 342 ++++++++++++++++++++++++++ 46 files changed, 1625 insertions(+), 1625 deletions(-) delete mode 100644 Patches/01 example-video.pd create mode 100644 Patches/01.example-video.pd delete mode 100644 Patches/02 example-docking.pd create mode 100644 Patches/02.example-docking.pd delete mode 100644 Patches/03 example-docking2.pd create mode 100644 Patches/03.example-docking2.pd delete mode 100644 Patches/04-01 example-info-rgb-event.pd create mode 100644 Patches/04-01.example-info-rgb-event.pd delete mode 100644 Patches/04-02 example-draw-text.pd create mode 100644 Patches/04-02.example-draw-text.pd delete mode 100644 Patches/04-03 example-draganddrop.pd create mode 100644 Patches/04-03.example-draganddrop.pd delete mode 100644 Patches/05 example-plugins.pd create mode 100644 Patches/05.example-plugins.pd delete mode 100644 Patches/06 example-photoshopfilters.pd create mode 100644 Patches/06.example-photoshopfilters.pd delete mode 100644 Patches/07 example-blending.pd create mode 100644 Patches/07.example-blending.pd delete mode 100644 Patches/08 example-masking.pd create mode 100644 Patches/08.example-masking.pd delete mode 100644 Patches/09 example-sonogram.pd create mode 100644 Patches/09.example-sonogram.pd delete mode 100644 Patches/10 example-waveformdisplay.pd create mode 100644 Patches/10.example-waveformdisplay.pd delete mode 100644 Patches/11 example-browser.pd create mode 100644 Patches/11.example-browser.pd delete mode 100644 Patches/12 example-network.pd create mode 100644 Patches/12.example-network.pd delete mode 100644 Patches/13 example-avioutput.pd create mode 100644 Patches/13.example-avioutput.pd delete mode 100644 Patches/14 example-hist.pd create mode 100644 Patches/14.example-hist.pd delete mode 100644 Patches/15 example-searchpath.pd create mode 100644 Patches/15.example-searchpath.pd delete mode 100644 Patches/16 example-PeRColate.pd create mode 100644 Patches/16.example-PeRColate.pd delete mode 100644 Patches/17-01 example-PixelPack.pd create mode 100644 Patches/17-01.example-PixelPack.pd delete mode 100644 Patches/17-02 example-PixelPack-layermodes.pd create mode 100644 Patches/17-02.example-PixelPack-layermodes.pd delete mode 100644 Patches/17-03 example-PixelPack-overview.pd create mode 100644 Patches/17-03.example-PixelPack-overview.pd delete mode 100644 Patches/40 The Harmon.pd create mode 100644 Patches/40.The_Harmon.pd delete mode 100644 Patches/50 example-externals.pd create mode 100644 Patches/50.example-externals.pd diff --git a/Patches/01 example-video.pd b/Patches/01 example-video.pd deleted file mode 100644 index 3624331..0000000 --- a/Patches/01 example-video.pd +++ /dev/null @@ -1,30 +0,0 @@ -#N canvas 243 28 638 555 12; -#X obj 7 34 fs.main; -#X msg 7 8 6001; -#X msg 46 8 reset; -#X obj 300 209 fs.framed video; -#X msg 424 209 82 + 128; -#X text 41 64 drag & drop your favorite .avi here; -#X obj 442 185 init; -#X obj 303 121 hsl 256 15 0 1 0 0 empty empty empty 20 8 0 8 -262144 --1 -1 9200 1; -#X obj 300 272 fs.copy; -#X msg 300 146 seek \$1* \, bang; -#X obj 300 348 fs.framed video; -#X msg 424 348 82 + 330; -#X msg 392 271 source_random \, dest_random; -#X text 314 299 Look inside fs.copy for more commands.; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 8 0; -#X connect 3 2 4 0; -#X connect 4 0 3 0; -#X connect 6 0 4 0; -#X connect 6 0 11 0; -#X connect 7 0 9 0; -#X connect 8 0 10 0; -#X connect 9 0 3 0; -#X connect 10 2 11 0; -#X connect 11 0 10 0; -#X connect 12 0 8 1; diff --git a/Patches/01.example-video.pd b/Patches/01.example-video.pd new file mode 100644 index 0000000..3624331 --- /dev/null +++ b/Patches/01.example-video.pd @@ -0,0 +1,30 @@ +#N canvas 243 28 638 555 12; +#X obj 7 34 fs.main; +#X msg 7 8 6001; +#X msg 46 8 reset; +#X obj 300 209 fs.framed video; +#X msg 424 209 82 + 128; +#X text 41 64 drag & drop your favorite .avi here; +#X obj 442 185 init; +#X obj 303 121 hsl 256 15 0 1 0 0 empty empty empty 20 8 0 8 -262144 +-1 -1 9200 1; +#X obj 300 272 fs.copy; +#X msg 300 146 seek \$1* \, bang; +#X obj 300 348 fs.framed video; +#X msg 424 348 82 + 330; +#X msg 392 271 source_random \, dest_random; +#X text 314 299 Look inside fs.copy for more commands.; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 8 0; +#X connect 3 2 4 0; +#X connect 4 0 3 0; +#X connect 6 0 4 0; +#X connect 6 0 11 0; +#X connect 7 0 9 0; +#X connect 8 0 10 0; +#X connect 9 0 3 0; +#X connect 10 2 11 0; +#X connect 11 0 10 0; +#X connect 12 0 8 1; diff --git a/Patches/02 example-docking.pd b/Patches/02 example-docking.pd deleted file mode 100644 index 08a3548..0000000 --- a/Patches/02 example-docking.pd +++ /dev/null @@ -1,22 +0,0 @@ -#N canvas 248 12 720 588 12; -#X obj 13 33 fs.main; -#X msg 13 6 6001; -#X msg 64 5 reset; -#X text 59 71 DOCKING TO PATCHES; -#X text 58 95 Use the "dock" command to dock fs.frame to a patch. Arguments: -; -#X obj 284 263 fs.frame; -#X msg 284 233 head.avi; -#X obj 284 203 init; -#X text 63 320 There's a wrapper for the dock-command \, fs.framed.pd: -; -#X obj 65 348 fs.framed example-docking 50+420; -#X msg 62 203 500+150; -#X msg 62 170 dock ample-docki; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 6 0 5 0; -#X connect 7 0 6 0; -#X connect 10 0 5 0; -#X connect 11 0 5 0; diff --git a/Patches/02.example-docking.pd b/Patches/02.example-docking.pd new file mode 100644 index 0000000..08a3548 --- /dev/null +++ b/Patches/02.example-docking.pd @@ -0,0 +1,22 @@ +#N canvas 248 12 720 588 12; +#X obj 13 33 fs.main; +#X msg 13 6 6001; +#X msg 64 5 reset; +#X text 59 71 DOCKING TO PATCHES; +#X text 58 95 Use the "dock" command to dock fs.frame to a patch. Arguments: +; +#X obj 284 263 fs.frame; +#X msg 284 233 head.avi; +#X obj 284 203 init; +#X text 63 320 There's a wrapper for the dock-command \, fs.framed.pd: +; +#X obj 65 348 fs.framed example-docking 50+420; +#X msg 62 203 500+150; +#X msg 62 170 dock ample-docki; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 6 0 5 0; +#X connect 7 0 6 0; +#X connect 10 0 5 0; +#X connect 11 0 5 0; diff --git a/Patches/03 example-docking2.pd b/Patches/03 example-docking2.pd deleted file mode 100644 index f5687e5..0000000 --- a/Patches/03 example-docking2.pd +++ /dev/null @@ -1,15 +0,0 @@ -#N canvas 345 114 641 488 12; -#X obj 11 40 fs.main; -#X msg 11 12 6001; -#X msg 62 12 reset; -#X obj 26 133 fs.framed example-docking2; -#X msg 229 161 365 + 203; -#X obj 240 133 init; -#X text 24 78 Used this way the frame position is saved with the patch -automatically. Try moving the frame around!; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 2 4 0; -#X connect 4 0 3 0; -#X connect 5 0 4 0; diff --git a/Patches/03.example-docking2.pd b/Patches/03.example-docking2.pd new file mode 100644 index 0000000..f5687e5 --- /dev/null +++ b/Patches/03.example-docking2.pd @@ -0,0 +1,15 @@ +#N canvas 345 114 641 488 12; +#X obj 11 40 fs.main; +#X msg 11 12 6001; +#X msg 62 12 reset; +#X obj 26 133 fs.framed example-docking2; +#X msg 229 161 365 + 203; +#X obj 240 133 init; +#X text 24 78 Used this way the frame position is saved with the patch +automatically. Try moving the frame around!; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 2 4 0; +#X connect 4 0 3 0; +#X connect 5 0 4 0; diff --git a/Patches/04-01 example-info-rgb-event.pd b/Patches/04-01 example-info-rgb-event.pd deleted file mode 100644 index 069a683..0000000 --- a/Patches/04-01 example-info-rgb-event.pd +++ /dev/null @@ -1,59 +0,0 @@ -#N canvas 232 1 710 655 12; -#X obj 10 37 fs.main; -#X msg 10 13 6001; -#X msg 52 13 reset; -#X obj 271 195 init; -#X obj 32 403 fs.info; -#X floatatom 26 449 5 0 0; -#X floatatom 77 449 5 0 0; -#X floatatom 129 449 5 0 0; -#X floatatom 180 449 5 0 0; -#X msg 378 159 bang; -#X text 435 159 click here; -#X text 29 475 width \, height \, framecount and framerate; -#X obj 368 376 fs.rgb; -#X obj 384 283 t b l; -#X obj 368 413 unpack f f f; -#X floatatom 370 448 5 0 0; -#X floatatom 423 448 5 0 0; -#X floatatom 477 448 5 0 0; -#X msg 271 225 head.avi \, mousetrack_1; -#X obj 515 363 unpack f f; -#X floatatom 515 391 5 0 0; -#X floatatom 590 390 5 0 0; -#X text 541 414 mouse x and y; -#X text 381 474 red \, green and blue at (x \, y); -#X obj 271 255 fs.framed example-info 20+100; -#X obj 271 532 fs.event; -#X obj 300 561 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 330 561 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X text 247 582 mousedown \, mouseup; -#X text 272 39 fs.info \, fs.rgb and fs.event; -#X text 436 183 then drag the image with mouse; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 18 0; -#X connect 4 0 5 0; -#X connect 4 1 6 0; -#X connect 4 2 7 0; -#X connect 4 3 8 0; -#X connect 9 0 24 0; -#X connect 12 0 14 0; -#X connect 13 0 12 0; -#X connect 13 1 12 1; -#X connect 13 1 19 0; -#X connect 14 0 15 0; -#X connect 14 1 16 0; -#X connect 14 2 17 0; -#X connect 18 0 24 0; -#X connect 19 0 20 0; -#X connect 19 1 21 0; -#X connect 24 0 4 0; -#X connect 24 0 12 0; -#X connect 24 0 25 0; -#X connect 24 1 13 0; -#X connect 25 1 26 0; -#X connect 25 2 27 0; diff --git a/Patches/04-01.example-info-rgb-event.pd b/Patches/04-01.example-info-rgb-event.pd new file mode 100644 index 0000000..069a683 --- /dev/null +++ b/Patches/04-01.example-info-rgb-event.pd @@ -0,0 +1,59 @@ +#N canvas 232 1 710 655 12; +#X obj 10 37 fs.main; +#X msg 10 13 6001; +#X msg 52 13 reset; +#X obj 271 195 init; +#X obj 32 403 fs.info; +#X floatatom 26 449 5 0 0; +#X floatatom 77 449 5 0 0; +#X floatatom 129 449 5 0 0; +#X floatatom 180 449 5 0 0; +#X msg 378 159 bang; +#X text 435 159 click here; +#X text 29 475 width \, height \, framecount and framerate; +#X obj 368 376 fs.rgb; +#X obj 384 283 t b l; +#X obj 368 413 unpack f f f; +#X floatatom 370 448 5 0 0; +#X floatatom 423 448 5 0 0; +#X floatatom 477 448 5 0 0; +#X msg 271 225 head.avi \, mousetrack_1; +#X obj 515 363 unpack f f; +#X floatatom 515 391 5 0 0; +#X floatatom 590 390 5 0 0; +#X text 541 414 mouse x and y; +#X text 381 474 red \, green and blue at (x \, y); +#X obj 271 255 fs.framed example-info 20+100; +#X obj 271 532 fs.event; +#X obj 300 561 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 330 561 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 247 582 mousedown \, mouseup; +#X text 272 39 fs.info \, fs.rgb and fs.event; +#X text 436 183 then drag the image with mouse; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 18 0; +#X connect 4 0 5 0; +#X connect 4 1 6 0; +#X connect 4 2 7 0; +#X connect 4 3 8 0; +#X connect 9 0 24 0; +#X connect 12 0 14 0; +#X connect 13 0 12 0; +#X connect 13 1 12 1; +#X connect 13 1 19 0; +#X connect 14 0 15 0; +#X connect 14 1 16 0; +#X connect 14 2 17 0; +#X connect 18 0 24 0; +#X connect 19 0 20 0; +#X connect 19 1 21 0; +#X connect 24 0 4 0; +#X connect 24 0 12 0; +#X connect 24 0 25 0; +#X connect 24 1 13 0; +#X connect 25 1 26 0; +#X connect 25 2 27 0; diff --git a/Patches/04-02 example-draw-text.pd b/Patches/04-02 example-draw-text.pd deleted file mode 100644 index d2dace5..0000000 --- a/Patches/04-02 example-draw-text.pd +++ /dev/null @@ -1,27 +0,0 @@ -#N canvas 232 1 676 655 12; -#X obj 10 37 fs.main; -#X msg 10 13 6001; -#X msg 52 13 reset; -#X obj 271 195 init; -#X obj 271 255 fs.framed example-draw 20+100; -#X obj 335 345 fs.draw; -#X msg 362 307 line \$1 \$2 \$3 \$4; -#X msg 271 225 head.avi \, mousetrack_1 \, mouserect_1; -#X text 244 30 fs.draw and fs.text; -#X text 403 345 click open for more commands; -#X obj 300 478 fs.text; -#X msg 347 407 In search of a bird; -#X msg 360 434 The sky was lost; -#X text 370 478 click open for more commands; -#X text 275 125 drag the image with mouse ...; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 7 0; -#X connect 4 1 6 0; -#X connect 5 0 4 0; -#X connect 6 0 5 0; -#X connect 7 0 4 0; -#X connect 10 0 4 0; -#X connect 11 0 10 0; -#X connect 12 0 10 0; diff --git a/Patches/04-02.example-draw-text.pd b/Patches/04-02.example-draw-text.pd new file mode 100644 index 0000000..d2dace5 --- /dev/null +++ b/Patches/04-02.example-draw-text.pd @@ -0,0 +1,27 @@ +#N canvas 232 1 676 655 12; +#X obj 10 37 fs.main; +#X msg 10 13 6001; +#X msg 52 13 reset; +#X obj 271 195 init; +#X obj 271 255 fs.framed example-draw 20+100; +#X obj 335 345 fs.draw; +#X msg 362 307 line \$1 \$2 \$3 \$4; +#X msg 271 225 head.avi \, mousetrack_1 \, mouserect_1; +#X text 244 30 fs.draw and fs.text; +#X text 403 345 click open for more commands; +#X obj 300 478 fs.text; +#X msg 347 407 In search of a bird; +#X msg 360 434 The sky was lost; +#X text 370 478 click open for more commands; +#X text 275 125 drag the image with mouse ...; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 7 0; +#X connect 4 1 6 0; +#X connect 5 0 4 0; +#X connect 6 0 5 0; +#X connect 7 0 4 0; +#X connect 10 0 4 0; +#X connect 11 0 10 0; +#X connect 12 0 10 0; diff --git a/Patches/04-03 example-draganddrop.pd b/Patches/04-03 example-draganddrop.pd deleted file mode 100644 index 1bb9741..0000000 --- a/Patches/04-03 example-draganddrop.pd +++ /dev/null @@ -1,21 +0,0 @@ -#N canvas 323 36 591 432 12; -#X obj 15 37 fs.main; -#X msg 66 12 reset; -#X obj 38 234 fs.event; -#X msg 50 288 set \$1; -#X obj 76 150 init; -#X obj 48 151 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X text 352 180 Drop a file here:; -#X msg 15 12 6001; -#X msg 50 387 ÌßÀÒà1; -#X text 18 95 Using fs.frame and fs.event to provide drag & drop:; -#X obj 38 185 fs.framed draganddrop 352+233; -#X connect 1 0 0 1; -#X connect 2 0 3 0; -#X connect 3 0 8 0; -#X connect 4 0 10 0; -#X connect 5 0 10 0; -#X connect 7 0 0 0; -#X connect 7 0 1 0; -#X connect 10 0 2 0; diff --git a/Patches/04-03.example-draganddrop.pd b/Patches/04-03.example-draganddrop.pd new file mode 100644 index 0000000..1bb9741 --- /dev/null +++ b/Patches/04-03.example-draganddrop.pd @@ -0,0 +1,21 @@ +#N canvas 323 36 591 432 12; +#X obj 15 37 fs.main; +#X msg 66 12 reset; +#X obj 38 234 fs.event; +#X msg 50 288 set \$1; +#X obj 76 150 init; +#X obj 48 151 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X text 352 180 Drop a file here:; +#X msg 15 12 6001; +#X msg 50 387 ÌßÀÒà1; +#X text 18 95 Using fs.frame and fs.event to provide drag & drop:; +#X obj 38 185 fs.framed draganddrop 352+233; +#X connect 1 0 0 1; +#X connect 2 0 3 0; +#X connect 3 0 8 0; +#X connect 4 0 10 0; +#X connect 5 0 10 0; +#X connect 7 0 0 0; +#X connect 7 0 1 0; +#X connect 10 0 2 0; diff --git a/Patches/05 example-plugins.pd b/Patches/05 example-plugins.pd deleted file mode 100644 index f6187a2..0000000 --- a/Patches/05 example-plugins.pd +++ /dev/null @@ -1,127 +0,0 @@ -#N canvas 344 18 621 620 12; -#X obj 11 41 fs.main; -#X msg 11 11 6001; -#X msg 62 12 reset; -#X obj 70 216 fs.frame; -#X msg 103 177 noize; -#X text 106 154 send the name of the plugin to fs.frame to execute -; -#X obj 70 466 fs.frame; -#X obj 70 302 fs.copy; -#X msg 141 216 bang; -#X text 161 249 plugins can also be copy operations; -#X msg 153 177 colortv; -#X msg 158 278 colortv; -#X msg 220 177 subtract \$1 \$2 \$3; -#X obj 376 205 pack f f f; -#X floatatom 368 177 4 0 0; -#X floatatom 409 177 4 0 0; -#X floatatom 450 177 4 0 0; -#X msg 460 205 bang; -#X obj 255 355 pack f f; -#X msg 323 355 bang; -#X floatatom 255 331 4 0 0; -#X floatatom 295 331 4 0 0; -#X obj 466 408 int; -#X msg 320 379 \$1 180; -#N canvas 686 105 602 402 funny 0; -#X obj 47 97 random 352; -#X obj 135 97 random 352; -#X obj 73 145 pack f f; -#X obj 80 186 outlet; -#X obj 76 13 inlet; -#X obj 86 56 t b b; -#X connect 0 0 2 0; -#X connect 1 0 2 1; -#X connect 2 0 3 0; -#X connect 4 0 5 0; -#X connect 5 0 0 0; -#X connect 5 1 1 0; -#X restore 255 412 pd funny; -#X msg 324 412 bang; -#X msg 158 331 xbend \$1 \$2; -#N canvas 638 233 375 411 bend 0; -#X obj 18 328 outlet; -#X msg 43 281 bend \$1 \$2 \$3 \$4; -#X obj 55 242 pack f f f f; -#X msg 158 242 bang; -#X floatatom 35 159 4 0 0; -#X floatatom 77 159 4 0 0; -#X floatatom 124 159 4 0 0; -#X floatatom 168 159 4 0 0; -#X msg 200 262 158 161 154 214; -#X text 187 315 oh i'm sorry virve...; -#X msg 209 290 94 95 280 214; -#X msg 187 339 169 144 262 162; -#X text 132 365 but this thing is killing me; -#X text 67 13 bend works in both x and y; -#X connect 1 0 0 0; -#X connect 2 0 1 0; -#X connect 3 0 2 0; -#X connect 4 0 2 0; -#X connect 5 0 2 1; -#X connect 5 0 3 0; -#X connect 6 0 2 2; -#X connect 6 0 3 0; -#X connect 7 0 2 3; -#X connect 7 0 3 0; -#X connect 8 0 1 0; -#X connect 10 0 1 0; -#X connect 11 0 1 0; -#X restore 255 442 pd bend; -#X text 71 503 note: 16 bit display is way faster than 24 or 32 in -my machine \, so i recommend trying out which one performs best.; -#X text 69 555 there are more plugins.. see the Framestein/Plugins-dir. -; -#X msg 70 118 virvezoom.jpg; -#X obj 186 118 init; -#X obj 94 407 init; -#X text 367 412 click here; -#X text 320 442 look here; -#X msg 94 438 291 x 325 \, 0 + 370; -#X obj 466 433 sameonce; -#X obj 466 384 ramp; -#X msg 466 356 220 66 10; -#X msg 466 333 66 220 10; -#X text 467 309 and here ..; -#X text 340 330 try these ..; -#X text 147 42 PLUGINS -- effects and copy operations; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 7 0; -#X connect 4 0 3 0; -#X connect 7 0 6 0; -#X connect 8 0 3 0; -#X connect 10 0 3 0; -#X connect 11 0 7 1; -#X connect 11 0 8 0; -#X connect 12 0 3 0; -#X connect 13 0 12 0; -#X connect 14 0 13 0; -#X connect 15 0 13 1; -#X connect 15 0 17 0; -#X connect 16 0 13 2; -#X connect 16 0 17 0; -#X connect 17 0 13 0; -#X connect 18 0 26 0; -#X connect 19 0 18 0; -#X connect 20 0 18 0; -#X connect 21 0 18 1; -#X connect 21 0 19 0; -#X connect 22 0 36 0; -#X connect 23 0 18 0; -#X connect 24 0 26 0; -#X connect 25 0 24 0; -#X connect 26 0 7 1; -#X connect 26 0 8 0; -#X connect 27 0 7 1; -#X connect 27 0 8 0; -#X connect 30 0 3 0; -#X connect 31 0 30 0; -#X connect 32 0 35 0; -#X connect 35 0 6 0; -#X connect 36 0 18 0; -#X connect 37 0 22 0; -#X connect 38 0 37 0; -#X connect 39 0 37 0; diff --git a/Patches/05.example-plugins.pd b/Patches/05.example-plugins.pd new file mode 100644 index 0000000..f6187a2 --- /dev/null +++ b/Patches/05.example-plugins.pd @@ -0,0 +1,127 @@ +#N canvas 344 18 621 620 12; +#X obj 11 41 fs.main; +#X msg 11 11 6001; +#X msg 62 12 reset; +#X obj 70 216 fs.frame; +#X msg 103 177 noize; +#X text 106 154 send the name of the plugin to fs.frame to execute +; +#X obj 70 466 fs.frame; +#X obj 70 302 fs.copy; +#X msg 141 216 bang; +#X text 161 249 plugins can also be copy operations; +#X msg 153 177 colortv; +#X msg 158 278 colortv; +#X msg 220 177 subtract \$1 \$2 \$3; +#X obj 376 205 pack f f f; +#X floatatom 368 177 4 0 0; +#X floatatom 409 177 4 0 0; +#X floatatom 450 177 4 0 0; +#X msg 460 205 bang; +#X obj 255 355 pack f f; +#X msg 323 355 bang; +#X floatatom 255 331 4 0 0; +#X floatatom 295 331 4 0 0; +#X obj 466 408 int; +#X msg 320 379 \$1 180; +#N canvas 686 105 602 402 funny 0; +#X obj 47 97 random 352; +#X obj 135 97 random 352; +#X obj 73 145 pack f f; +#X obj 80 186 outlet; +#X obj 76 13 inlet; +#X obj 86 56 t b b; +#X connect 0 0 2 0; +#X connect 1 0 2 1; +#X connect 2 0 3 0; +#X connect 4 0 5 0; +#X connect 5 0 0 0; +#X connect 5 1 1 0; +#X restore 255 412 pd funny; +#X msg 324 412 bang; +#X msg 158 331 xbend \$1 \$2; +#N canvas 638 233 375 411 bend 0; +#X obj 18 328 outlet; +#X msg 43 281 bend \$1 \$2 \$3 \$4; +#X obj 55 242 pack f f f f; +#X msg 158 242 bang; +#X floatatom 35 159 4 0 0; +#X floatatom 77 159 4 0 0; +#X floatatom 124 159 4 0 0; +#X floatatom 168 159 4 0 0; +#X msg 200 262 158 161 154 214; +#X text 187 315 oh i'm sorry virve...; +#X msg 209 290 94 95 280 214; +#X msg 187 339 169 144 262 162; +#X text 132 365 but this thing is killing me; +#X text 67 13 bend works in both x and y; +#X connect 1 0 0 0; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X connect 4 0 2 0; +#X connect 5 0 2 1; +#X connect 5 0 3 0; +#X connect 6 0 2 2; +#X connect 6 0 3 0; +#X connect 7 0 2 3; +#X connect 7 0 3 0; +#X connect 8 0 1 0; +#X connect 10 0 1 0; +#X connect 11 0 1 0; +#X restore 255 442 pd bend; +#X text 71 503 note: 16 bit display is way faster than 24 or 32 in +my machine \, so i recommend trying out which one performs best.; +#X text 69 555 there are more plugins.. see the Framestein/Plugins-dir. +; +#X msg 70 118 virvezoom.jpg; +#X obj 186 118 init; +#X obj 94 407 init; +#X text 367 412 click here; +#X text 320 442 look here; +#X msg 94 438 291 x 325 \, 0 + 370; +#X obj 466 433 sameonce; +#X obj 466 384 ramp; +#X msg 466 356 220 66 10; +#X msg 466 333 66 220 10; +#X text 467 309 and here ..; +#X text 340 330 try these ..; +#X text 147 42 PLUGINS -- effects and copy operations; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 7 0; +#X connect 4 0 3 0; +#X connect 7 0 6 0; +#X connect 8 0 3 0; +#X connect 10 0 3 0; +#X connect 11 0 7 1; +#X connect 11 0 8 0; +#X connect 12 0 3 0; +#X connect 13 0 12 0; +#X connect 14 0 13 0; +#X connect 15 0 13 1; +#X connect 15 0 17 0; +#X connect 16 0 13 2; +#X connect 16 0 17 0; +#X connect 17 0 13 0; +#X connect 18 0 26 0; +#X connect 19 0 18 0; +#X connect 20 0 18 0; +#X connect 21 0 18 1; +#X connect 21 0 19 0; +#X connect 22 0 36 0; +#X connect 23 0 18 0; +#X connect 24 0 26 0; +#X connect 25 0 24 0; +#X connect 26 0 7 1; +#X connect 26 0 8 0; +#X connect 27 0 7 1; +#X connect 27 0 8 0; +#X connect 30 0 3 0; +#X connect 31 0 30 0; +#X connect 32 0 35 0; +#X connect 35 0 6 0; +#X connect 36 0 18 0; +#X connect 37 0 22 0; +#X connect 38 0 37 0; +#X connect 39 0 37 0; diff --git a/Patches/06 example-photoshopfilters.pd b/Patches/06 example-photoshopfilters.pd deleted file mode 100644 index 229fb5c..0000000 --- a/Patches/06 example-photoshopfilters.pd +++ /dev/null @@ -1,127 +0,0 @@ -#N canvas 76 11 899 648 12; -#X obj 16 54 fs.main; -#X msg 16 27 6001; -#X msg 58 27 reset; -#X obj 264 73 init; -#X msg 274 131 28 + 128; -#X obj 264 435 fs.copy; -#X obj 264 514 fs.framed example-pho; -#X obj 264 159 fs.framed example-pho; -#X msg 436 514 28 + 308; -#X obj 436 539 init; -#X msg 424 349 bosstota; -#X msg 364 120 next \, bang; -#X msg 430 373 bubbspac; -#X msg 436 397 chloemag; -#X msg 381 202 colsteps; -#X text 631 116 without parameters; -#X text 634 137 a dialog will pop; -#X text 268 592 see Filters/README.TXT for more info.; -#X msg 264 99 head.avi; -#X msg 388 227 zoomnoise; -#X msg 396 252 picasso; -#X msg 403 276 yage; -#X msg 418 324 PicChop; -#X msg 411 300 BitLeft; -#X obj 519 438 pack s s; -#X msg 519 464 \$2 \$1; -#X obj 652 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 8600 1; -#X obj 669 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 12200 1; -#X obj 686 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 0 1; -#X obj 703 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 0 1; -#X obj 720 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 0 1; -#X obj 737 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 0 1; -#X obj 754 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 0 1; -#X obj 771 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 --1 -1 0 1; -#X msg 816 486 bang; -#X obj 652 511 l2s; -#X obj 652 486 pack f f f f f f f f; -#X obj 381 476 symbol yage; -#X msg 530 128 yage; -#X msg 530 192 yage 74 74; -#X text 634 191 with parameters \, no dialog; -#X msg 652 536 bang; -#X obj 364 95 r next; -#X obj 327 476 s next; -#X text 529 281 select filter -> try the sliders ...; -#X text 448 33 Using Photoshop-filters; -#X obj 652 562 delay 25; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 18 0; -#X connect 3 0 4 0; -#X connect 4 0 7 0; -#X connect 5 0 6 0; -#X connect 6 2 8 0; -#X connect 7 0 5 0; -#X connect 7 2 4 0; -#X connect 8 0 6 0; -#X connect 9 0 8 0; -#X connect 9 0 37 0; -#X connect 10 0 5 1; -#X connect 10 0 37 0; -#X connect 10 0 43 0; -#X connect 11 0 7 0; -#X connect 12 0 5 1; -#X connect 12 0 37 0; -#X connect 12 0 43 0; -#X connect 13 0 5 1; -#X connect 13 0 37 0; -#X connect 13 0 43 0; -#X connect 14 0 5 1; -#X connect 14 0 37 0; -#X connect 14 0 43 0; -#X connect 18 0 7 0; -#X connect 19 0 5 1; -#X connect 19 0 37 0; -#X connect 19 0 43 0; -#X connect 20 0 5 1; -#X connect 20 0 37 0; -#X connect 20 0 43 0; -#X connect 21 0 5 1; -#X connect 21 0 37 0; -#X connect 21 0 43 0; -#X connect 22 0 5 1; -#X connect 22 0 37 0; -#X connect 22 0 43 0; -#X connect 23 0 5 1; -#X connect 23 0 37 0; -#X connect 23 0 43 0; -#X connect 24 0 25 0; -#X connect 25 0 5 1; -#X connect 26 0 36 0; -#X connect 27 0 34 0; -#X connect 27 0 36 1; -#X connect 28 0 34 0; -#X connect 28 0 36 2; -#X connect 29 0 34 0; -#X connect 29 0 36 3; -#X connect 30 0 34 0; -#X connect 30 0 36 4; -#X connect 31 0 34 0; -#X connect 31 0 36 5; -#X connect 32 0 34 0; -#X connect 32 0 36 6; -#X connect 33 0 34 0; -#X connect 33 0 36 7; -#X connect 34 0 36 0; -#X connect 35 0 24 0; -#X connect 35 0 41 0; -#X connect 36 0 35 0; -#X connect 37 0 24 1; -#X connect 38 0 5 1; -#X connect 38 0 11 0; -#X connect 39 0 5 1; -#X connect 39 0 11 0; -#X connect 41 0 46 0; -#X connect 42 0 11 0; -#X connect 46 0 43 0; diff --git a/Patches/06.example-photoshopfilters.pd b/Patches/06.example-photoshopfilters.pd new file mode 100644 index 0000000..229fb5c --- /dev/null +++ b/Patches/06.example-photoshopfilters.pd @@ -0,0 +1,127 @@ +#N canvas 76 11 899 648 12; +#X obj 16 54 fs.main; +#X msg 16 27 6001; +#X msg 58 27 reset; +#X obj 264 73 init; +#X msg 274 131 28 + 128; +#X obj 264 435 fs.copy; +#X obj 264 514 fs.framed example-pho; +#X obj 264 159 fs.framed example-pho; +#X msg 436 514 28 + 308; +#X obj 436 539 init; +#X msg 424 349 bosstota; +#X msg 364 120 next \, bang; +#X msg 430 373 bubbspac; +#X msg 436 397 chloemag; +#X msg 381 202 colsteps; +#X text 631 116 without parameters; +#X text 634 137 a dialog will pop; +#X text 268 592 see Filters/README.TXT for more info.; +#X msg 264 99 head.avi; +#X msg 388 227 zoomnoise; +#X msg 396 252 picasso; +#X msg 403 276 yage; +#X msg 418 324 PicChop; +#X msg 411 300 BitLeft; +#X obj 519 438 pack s s; +#X msg 519 464 \$2 \$1; +#X obj 652 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 8600 1; +#X obj 669 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 12200 1; +#X obj 686 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X obj 703 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X obj 720 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X obj 737 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X obj 754 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X obj 771 355 vsl 15 128 0 255 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X msg 816 486 bang; +#X obj 652 511 l2s; +#X obj 652 486 pack f f f f f f f f; +#X obj 381 476 symbol yage; +#X msg 530 128 yage; +#X msg 530 192 yage 74 74; +#X text 634 191 with parameters \, no dialog; +#X msg 652 536 bang; +#X obj 364 95 r next; +#X obj 327 476 s next; +#X text 529 281 select filter -> try the sliders ...; +#X text 448 33 Using Photoshop-filters; +#X obj 652 562 delay 25; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 18 0; +#X connect 3 0 4 0; +#X connect 4 0 7 0; +#X connect 5 0 6 0; +#X connect 6 2 8 0; +#X connect 7 0 5 0; +#X connect 7 2 4 0; +#X connect 8 0 6 0; +#X connect 9 0 8 0; +#X connect 9 0 37 0; +#X connect 10 0 5 1; +#X connect 10 0 37 0; +#X connect 10 0 43 0; +#X connect 11 0 7 0; +#X connect 12 0 5 1; +#X connect 12 0 37 0; +#X connect 12 0 43 0; +#X connect 13 0 5 1; +#X connect 13 0 37 0; +#X connect 13 0 43 0; +#X connect 14 0 5 1; +#X connect 14 0 37 0; +#X connect 14 0 43 0; +#X connect 18 0 7 0; +#X connect 19 0 5 1; +#X connect 19 0 37 0; +#X connect 19 0 43 0; +#X connect 20 0 5 1; +#X connect 20 0 37 0; +#X connect 20 0 43 0; +#X connect 21 0 5 1; +#X connect 21 0 37 0; +#X connect 21 0 43 0; +#X connect 22 0 5 1; +#X connect 22 0 37 0; +#X connect 22 0 43 0; +#X connect 23 0 5 1; +#X connect 23 0 37 0; +#X connect 23 0 43 0; +#X connect 24 0 25 0; +#X connect 25 0 5 1; +#X connect 26 0 36 0; +#X connect 27 0 34 0; +#X connect 27 0 36 1; +#X connect 28 0 34 0; +#X connect 28 0 36 2; +#X connect 29 0 34 0; +#X connect 29 0 36 3; +#X connect 30 0 34 0; +#X connect 30 0 36 4; +#X connect 31 0 34 0; +#X connect 31 0 36 5; +#X connect 32 0 34 0; +#X connect 32 0 36 6; +#X connect 33 0 34 0; +#X connect 33 0 36 7; +#X connect 34 0 36 0; +#X connect 35 0 24 0; +#X connect 35 0 41 0; +#X connect 36 0 35 0; +#X connect 37 0 24 1; +#X connect 38 0 5 1; +#X connect 38 0 11 0; +#X connect 39 0 5 1; +#X connect 39 0 11 0; +#X connect 41 0 46 0; +#X connect 42 0 11 0; +#X connect 46 0 43 0; diff --git a/Patches/07 example-blending.pd b/Patches/07 example-blending.pd deleted file mode 100644 index d11e887..0000000 --- a/Patches/07 example-blending.pd +++ /dev/null @@ -1,57 +0,0 @@ -#N canvas 5 47 1010 514 10; -#X obj 12 52 fs.main; -#X msg 10 23 6001; -#X msg 56 23 reset; -#X msg 210 190 597 + 108; -#X msg 495 188 815 + 109; -#X msg 343 365 696 + 342; -#X floatatom 227 272 4 0 0; -#X obj 150 273 fs.blend; -#X obj 235 38 fps 0; -#X floatatom 193 38 4 0 0; -#X msg 286 96 next \, bang; -#X msg 207 94 next \, bang; -#X obj 220 167 init; -#X obj 503 163 init; -#X obj 353 335 init; -#X text 166 419 note: fs.blend initializes this frame to flip_manual. -; -#X text 174 441 in manual mode \, you need to send "flip" to update -the display after changing the image. the default mode is "flip_auto". -; -#X text 239 246 blend amount \, 0 - 255; -#X text 682 44 drag and drop your videos here; -#X text 748 291 the result; -#X msg 299 290 127; -#X obj 236 65 t b b; -#X text 196 14 frame rate. start with something modest \, like 1; -#X obj 731 257 hsl 128 15 255 0 0 0 empty empty empty -2 -6 0 8 -262144 --1 -1 0 1; -#X obj 21 189 fs.framed blending; -#X obj 306 187 fs.framed blending; -#X obj 150 363 fs.framed blending; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 24 0; -#X connect 4 0 25 0; -#X connect 5 0 26 0; -#X connect 6 0 7 2; -#X connect 7 0 26 0; -#X connect 8 0 21 0; -#X connect 9 0 8 0; -#X connect 10 0 25 0; -#X connect 11 0 24 0; -#X connect 12 0 3 0; -#X connect 13 0 4 0; -#X connect 14 0 5 0; -#X connect 14 0 20 0; -#X connect 20 0 6 0; -#X connect 21 0 11 0; -#X connect 21 1 10 0; -#X connect 23 0 6 0; -#X connect 24 0 7 0; -#X connect 24 2 3 0; -#X connect 25 0 7 1; -#X connect 25 2 4 0; -#X connect 26 2 5 0; diff --git a/Patches/07.example-blending.pd b/Patches/07.example-blending.pd new file mode 100644 index 0000000..d11e887 --- /dev/null +++ b/Patches/07.example-blending.pd @@ -0,0 +1,57 @@ +#N canvas 5 47 1010 514 10; +#X obj 12 52 fs.main; +#X msg 10 23 6001; +#X msg 56 23 reset; +#X msg 210 190 597 + 108; +#X msg 495 188 815 + 109; +#X msg 343 365 696 + 342; +#X floatatom 227 272 4 0 0; +#X obj 150 273 fs.blend; +#X obj 235 38 fps 0; +#X floatatom 193 38 4 0 0; +#X msg 286 96 next \, bang; +#X msg 207 94 next \, bang; +#X obj 220 167 init; +#X obj 503 163 init; +#X obj 353 335 init; +#X text 166 419 note: fs.blend initializes this frame to flip_manual. +; +#X text 174 441 in manual mode \, you need to send "flip" to update +the display after changing the image. the default mode is "flip_auto". +; +#X text 239 246 blend amount \, 0 - 255; +#X text 682 44 drag and drop your videos here; +#X text 748 291 the result; +#X msg 299 290 127; +#X obj 236 65 t b b; +#X text 196 14 frame rate. start with something modest \, like 1; +#X obj 731 257 hsl 128 15 255 0 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 21 189 fs.framed blending; +#X obj 306 187 fs.framed blending; +#X obj 150 363 fs.framed blending; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 24 0; +#X connect 4 0 25 0; +#X connect 5 0 26 0; +#X connect 6 0 7 2; +#X connect 7 0 26 0; +#X connect 8 0 21 0; +#X connect 9 0 8 0; +#X connect 10 0 25 0; +#X connect 11 0 24 0; +#X connect 12 0 3 0; +#X connect 13 0 4 0; +#X connect 14 0 5 0; +#X connect 14 0 20 0; +#X connect 20 0 6 0; +#X connect 21 0 11 0; +#X connect 21 1 10 0; +#X connect 23 0 6 0; +#X connect 24 0 7 0; +#X connect 24 2 3 0; +#X connect 25 0 7 1; +#X connect 25 2 4 0; +#X connect 26 2 5 0; diff --git a/Patches/08 example-masking.pd b/Patches/08 example-masking.pd deleted file mode 100644 index 8e546a6..0000000 --- a/Patches/08 example-masking.pd +++ /dev/null @@ -1,66 +0,0 @@ -#N canvas 50 107 926 549 10; -#X obj 9 33 fs.main; -#X msg 8 8 6001; -#X msg 45 8 reset; -#X msg 115 196 412 + 104; -#X msg 18 122 next \, bang; -#X obj 18 294 fs.mask; -#X msg 248 279 601 + 104; -#X obj 18 99 fps 0; -#X floatatom 18 76 4 0 0; -#X obj 199 332 fs.draw; -#X msg 199 308 rect \$1 \$2 \$3 \$4; -#X msg 211 230 mousetrack_1 \, mouserect_1; -#X msg 219 372 pen 0 0 0 \, brush 0 0 0; -#X obj 130 173 init; -#X msg 219 395 pen 255 255 255 \, brush 255 255 255; -#X obj 18 173 fs.framed masking; -#X obj 151 257 fs.framed masking; -#X obj 18 392 fs.framed masking; -#X obj 130 392 init; -#X obj 259 257 init; -#X obj 235 421 init; -#X text 359 372 click here to draw black to the mask; -#X text 435 394 draw white; -#X text 409 51 1) drag & drop a video here:; -#X text 598 51 2) draw rectanges to this frame:; -#X text 599 262 the result is...; -#X msg 115 417 601 + 313; -#X text 116 47 fs.mask -- copy with mask; -#X text 116 66 1st inlet: fs.frame to copy from; -#X text 116 81 2nd inlet: fs.frame of the mask; -#X text 134 95 outlet: output fs.frame; -#X msg 52 76 2; -#X obj 65 99 init; -#X msg 364 443 invert; -#X text 364 423 try inverting the mask..; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 15 0; -#X connect 4 0 15 0; -#X connect 5 0 17 0; -#X connect 6 0 16 0; -#X connect 7 0 4 0; -#X connect 8 0 7 0; -#X connect 9 0 16 0; -#X connect 10 0 9 0; -#X connect 11 0 16 0; -#X connect 12 0 9 0; -#X connect 13 0 3 0; -#X connect 14 0 9 0; -#X connect 15 0 5 0; -#X connect 15 2 3 0; -#X connect 16 0 5 1; -#X connect 16 1 10 0; -#X connect 16 2 6 0; -#X connect 17 2 26 0; -#X connect 18 0 26 0; -#X connect 19 0 6 0; -#X connect 19 0 11 0; -#X connect 19 0 16 0; -#X connect 20 0 14 0; -#X connect 26 0 17 0; -#X connect 31 0 8 0; -#X connect 32 0 31 0; -#X connect 33 0 16 0; diff --git a/Patches/08.example-masking.pd b/Patches/08.example-masking.pd new file mode 100644 index 0000000..8e546a6 --- /dev/null +++ b/Patches/08.example-masking.pd @@ -0,0 +1,66 @@ +#N canvas 50 107 926 549 10; +#X obj 9 33 fs.main; +#X msg 8 8 6001; +#X msg 45 8 reset; +#X msg 115 196 412 + 104; +#X msg 18 122 next \, bang; +#X obj 18 294 fs.mask; +#X msg 248 279 601 + 104; +#X obj 18 99 fps 0; +#X floatatom 18 76 4 0 0; +#X obj 199 332 fs.draw; +#X msg 199 308 rect \$1 \$2 \$3 \$4; +#X msg 211 230 mousetrack_1 \, mouserect_1; +#X msg 219 372 pen 0 0 0 \, brush 0 0 0; +#X obj 130 173 init; +#X msg 219 395 pen 255 255 255 \, brush 255 255 255; +#X obj 18 173 fs.framed masking; +#X obj 151 257 fs.framed masking; +#X obj 18 392 fs.framed masking; +#X obj 130 392 init; +#X obj 259 257 init; +#X obj 235 421 init; +#X text 359 372 click here to draw black to the mask; +#X text 435 394 draw white; +#X text 409 51 1) drag & drop a video here:; +#X text 598 51 2) draw rectanges to this frame:; +#X text 599 262 the result is...; +#X msg 115 417 601 + 313; +#X text 116 47 fs.mask -- copy with mask; +#X text 116 66 1st inlet: fs.frame to copy from; +#X text 116 81 2nd inlet: fs.frame of the mask; +#X text 134 95 outlet: output fs.frame; +#X msg 52 76 2; +#X obj 65 99 init; +#X msg 364 443 invert; +#X text 364 423 try inverting the mask..; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 15 0; +#X connect 4 0 15 0; +#X connect 5 0 17 0; +#X connect 6 0 16 0; +#X connect 7 0 4 0; +#X connect 8 0 7 0; +#X connect 9 0 16 0; +#X connect 10 0 9 0; +#X connect 11 0 16 0; +#X connect 12 0 9 0; +#X connect 13 0 3 0; +#X connect 14 0 9 0; +#X connect 15 0 5 0; +#X connect 15 2 3 0; +#X connect 16 0 5 1; +#X connect 16 1 10 0; +#X connect 16 2 6 0; +#X connect 17 2 26 0; +#X connect 18 0 26 0; +#X connect 19 0 6 0; +#X connect 19 0 11 0; +#X connect 19 0 16 0; +#X connect 20 0 14 0; +#X connect 26 0 17 0; +#X connect 31 0 8 0; +#X connect 32 0 31 0; +#X connect 33 0 16 0; diff --git a/Patches/09 example-sonogram.pd b/Patches/09 example-sonogram.pd deleted file mode 100644 index 319e943..0000000 --- a/Patches/09 example-sonogram.pd +++ /dev/null @@ -1,75 +0,0 @@ -#N canvas 308 -3 607 678 12; -#X obj 13 40 fs.main; -#X msg 13 13 6001; -#X msg 64 12 reset; -#X obj 330 486 fs.sonogram; -#X msg 488 452 bang; -#X obj 488 419 fps 0; -#X floatatom 488 392 5 0 0; -#X msg 488 364 5; -#N canvas 0 0 608 408 play 0; -#N canvas 0 0 450 300 graph2 0; -#X array music 114740 float 0; -#X coords 0 1 114739 -1 200 140 1; -#X restore 70 31 graph; -#X msg 341 137 read -resize \$1 music; -#X obj 341 168 soundfiler; -#X obj 333 70 inlet; -#X obj 341 103 symbol; -#X obj 193 242 phasor~ 1; -#X obj 203 290 *~; -#X obj 209 359 outlet~; -#X obj 203 320 tabread4~ music; -#X floatatom 193 213 5 0 0; -#X obj 92 214 osc~ 0.01; -#X obj 92 239 avg~; -#X connect 1 0 2 0; -#X connect 2 0 6 1; -#X connect 3 0 4 0; -#X connect 4 0 1 0; -#X connect 5 0 6 0; -#X connect 6 0 8 0; -#X connect 8 0 7 0; -#X connect 9 0 5 0; -#X connect 10 0 11 0; -#X connect 11 0 9 0; -#X restore 330 349 pd play; -#X obj 251 480 dac~; -#X msg 364 558 200x128 \, display 200x512; -#X floatatom 355 427 5 0 0; -#X obj 263 450 *~ 0.2; -#X text 348 403 amplify display; -#X obj 295 529 fs.framed example-sonogram 20+120; -#X msg 370 587 setbits 246; -#X msg 358 100 \; pd dsp 1; -#X obj 116 13 loadbang; -#X text 441 110 must be on ..; -#X text 453 332 start drawing; -#X text 242 23 correct path and click ..; -#X text 28 617 NOTE: fs.sonogram writes temporary files to your c:/. -; -#X text 77 636 modify fs.sonogram.pd for a proper temporary path.; -#X obj 330 451 *~ 4; -#X obj 479 592 init; -#X msg 248 48 g:/fsrel/framestein/extract.wav; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 14 0; -#X connect 4 0 3 1; -#X connect 5 0 4 0; -#X connect 6 0 5 0; -#X connect 7 0 6 0; -#X connect 8 0 12 0; -#X connect 8 0 23 0; -#X connect 10 0 14 0; -#X connect 11 0 23 1; -#X connect 12 0 9 0; -#X connect 12 0 9 0; -#X connect 12 0 9 1; -#X connect 15 0 14 0; -#X connect 17 0 2 0; -#X connect 23 0 3 0; -#X connect 24 0 10 0; -#X connect 24 0 15 0; -#X connect 25 0 8 0; diff --git a/Patches/09.example-sonogram.pd b/Patches/09.example-sonogram.pd new file mode 100644 index 0000000..319e943 --- /dev/null +++ b/Patches/09.example-sonogram.pd @@ -0,0 +1,75 @@ +#N canvas 308 -3 607 678 12; +#X obj 13 40 fs.main; +#X msg 13 13 6001; +#X msg 64 12 reset; +#X obj 330 486 fs.sonogram; +#X msg 488 452 bang; +#X obj 488 419 fps 0; +#X floatatom 488 392 5 0 0; +#X msg 488 364 5; +#N canvas 0 0 608 408 play 0; +#N canvas 0 0 450 300 graph2 0; +#X array music 114740 float 0; +#X coords 0 1 114739 -1 200 140 1; +#X restore 70 31 graph; +#X msg 341 137 read -resize \$1 music; +#X obj 341 168 soundfiler; +#X obj 333 70 inlet; +#X obj 341 103 symbol; +#X obj 193 242 phasor~ 1; +#X obj 203 290 *~; +#X obj 209 359 outlet~; +#X obj 203 320 tabread4~ music; +#X floatatom 193 213 5 0 0; +#X obj 92 214 osc~ 0.01; +#X obj 92 239 avg~; +#X connect 1 0 2 0; +#X connect 2 0 6 1; +#X connect 3 0 4 0; +#X connect 4 0 1 0; +#X connect 5 0 6 0; +#X connect 6 0 8 0; +#X connect 8 0 7 0; +#X connect 9 0 5 0; +#X connect 10 0 11 0; +#X connect 11 0 9 0; +#X restore 330 349 pd play; +#X obj 251 480 dac~; +#X msg 364 558 200x128 \, display 200x512; +#X floatatom 355 427 5 0 0; +#X obj 263 450 *~ 0.2; +#X text 348 403 amplify display; +#X obj 295 529 fs.framed example-sonogram 20+120; +#X msg 370 587 setbits 246; +#X msg 358 100 \; pd dsp 1; +#X obj 116 13 loadbang; +#X text 441 110 must be on ..; +#X text 453 332 start drawing; +#X text 242 23 correct path and click ..; +#X text 28 617 NOTE: fs.sonogram writes temporary files to your c:/. +; +#X text 77 636 modify fs.sonogram.pd for a proper temporary path.; +#X obj 330 451 *~ 4; +#X obj 479 592 init; +#X msg 248 48 g:/fsrel/framestein/extract.wav; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 14 0; +#X connect 4 0 3 1; +#X connect 5 0 4 0; +#X connect 6 0 5 0; +#X connect 7 0 6 0; +#X connect 8 0 12 0; +#X connect 8 0 23 0; +#X connect 10 0 14 0; +#X connect 11 0 23 1; +#X connect 12 0 9 0; +#X connect 12 0 9 0; +#X connect 12 0 9 1; +#X connect 15 0 14 0; +#X connect 17 0 2 0; +#X connect 23 0 3 0; +#X connect 24 0 10 0; +#X connect 24 0 15 0; +#X connect 25 0 8 0; diff --git a/Patches/10 example-waveformdisplay.pd b/Patches/10 example-waveformdisplay.pd deleted file mode 100644 index f44763a..0000000 --- a/Patches/10 example-waveformdisplay.pd +++ /dev/null @@ -1,126 +0,0 @@ -#N canvas 197 11 743 561 12; -#X obj 5 34 fs.main; -#X msg 5 7 6001; -#X msg 45 7 reset; -#X text 155 394 drag & drop a SOUND FILE to one of the frames above -...; -#X text 234 413 then make a selection with mouse; -#N canvas 0 0 1002 426 implementation 0; -#X obj 26 260 table snd; -#X obj 108 206 fs.event; -#X msg 108 234 read -resize \$1 snd; -#X obj 159 286 soundfiler; -#X obj 125 105 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X obj 206 161 fs.waveform snd 512 256; -#X obj 197 101 fs.waveform snd 512 32; -#X obj 230 134 t b f; -#X floatatom 295 192 8 0 0; -#X floatatom 368 192 8 0 0; -#X text 288 230 selection in samples; -#N canvas 35 295 458 308 init 0; -#X obj 105 91 init; -#X obj 92 209 outlet; -#X obj 145 209 outlet; -#X msg 83 125 dock waveformd \, 118+105 \, bang; -#X msg 74 151 dock waveformd \, 118+138 \, bang; -#X connect 0 0 3 0; -#X connect 0 0 4 0; -#X connect 3 0 2 0; -#X connect 4 0 1 0; -#X restore 146 74 pd init; -#X msg 394 97 118 + 105; -#X msg 406 153 118 + 138; -#X obj 108 260 t b b a; -#X msg 128 286 0; -#X text 499 72 fs.waveform -- array display with range selection; -#X text 513 104 args: ; -#X text 513 130 inlet 1: bang or command to fs.frame; -#X text 513 166 inlet 3: endpoint of display in samples; -#X text 513 148 inlet 2: startpoint of display in samples; -#X text 513 184 inlet 4: display selection in inverse (0 or 1); -#X text 513 217 outlets 1 & 2: first two outlets of the fs.frame inside -; -#X text 513 235 outlets 3 & 4: start and end of selected range in samples -; -#X text 513 254 outlet 5: third outlet of the fs.frame inside; -#N canvas 0 0 481 421 playselection 0; -#X obj 302 117 inlet; -#X obj 348 117 inlet; -#X obj 302 182 -; -#X obj 302 210 abs; -#X obj 94 185 *~; -#X obj 94 214 +~; -#X obj 94 151 phasor~; -#X obj 334 310 /; -#X obj 327 277 samplerate~; -#X obj 302 237 t f b f; -#X obj 94 245 tabread4~ snd; -#X obj 149 283 r vol; -#X obj 94 319 dac~; -#X obj 94 283 *~ 0.1; -#X obj 123 50 inlet; -#X text 74 24 mouseup from fs.event; -#X text 301 94 range; -#X obj 94 127 f; -#X obj 123 185 f; -#X obj 123 214 f; -#X connect 0 0 2 0; -#X connect 0 0 19 1; -#X connect 1 0 2 1; -#X connect 2 0 3 0; -#X connect 3 0 9 0; -#X connect 4 0 5 0; -#X connect 5 0 10 0; -#X connect 6 0 4 0; -#X connect 7 0 17 1; -#X connect 8 0 7 0; -#X connect 9 0 18 1; -#X connect 9 1 8 0; -#X connect 9 2 7 1; -#X connect 10 0 13 0; -#X connect 11 0 13 1; -#X connect 13 0 12 0; -#X connect 13 0 12 1; -#X connect 14 0 17 0; -#X connect 14 0 18 0; -#X connect 14 0 19 0; -#X connect 17 0 6 0; -#X connect 18 0 4 1; -#X connect 19 0 5 1; -#X restore 294 299 pd playselection; -#X text 195 353 Sorry about the mess..; -#X connect 1 0 2 0; -#X connect 1 2 25 0; -#X connect 2 0 14 0; -#X connect 4 0 6 0; -#X connect 5 0 1 0; -#X connect 5 2 8 0; -#X connect 5 2 25 1; -#X connect 5 3 9 0; -#X connect 5 3 25 2; -#X connect 5 4 13 0; -#X connect 6 0 1 0; -#X connect 6 2 7 0; -#X connect 6 3 5 2; -#X connect 6 4 12 0; -#X connect 7 0 5 0; -#X connect 7 1 5 1; -#X connect 11 0 5 0; -#X connect 11 1 6 0; -#X connect 14 0 6 0; -#X connect 14 0 5 0; -#X connect 14 1 15 0; -#X connect 14 2 3 0; -#X connect 15 0 6 1; -#X connect 15 0 6 2; -#X connect 15 0 5 1; -#X connect 15 0 5 2; -#X restore 252 475 pd implementation and docs; -#X obj 32 388 vsl 15 128 0 1 0 0 vol empty volume 0 -8 128 8 -262144 --1 -1 7800 1; -#X msg 54 497 \; pd dsp 1; -#X text 57 472 play it ...; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; diff --git a/Patches/10.example-waveformdisplay.pd b/Patches/10.example-waveformdisplay.pd new file mode 100644 index 0000000..f44763a --- /dev/null +++ b/Patches/10.example-waveformdisplay.pd @@ -0,0 +1,126 @@ +#N canvas 197 11 743 561 12; +#X obj 5 34 fs.main; +#X msg 5 7 6001; +#X msg 45 7 reset; +#X text 155 394 drag & drop a SOUND FILE to one of the frames above +...; +#X text 234 413 then make a selection with mouse; +#N canvas 0 0 1002 426 implementation 0; +#X obj 26 260 table snd; +#X obj 108 206 fs.event; +#X msg 108 234 read -resize \$1 snd; +#X obj 159 286 soundfiler; +#X obj 125 105 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 206 161 fs.waveform snd 512 256; +#X obj 197 101 fs.waveform snd 512 32; +#X obj 230 134 t b f; +#X floatatom 295 192 8 0 0; +#X floatatom 368 192 8 0 0; +#X text 288 230 selection in samples; +#N canvas 35 295 458 308 init 0; +#X obj 105 91 init; +#X obj 92 209 outlet; +#X obj 145 209 outlet; +#X msg 83 125 dock waveformd \, 118+105 \, bang; +#X msg 74 151 dock waveformd \, 118+138 \, bang; +#X connect 0 0 3 0; +#X connect 0 0 4 0; +#X connect 3 0 2 0; +#X connect 4 0 1 0; +#X restore 146 74 pd init; +#X msg 394 97 118 + 105; +#X msg 406 153 118 + 138; +#X obj 108 260 t b b a; +#X msg 128 286 0; +#X text 499 72 fs.waveform -- array display with range selection; +#X text 513 104 args: ; +#X text 513 130 inlet 1: bang or command to fs.frame; +#X text 513 166 inlet 3: endpoint of display in samples; +#X text 513 148 inlet 2: startpoint of display in samples; +#X text 513 184 inlet 4: display selection in inverse (0 or 1); +#X text 513 217 outlets 1 & 2: first two outlets of the fs.frame inside +; +#X text 513 235 outlets 3 & 4: start and end of selected range in samples +; +#X text 513 254 outlet 5: third outlet of the fs.frame inside; +#N canvas 0 0 481 421 playselection 0; +#X obj 302 117 inlet; +#X obj 348 117 inlet; +#X obj 302 182 -; +#X obj 302 210 abs; +#X obj 94 185 *~; +#X obj 94 214 +~; +#X obj 94 151 phasor~; +#X obj 334 310 /; +#X obj 327 277 samplerate~; +#X obj 302 237 t f b f; +#X obj 94 245 tabread4~ snd; +#X obj 149 283 r vol; +#X obj 94 319 dac~; +#X obj 94 283 *~ 0.1; +#X obj 123 50 inlet; +#X text 74 24 mouseup from fs.event; +#X text 301 94 range; +#X obj 94 127 f; +#X obj 123 185 f; +#X obj 123 214 f; +#X connect 0 0 2 0; +#X connect 0 0 19 1; +#X connect 1 0 2 1; +#X connect 2 0 3 0; +#X connect 3 0 9 0; +#X connect 4 0 5 0; +#X connect 5 0 10 0; +#X connect 6 0 4 0; +#X connect 7 0 17 1; +#X connect 8 0 7 0; +#X connect 9 0 18 1; +#X connect 9 1 8 0; +#X connect 9 2 7 1; +#X connect 10 0 13 0; +#X connect 11 0 13 1; +#X connect 13 0 12 0; +#X connect 13 0 12 1; +#X connect 14 0 17 0; +#X connect 14 0 18 0; +#X connect 14 0 19 0; +#X connect 17 0 6 0; +#X connect 18 0 4 1; +#X connect 19 0 5 1; +#X restore 294 299 pd playselection; +#X text 195 353 Sorry about the mess..; +#X connect 1 0 2 0; +#X connect 1 2 25 0; +#X connect 2 0 14 0; +#X connect 4 0 6 0; +#X connect 5 0 1 0; +#X connect 5 2 8 0; +#X connect 5 2 25 1; +#X connect 5 3 9 0; +#X connect 5 3 25 2; +#X connect 5 4 13 0; +#X connect 6 0 1 0; +#X connect 6 2 7 0; +#X connect 6 3 5 2; +#X connect 6 4 12 0; +#X connect 7 0 5 0; +#X connect 7 1 5 1; +#X connect 11 0 5 0; +#X connect 11 1 6 0; +#X connect 14 0 6 0; +#X connect 14 0 5 0; +#X connect 14 1 15 0; +#X connect 14 2 3 0; +#X connect 15 0 6 1; +#X connect 15 0 6 2; +#X connect 15 0 5 1; +#X connect 15 0 5 2; +#X restore 252 475 pd implementation and docs; +#X obj 32 388 vsl 15 128 0 1 0 0 vol empty volume 0 -8 128 8 -262144 +-1 -1 7800 1; +#X msg 54 497 \; pd dsp 1; +#X text 57 472 play it ...; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; diff --git a/Patches/11 example-browser.pd b/Patches/11 example-browser.pd deleted file mode 100644 index 3e68922..0000000 --- a/Patches/11 example-browser.pd +++ /dev/null @@ -1,30 +0,0 @@ -#N canvas 335 300 661 349 12; -#X obj 11 37 fs.main; -#X obj 88 185 fs.browser; -#X msg 11 8 6001; -#X msg 62 8 reset; -#X obj 88 255 fs.frame; -#X msg 88 133 bang; -#X msg 190 82 1000x480; -#X obj 88 221 fs.copy; -#X msg 164 282 xbend 110 120; -#X floatatom 287 273 4 0 0; -#X obj 287 299 bangx; -#X msg 287 247 10; -#X text 54 110 click here; -#X obj 181 15 init; -#X msg 181 122 http://pinktwins.com; -#X connect 1 0 7 0; -#X connect 2 0 0 0; -#X connect 2 0 3 0; -#X connect 3 0 0 1; -#X connect 5 0 1 0; -#X connect 6 0 1 0; -#X connect 7 0 4 0; -#X connect 8 0 4 0; -#X connect 9 0 10 0; -#X connect 10 0 8 0; -#X connect 11 0 9 0; -#X connect 13 0 6 0; -#X connect 13 0 14 0; -#X connect 14 0 1 0; diff --git a/Patches/11.example-browser.pd b/Patches/11.example-browser.pd new file mode 100644 index 0000000..3e68922 --- /dev/null +++ b/Patches/11.example-browser.pd @@ -0,0 +1,30 @@ +#N canvas 335 300 661 349 12; +#X obj 11 37 fs.main; +#X obj 88 185 fs.browser; +#X msg 11 8 6001; +#X msg 62 8 reset; +#X obj 88 255 fs.frame; +#X msg 88 133 bang; +#X msg 190 82 1000x480; +#X obj 88 221 fs.copy; +#X msg 164 282 xbend 110 120; +#X floatatom 287 273 4 0 0; +#X obj 287 299 bangx; +#X msg 287 247 10; +#X text 54 110 click here; +#X obj 181 15 init; +#X msg 181 122 http://pinktwins.com; +#X connect 1 0 7 0; +#X connect 2 0 0 0; +#X connect 2 0 3 0; +#X connect 3 0 0 1; +#X connect 5 0 1 0; +#X connect 6 0 1 0; +#X connect 7 0 4 0; +#X connect 8 0 4 0; +#X connect 9 0 10 0; +#X connect 10 0 8 0; +#X connect 11 0 9 0; +#X connect 13 0 6 0; +#X connect 13 0 14 0; +#X connect 14 0 1 0; diff --git a/Patches/12 example-network.pd b/Patches/12 example-network.pd deleted file mode 100644 index f28e983..0000000 --- a/Patches/12 example-network.pd +++ /dev/null @@ -1,64 +0,0 @@ -#N canvas 242 39 744 617 12; -#X obj 15 44 fs.main; -#X msg 15 14 6001; -#X msg 66 14 reset; -#X obj 108 221 fs.frame; -#X msg 207 179 next; -#X obj 82 520 fs.frame; -#X msg 29 481 receive hello; -#X text 162 511 use "receive " on the receiving end to control -where your frames go.; -#X text 208 234 send ; -#X text 357 142 connect
; -#X text 208 259 use "pure" as jpeg quality to send uncompressed frames. -this will take much more bandwidth but less cpu.; -#X msg 207 209 send hello 33; -#X msg 24 311 disconnect; -#X text 443 328 use send_auto to automate sending (send frame on each -flip); -#X msg 397 303 send_auto hello 33; -#X msg 397 328 next; -#X obj 336 465 fs.copy; -#X msg 347 440 bang; -#X msg 398 378 bang; -#X msg 398 465 source_random \, dest_random \, srcand; -#N canvas 519 266 382 371 test 0; -#X obj 115 209 outlet; -#X obj 115 46 inlet; -#X msg 115 87 bang; -#X obj 115 122 random 20; -#X obj 115 149 bangx; -#X connect 1 0 2 0; -#X connect 2 0 3 0; -#X connect 3 0 4 0; -#X connect 4 0 0 0; -#X restore 398 402 pd test; -#X msg 172 142 connect localhost 6010; -#X obj 29 454 reset; -#X obj 398 440 init; -#X text 414 112 correct this path; -#X text 143 29 -- Sending frames through network --; -#X msg 143 113 buffer g:/fsrel/Framestein/Reija; -#X text 144 52 (you must enable "Listen to Framestein connections" -in the configuration); -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 16 0; -#X connect 4 0 3 0; -#X connect 4 0 11 0; -#X connect 6 0 5 0; -#X connect 11 0 3 0; -#X connect 12 0 3 0; -#X connect 14 0 3 0; -#X connect 15 0 3 0; -#X connect 16 0 3 0; -#X connect 17 0 3 0; -#X connect 18 0 15 0; -#X connect 18 0 20 0; -#X connect 19 0 16 1; -#X connect 20 0 3 0; -#X connect 21 0 3 0; -#X connect 22 0 6 0; -#X connect 23 0 19 0; -#X connect 26 0 3 0; diff --git a/Patches/12.example-network.pd b/Patches/12.example-network.pd new file mode 100644 index 0000000..f28e983 --- /dev/null +++ b/Patches/12.example-network.pd @@ -0,0 +1,64 @@ +#N canvas 242 39 744 617 12; +#X obj 15 44 fs.main; +#X msg 15 14 6001; +#X msg 66 14 reset; +#X obj 108 221 fs.frame; +#X msg 207 179 next; +#X obj 82 520 fs.frame; +#X msg 29 481 receive hello; +#X text 162 511 use "receive " on the receiving end to control +where your frames go.; +#X text 208 234 send ; +#X text 357 142 connect
; +#X text 208 259 use "pure" as jpeg quality to send uncompressed frames. +this will take much more bandwidth but less cpu.; +#X msg 207 209 send hello 33; +#X msg 24 311 disconnect; +#X text 443 328 use send_auto to automate sending (send frame on each +flip); +#X msg 397 303 send_auto hello 33; +#X msg 397 328 next; +#X obj 336 465 fs.copy; +#X msg 347 440 bang; +#X msg 398 378 bang; +#X msg 398 465 source_random \, dest_random \, srcand; +#N canvas 519 266 382 371 test 0; +#X obj 115 209 outlet; +#X obj 115 46 inlet; +#X msg 115 87 bang; +#X obj 115 122 random 20; +#X obj 115 149 bangx; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 0 0; +#X restore 398 402 pd test; +#X msg 172 142 connect localhost 6010; +#X obj 29 454 reset; +#X obj 398 440 init; +#X text 414 112 correct this path; +#X text 143 29 -- Sending frames through network --; +#X msg 143 113 buffer g:/fsrel/Framestein/Reija; +#X text 144 52 (you must enable "Listen to Framestein connections" +in the configuration); +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 16 0; +#X connect 4 0 3 0; +#X connect 4 0 11 0; +#X connect 6 0 5 0; +#X connect 11 0 3 0; +#X connect 12 0 3 0; +#X connect 14 0 3 0; +#X connect 15 0 3 0; +#X connect 16 0 3 0; +#X connect 17 0 3 0; +#X connect 18 0 15 0; +#X connect 18 0 20 0; +#X connect 19 0 16 1; +#X connect 20 0 3 0; +#X connect 21 0 3 0; +#X connect 22 0 6 0; +#X connect 23 0 19 0; +#X connect 26 0 3 0; diff --git a/Patches/13 example-avioutput.pd b/Patches/13 example-avioutput.pd deleted file mode 100644 index eb83312..0000000 --- a/Patches/13 example-avioutput.pd +++ /dev/null @@ -1,63 +0,0 @@ -#N canvas 252 23 723 633 12; -#X obj 13 39 fs.main; -#X msg 13 12 6001; -#X msg 64 13 reset; -#X obj 247 147 fs.framed aviout; -#X msg 385 147 37 + 127; -#X msg 75 39 path c:/fsrel/framestein; -#X obj 282 204 fs.copy; -#X msg 385 190 source_random; -#X obj 385 59 init; -#X msg 247 102 head.avi \, flip_manual; -#X msg 502 127 next \, bang \, flip; -#X floatatom 521 76 5 0 0; -#X obj 247 178 t s s; -#X obj 502 103 fps 0; -#X msg 484 76 5; -#X obj 269 361 fs.avi; -#X floatatom 269 387 5 0 0; -#X text 326 388 # of frames saved; -#X msg 349 273 fps 10; -#X text 412 273 set frames per second; -#X obj 349 249 init; -#X msg 349 318 write; -#X text 400 318 apply compression and finish; -#X text 482 50 start writing!; -#X text 90 440 Bang fs.frame to fs.avi to save one frame of video; -#X text 90 467 Finish it off with "write [filename.avi]"; -#X msg 434 220 xbend \$1; -#X floatatom 507 220 5 0 0; -#X msg 507 195 75; -#X msg 550 103 0; -#X text 584 102 stop; -#X text 90 518 WARNING: This feature is currently UNSTABLE. I recommend -using the "save" feature of fs.frame to ensure your work won't be lost. -; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 2 0 5 0; -#X connect 3 0 12 0; -#X connect 3 2 4 0; -#X connect 4 0 3 0; -#X connect 5 0 0 1; -#X connect 6 0 3 0; -#X connect 7 0 6 1; -#X connect 8 0 9 0; -#X connect 8 0 4 0; -#X connect 8 0 7 0; -#X connect 9 0 3 0; -#X connect 10 0 3 0; -#X connect 11 0 13 0; -#X connect 12 0 15 0; -#X connect 12 1 6 0; -#X connect 13 0 10 0; -#X connect 14 0 13 0; -#X connect 15 0 16 0; -#X connect 18 0 15 0; -#X connect 20 0 18 0; -#X connect 21 0 15 0; -#X connect 26 0 6 1; -#X connect 27 0 26 0; -#X connect 28 0 27 0; -#X connect 29 0 13 0; diff --git a/Patches/13.example-avioutput.pd b/Patches/13.example-avioutput.pd new file mode 100644 index 0000000..eb83312 --- /dev/null +++ b/Patches/13.example-avioutput.pd @@ -0,0 +1,63 @@ +#N canvas 252 23 723 633 12; +#X obj 13 39 fs.main; +#X msg 13 12 6001; +#X msg 64 13 reset; +#X obj 247 147 fs.framed aviout; +#X msg 385 147 37 + 127; +#X msg 75 39 path c:/fsrel/framestein; +#X obj 282 204 fs.copy; +#X msg 385 190 source_random; +#X obj 385 59 init; +#X msg 247 102 head.avi \, flip_manual; +#X msg 502 127 next \, bang \, flip; +#X floatatom 521 76 5 0 0; +#X obj 247 178 t s s; +#X obj 502 103 fps 0; +#X msg 484 76 5; +#X obj 269 361 fs.avi; +#X floatatom 269 387 5 0 0; +#X text 326 388 # of frames saved; +#X msg 349 273 fps 10; +#X text 412 273 set frames per second; +#X obj 349 249 init; +#X msg 349 318 write; +#X text 400 318 apply compression and finish; +#X text 482 50 start writing!; +#X text 90 440 Bang fs.frame to fs.avi to save one frame of video; +#X text 90 467 Finish it off with "write [filename.avi]"; +#X msg 434 220 xbend \$1; +#X floatatom 507 220 5 0 0; +#X msg 507 195 75; +#X msg 550 103 0; +#X text 584 102 stop; +#X text 90 518 WARNING: This feature is currently UNSTABLE. I recommend +using the "save" feature of fs.frame to ensure your work won't be lost. +; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 2 0 5 0; +#X connect 3 0 12 0; +#X connect 3 2 4 0; +#X connect 4 0 3 0; +#X connect 5 0 0 1; +#X connect 6 0 3 0; +#X connect 7 0 6 1; +#X connect 8 0 9 0; +#X connect 8 0 4 0; +#X connect 8 0 7 0; +#X connect 9 0 3 0; +#X connect 10 0 3 0; +#X connect 11 0 13 0; +#X connect 12 0 15 0; +#X connect 12 1 6 0; +#X connect 13 0 10 0; +#X connect 14 0 13 0; +#X connect 15 0 16 0; +#X connect 18 0 15 0; +#X connect 20 0 18 0; +#X connect 21 0 15 0; +#X connect 26 0 6 1; +#X connect 27 0 26 0; +#X connect 28 0 27 0; +#X connect 29 0 13 0; diff --git a/Patches/14 example-hist.pd b/Patches/14 example-hist.pd deleted file mode 100644 index e9c378c..0000000 --- a/Patches/14 example-hist.pd +++ /dev/null @@ -1,46 +0,0 @@ -#N canvas 276 11 723 503 12; -#X obj 243 98 videoscrub; -#X floatatom 230 39 5 0 0; -#X obj 279 40 play 0; -#X msg 332 40 mousetrack_1; -#X graph graph1 0 -1 255 1 498 164 698 24; -#X array red 256 float 0; -#X pop; -#X msg 212 11 bang; -#X obj 9 39 fs.main; -#X msg 9 13 6001; -#X msg 60 13 reset; -#X obj 212 70 fs.framed example-hist 11+97; -#X graph graph2 0 -1 255 1 498 311 698 171; -#X array green 256 float 0; -#X pop; -#X graph graph3 0 -1 255 1 498 459 698 319; -#X array blue 256 float 0; -#X pop; -#X obj 217 183 fs.hist 0 red; -#X obj 230 208 fs.hist 1 green; -#X obj 245 234 fs.hist 2 blue; -#X text 110 13 click reset; -#X text 6 271 drop your favorite videofile to the frame .. then scrub -it!; -#X text 6 442 NOTE: fs.hist writes temporary files to your c:/.; -#X text 55 461 modify fs.hist.pd for a proper temporary path.; -#X obj 332 14 init; -#X msg 243 127 HARMON.JPG; -#X connect 0 0 9 0; -#X connect 1 0 2 0; -#X connect 2 0 9 0; -#X connect 3 0 9 0; -#X connect 5 0 9 0; -#X connect 7 0 6 0; -#X connect 7 0 8 0; -#X connect 8 0 6 1; -#X connect 9 0 0 0; -#X connect 9 0 12 0; -#X connect 9 0 13 0; -#X connect 9 0 14 0; -#X connect 9 1 0 1; -#X connect 9 1 5 0; -#X connect 19 0 3 0; -#X connect 19 0 20 0; -#X connect 20 0 9 0; diff --git a/Patches/14.example-hist.pd b/Patches/14.example-hist.pd new file mode 100644 index 0000000..e9c378c --- /dev/null +++ b/Patches/14.example-hist.pd @@ -0,0 +1,46 @@ +#N canvas 276 11 723 503 12; +#X obj 243 98 videoscrub; +#X floatatom 230 39 5 0 0; +#X obj 279 40 play 0; +#X msg 332 40 mousetrack_1; +#X graph graph1 0 -1 255 1 498 164 698 24; +#X array red 256 float 0; +#X pop; +#X msg 212 11 bang; +#X obj 9 39 fs.main; +#X msg 9 13 6001; +#X msg 60 13 reset; +#X obj 212 70 fs.framed example-hist 11+97; +#X graph graph2 0 -1 255 1 498 311 698 171; +#X array green 256 float 0; +#X pop; +#X graph graph3 0 -1 255 1 498 459 698 319; +#X array blue 256 float 0; +#X pop; +#X obj 217 183 fs.hist 0 red; +#X obj 230 208 fs.hist 1 green; +#X obj 245 234 fs.hist 2 blue; +#X text 110 13 click reset; +#X text 6 271 drop your favorite videofile to the frame .. then scrub +it!; +#X text 6 442 NOTE: fs.hist writes temporary files to your c:/.; +#X text 55 461 modify fs.hist.pd for a proper temporary path.; +#X obj 332 14 init; +#X msg 243 127 HARMON.JPG; +#X connect 0 0 9 0; +#X connect 1 0 2 0; +#X connect 2 0 9 0; +#X connect 3 0 9 0; +#X connect 5 0 9 0; +#X connect 7 0 6 0; +#X connect 7 0 8 0; +#X connect 8 0 6 1; +#X connect 9 0 0 0; +#X connect 9 0 12 0; +#X connect 9 0 13 0; +#X connect 9 0 14 0; +#X connect 9 1 0 1; +#X connect 9 1 5 0; +#X connect 19 0 3 0; +#X connect 19 0 20 0; +#X connect 20 0 9 0; diff --git a/Patches/15 example-searchpath.pd b/Patches/15 example-searchpath.pd deleted file mode 100644 index ed1bd25..0000000 --- a/Patches/15 example-searchpath.pd +++ /dev/null @@ -1,28 +0,0 @@ -#N canvas 309 76 603 483 12; -#X obj 16 42 fs.main; -#X msg 16 16 6001; -#X msg 67 16 reset; -#X obj 270 314 fs.framed searchpath; -#X msg 435 314 35 + 148; -#X msg 163 60 path /framestein \, path /fsrel/framestein; -#X text 162 32 use "path " to tell where to search for images -; -#X msg 276 186 harmon.jpg; -#X msg 296 216 virvezoom.jpg; -#X msg 311 247 yska320x240.jpg; -#X msg 259 159 head.avi; -#X text 68 380 The dir where Framestein.exe was started from is always -in the search path.; -#X obj 435 290 init; -#X text 260 131 .. to make it easy to load them:; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 2 4 0; -#X connect 4 0 3 0; -#X connect 5 0 0 1; -#X connect 7 0 3 0; -#X connect 8 0 3 0; -#X connect 9 0 3 0; -#X connect 10 0 3 0; -#X connect 12 0 4 0; diff --git a/Patches/15.example-searchpath.pd b/Patches/15.example-searchpath.pd new file mode 100644 index 0000000..ed1bd25 --- /dev/null +++ b/Patches/15.example-searchpath.pd @@ -0,0 +1,28 @@ +#N canvas 309 76 603 483 12; +#X obj 16 42 fs.main; +#X msg 16 16 6001; +#X msg 67 16 reset; +#X obj 270 314 fs.framed searchpath; +#X msg 435 314 35 + 148; +#X msg 163 60 path /framestein \, path /fsrel/framestein; +#X text 162 32 use "path " to tell where to search for images +; +#X msg 276 186 harmon.jpg; +#X msg 296 216 virvezoom.jpg; +#X msg 311 247 yska320x240.jpg; +#X msg 259 159 head.avi; +#X text 68 380 The dir where Framestein.exe was started from is always +in the search path.; +#X obj 435 290 init; +#X text 260 131 .. to make it easy to load them:; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 2 4 0; +#X connect 4 0 3 0; +#X connect 5 0 0 1; +#X connect 7 0 3 0; +#X connect 8 0 3 0; +#X connect 9 0 3 0; +#X connect 10 0 3 0; +#X connect 12 0 4 0; diff --git a/Patches/16 example-PeRColate.pd b/Patches/16 example-PeRColate.pd deleted file mode 100644 index 3113edd..0000000 --- a/Patches/16 example-PeRColate.pd +++ /dev/null @@ -1,96 +0,0 @@ -#N canvas 230 1 794 688 10; -#X obj 11 41 fs.main; -#X msg 11 11 6001; -#X msg 62 12 reset; -#X obj 70 284 fs.frame; -#X obj 70 566 fs.frame; -#X obj 70 476 fs.copy; -#X text 168 301 plugins can also be copy operations; -#X text 69 590 note: 16 bit display is way faster than 24 or 32 in -my machine \, so i recommend trying out which one performs best.; -#X msg 70 61 virvezoom.jpg; -#X obj 70 38 init; -#X obj 199 520 init; -#X msg 199 542 291 x 325 \, 0 + 370; -#X msg 167 349 eclipse02 200 100 50 8 8; -#X msg 178 148 traffic 1 0.8 0.9 0.75 0.51 0.2 0.12 0.1 0.7; -#X msg 179 174 modgain 12 230 50; -#X obj 608 108 r rgbseek_check; -#X floatatom 608 129 5 0 0; -#X text 197 15 PeRColate PLUGINS -- effects and copy operations; -#X msg 178 231 eclipse 200 100 50 8 8; -#X msg 179 61 cga 45 39 168; -#X msg 179 198 rgbavg 12 230 50 1; -#X msg 179 109 rgbseek 100 200 100 50 50 50 rgbseek_check; -#X msg 90 528 virvezoom.jpg; -#X msg 179 84 constrain 160 20 35 255 214 123; -#X text 649 128 result of rgbseek; -#X text 375 83 restrict image color to lie between boundaries; -#X text 298 197 averaging of rgb values (rgbavg ) -; -#X text 299 210 mode :: 1 .. 12 (0 = bypass); -#X text 319 231 produce colored 'patchwork carpet' \; -); -#X text 319 246 (eclipse ); -#X text 293 174 'modulo gain' :: add values to color and calc. mod -255; -#X text 438 107 seek for existance of color; -#X text 197 125 (rgbseek ); -#X text 449 148 tristimulus matrix operation; -#X text 450 161 parameters: 9 matrix values (floats); -#X msg 132 477 bang; -#X msg 25 227 bang; -#X msg 168 432 cutout 16 32 64 128 0; -#X text 304 431 rectangular cutout (cutout -); -#X text 164 475 bang fs.frame to get it processed..; -#X text 375 263 (eclipse03 -); -#X msg 180 263 eclipse03 200 100 50 8 8 0 1 23; -#X msg 168 402 rene 20 153 74 5 0 5 180 25 125; -#X text 366 394 chroma keying with transparency; -#X text 347 323 chroma keying (keyscreen ); -#X text 364 408 (rene - ); -#X msg 168 323 keyscreen 20 153 74 50 50 80; -#X msg 168 374 fromage 8 8 8 8 0; -#X text 280 374 create 'prison bars'; -#X text 325 453 averaging of rgb values (rgbavg ) -; -#X text 326 466 mode :: 1 .. 12 (0 = bypass); -#X msg 206 454 rgbavg 12 230 50 9; -#X text 64 644 get PeRColate at http://www.akustische-kunst.org/puredata/PeRColate -; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 5 0; -#X connect 5 0 4 0; -#X connect 8 0 3 0; -#X connect 9 0 8 0; -#X connect 10 0 11 0; -#X connect 11 0 4 0; -#X connect 12 0 5 1; -#X connect 12 0 35 0; -#X connect 13 0 3 0; -#X connect 14 0 3 0; -#X connect 15 0 16 0; -#X connect 18 0 3 0; -#X connect 19 0 3 0; -#X connect 20 0 3 0; -#X connect 21 0 3 0; -#X connect 22 0 4 0; -#X connect 23 0 3 0; -#X connect 35 0 3 0; -#X connect 36 0 3 0; -#X connect 37 0 5 1; -#X connect 37 0 35 0; -#X connect 41 0 3 0; -#X connect 42 0 5 1; -#X connect 42 0 35 0; -#X connect 46 0 5 1; -#X connect 46 0 35 0; -#X connect 47 0 5 1; -#X connect 47 0 35 0; -#X connect 51 0 35 0; -#X connect 51 0 5 1; diff --git a/Patches/16.example-PeRColate.pd b/Patches/16.example-PeRColate.pd new file mode 100644 index 0000000..3113edd --- /dev/null +++ b/Patches/16.example-PeRColate.pd @@ -0,0 +1,96 @@ +#N canvas 230 1 794 688 10; +#X obj 11 41 fs.main; +#X msg 11 11 6001; +#X msg 62 12 reset; +#X obj 70 284 fs.frame; +#X obj 70 566 fs.frame; +#X obj 70 476 fs.copy; +#X text 168 301 plugins can also be copy operations; +#X text 69 590 note: 16 bit display is way faster than 24 or 32 in +my machine \, so i recommend trying out which one performs best.; +#X msg 70 61 virvezoom.jpg; +#X obj 70 38 init; +#X obj 199 520 init; +#X msg 199 542 291 x 325 \, 0 + 370; +#X msg 167 349 eclipse02 200 100 50 8 8; +#X msg 178 148 traffic 1 0.8 0.9 0.75 0.51 0.2 0.12 0.1 0.7; +#X msg 179 174 modgain 12 230 50; +#X obj 608 108 r rgbseek_check; +#X floatatom 608 129 5 0 0; +#X text 197 15 PeRColate PLUGINS -- effects and copy operations; +#X msg 178 231 eclipse 200 100 50 8 8; +#X msg 179 61 cga 45 39 168; +#X msg 179 198 rgbavg 12 230 50 1; +#X msg 179 109 rgbseek 100 200 100 50 50 50 rgbseek_check; +#X msg 90 528 virvezoom.jpg; +#X msg 179 84 constrain 160 20 35 255 214 123; +#X text 649 128 result of rgbseek; +#X text 375 83 restrict image color to lie between boundaries; +#X text 298 197 averaging of rgb values (rgbavg ) +; +#X text 299 210 mode :: 1 .. 12 (0 = bypass); +#X text 319 231 produce colored 'patchwork carpet' \; -); +#X text 319 246 (eclipse ); +#X text 293 174 'modulo gain' :: add values to color and calc. mod +255; +#X text 438 107 seek for existance of color; +#X text 197 125 (rgbseek ); +#X text 449 148 tristimulus matrix operation; +#X text 450 161 parameters: 9 matrix values (floats); +#X msg 132 477 bang; +#X msg 25 227 bang; +#X msg 168 432 cutout 16 32 64 128 0; +#X text 304 431 rectangular cutout (cutout +); +#X text 164 475 bang fs.frame to get it processed..; +#X text 375 263 (eclipse03 +); +#X msg 180 263 eclipse03 200 100 50 8 8 0 1 23; +#X msg 168 402 rene 20 153 74 5 0 5 180 25 125; +#X text 366 394 chroma keying with transparency; +#X text 347 323 chroma keying (keyscreen ); +#X text 364 408 (rene + ); +#X msg 168 323 keyscreen 20 153 74 50 50 80; +#X msg 168 374 fromage 8 8 8 8 0; +#X text 280 374 create 'prison bars'; +#X text 325 453 averaging of rgb values (rgbavg ) +; +#X text 326 466 mode :: 1 .. 12 (0 = bypass); +#X msg 206 454 rgbavg 12 230 50 9; +#X text 64 644 get PeRColate at http://www.akustische-kunst.org/puredata/PeRColate +; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 5 0; +#X connect 5 0 4 0; +#X connect 8 0 3 0; +#X connect 9 0 8 0; +#X connect 10 0 11 0; +#X connect 11 0 4 0; +#X connect 12 0 5 1; +#X connect 12 0 35 0; +#X connect 13 0 3 0; +#X connect 14 0 3 0; +#X connect 15 0 16 0; +#X connect 18 0 3 0; +#X connect 19 0 3 0; +#X connect 20 0 3 0; +#X connect 21 0 3 0; +#X connect 22 0 4 0; +#X connect 23 0 3 0; +#X connect 35 0 3 0; +#X connect 36 0 3 0; +#X connect 37 0 5 1; +#X connect 37 0 35 0; +#X connect 41 0 3 0; +#X connect 42 0 5 1; +#X connect 42 0 35 0; +#X connect 46 0 5 1; +#X connect 46 0 35 0; +#X connect 47 0 5 1; +#X connect 47 0 35 0; +#X connect 51 0 35 0; +#X connect 51 0 5 1; diff --git a/Patches/17-01 example-PixelPack.pd b/Patches/17-01 example-PixelPack.pd deleted file mode 100644 index 81e0bce..0000000 --- a/Patches/17-01 example-PixelPack.pd +++ /dev/null @@ -1,8 +0,0 @@ -#N canvas 190 88 660 329 12; -#X text 25 18 PixelPack :: examples and help; -#X text 130 47 PixelPack contains several objects that would just overcrowd -a single helpfile. thus I've splitted them into a few categories:; -#X text 250 135 note: uses fs.layermode.pd perform the effects; -#X text 130 116 layer modes :: example-PixelPack-layermodes.pd; -#X text 31 244 PixelPack can be found at: http://www.akustische-kunst.org/puredata/framestein -; diff --git a/Patches/17-01.example-PixelPack.pd b/Patches/17-01.example-PixelPack.pd new file mode 100644 index 0000000..81e0bce --- /dev/null +++ b/Patches/17-01.example-PixelPack.pd @@ -0,0 +1,8 @@ +#N canvas 190 88 660 329 12; +#X text 25 18 PixelPack :: examples and help; +#X text 130 47 PixelPack contains several objects that would just overcrowd +a single helpfile. thus I've splitted them into a few categories:; +#X text 250 135 note: uses fs.layermode.pd perform the effects; +#X text 130 116 layer modes :: example-PixelPack-layermodes.pd; +#X text 31 244 PixelPack can be found at: http://www.akustische-kunst.org/puredata/framestein +; diff --git a/Patches/17-02 example-PixelPack-layermodes.pd b/Patches/17-02 example-PixelPack-layermodes.pd deleted file mode 100644 index f3b37d5..0000000 --- a/Patches/17-02 example-PixelPack-layermodes.pd +++ /dev/null @@ -1,66 +0,0 @@ -#N canvas 9 10 1010 520 12; -#X obj 10 52 fs.main; -#X msg 10 23 6001; -#X msg 61 24 reset; -#X msg 159 206 597 + 108; -#X msg 393 166 815 + 109; -#X msg 347 397 696 + 342; -#X obj 160 39 fps 0; -#X floatatom 217 41 4 0 0; -#X msg 195 94 next \, bang; -#X msg 11 126 next \, bang; -#X obj 159 179 init; -#X obj 393 144 init; -#X obj 347 370 init; -#X text 682 44 drag and drop your videos here; -#X text 748 291 the result; -#X obj 160 67 t b b; -#X text 119 17 frame rate. start with something modest \, like 1; -#X obj 11 153 fs.framed example-PixelPack-layermodes; -#X obj 195 120 fs.framed example-PixelPack-layermodes; -#X obj 33 368 fs.framed example-PixelPack-layermodes; -#X obj 150 330 fs.layermode; -#X text 149 416 note: this examples is a variation of fs.blend.; -#X msg 300 194 difference; -#X msg 300 218 multiply; -#X msg 300 243 softlight; -#X msg 398 244 overlay; -#X msg 398 268 darken; -#X msg 398 292 lighten; -#X text 401 193 choose one of the; -#X text 400 209 layer modes !; -#X msg 398 315 screen; -#X text 148 447 on my machine (1.8 GHz P4) I manage to get about 5fps -when using full PAL resolution DV videos. take this as a guideline... -(and buy a faster computer \; -); -#X obj 217 67 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --1; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 17 0; -#X connect 4 0 18 0; -#X connect 5 0 19 0; -#X connect 6 0 15 0; -#X connect 7 0 6 0; -#X connect 8 0 18 0; -#X connect 9 0 17 0; -#X connect 10 0 3 0; -#X connect 11 0 4 0; -#X connect 12 0 5 0; -#X connect 15 0 9 0; -#X connect 15 1 8 0; -#X connect 17 0 20 0; -#X connect 17 2 3 0; -#X connect 18 0 20 1; -#X connect 18 2 4 0; -#X connect 19 2 5 0; -#X connect 20 0 19 0; -#X connect 22 0 20 2; -#X connect 23 0 20 2; -#X connect 24 0 20 2; -#X connect 25 0 20 2; -#X connect 26 0 20 2; -#X connect 27 0 20 2; -#X connect 30 0 20 2; -#X connect 32 0 15 0; diff --git a/Patches/17-02.example-PixelPack-layermodes.pd b/Patches/17-02.example-PixelPack-layermodes.pd new file mode 100644 index 0000000..f3b37d5 --- /dev/null +++ b/Patches/17-02.example-PixelPack-layermodes.pd @@ -0,0 +1,66 @@ +#N canvas 9 10 1010 520 12; +#X obj 10 52 fs.main; +#X msg 10 23 6001; +#X msg 61 24 reset; +#X msg 159 206 597 + 108; +#X msg 393 166 815 + 109; +#X msg 347 397 696 + 342; +#X obj 160 39 fps 0; +#X floatatom 217 41 4 0 0; +#X msg 195 94 next \, bang; +#X msg 11 126 next \, bang; +#X obj 159 179 init; +#X obj 393 144 init; +#X obj 347 370 init; +#X text 682 44 drag and drop your videos here; +#X text 748 291 the result; +#X obj 160 67 t b b; +#X text 119 17 frame rate. start with something modest \, like 1; +#X obj 11 153 fs.framed example-PixelPack-layermodes; +#X obj 195 120 fs.framed example-PixelPack-layermodes; +#X obj 33 368 fs.framed example-PixelPack-layermodes; +#X obj 150 330 fs.layermode; +#X text 149 416 note: this examples is a variation of fs.blend.; +#X msg 300 194 difference; +#X msg 300 218 multiply; +#X msg 300 243 softlight; +#X msg 398 244 overlay; +#X msg 398 268 darken; +#X msg 398 292 lighten; +#X text 401 193 choose one of the; +#X text 400 209 layer modes !; +#X msg 398 315 screen; +#X text 148 447 on my machine (1.8 GHz P4) I manage to get about 5fps +when using full PAL resolution DV videos. take this as a guideline... +(and buy a faster computer \; -); +#X obj 217 67 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 17 0; +#X connect 4 0 18 0; +#X connect 5 0 19 0; +#X connect 6 0 15 0; +#X connect 7 0 6 0; +#X connect 8 0 18 0; +#X connect 9 0 17 0; +#X connect 10 0 3 0; +#X connect 11 0 4 0; +#X connect 12 0 5 0; +#X connect 15 0 9 0; +#X connect 15 1 8 0; +#X connect 17 0 20 0; +#X connect 17 2 3 0; +#X connect 18 0 20 1; +#X connect 18 2 4 0; +#X connect 19 2 5 0; +#X connect 20 0 19 0; +#X connect 22 0 20 2; +#X connect 23 0 20 2; +#X connect 24 0 20 2; +#X connect 25 0 20 2; +#X connect 26 0 20 2; +#X connect 27 0 20 2; +#X connect 30 0 20 2; +#X connect 32 0 15 0; diff --git a/Patches/17-03 example-PixelPack-overview.pd b/Patches/17-03 example-PixelPack-overview.pd deleted file mode 100644 index 1b2214c..0000000 --- a/Patches/17-03 example-PixelPack-overview.pd +++ /dev/null @@ -1,70 +0,0 @@ -#N canvas 59 1 803 627 10; -#X obj 11 41 fs.main; -#X msg 11 11 6001; -#X msg 62 12 reset; -#X obj 70 284 fs.frame; -#X obj 70 545 fs.frame; -#X obj 70 476 fs.copy; -#X text 168 301 plugins can also be copy operations; -#X text 74 574 note: 16 bit display is way faster than 24 or 32 in -my machine \, so i recommend trying out which one performs best.; -#X obj 70 38 init; -#X obj 199 499 init; -#X msg 199 521 291 x 325 \, 0 + 370; -#X floatatom 502 374 5 0 0; -#X msg 111 500 virvezoom.jpg; -#X msg 127 476 bang; -#X msg 25 227 bang; -#X obj 502 353 r pixcount; -#X text 181 372 compare ) -; -#X msg 162 356 compare 100 200 100 50 150 50 pixcount; -#X msg 160 97 convolution -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 30 -1 --1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 6 0; -#X text 163 76 convolution as sharpen filter; -#X msg 159 147 convolution 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 -1 1 1 1 1 25 0; -#X text 163 129 convolution as blurr filter; -#X msg 160 192 convolution -1 -1 -1 -1 0 -1 -1 0 0 1 -1 0 0 0 1 -1 -0 0 2 1 0 1 1 1 1 1 0; -#X text 543 373 number of pixels with identical colors; -#X text 181 385 replces identical pixels with secified color; -#X msg 158 233 convolution 10 10 10 10 10 10 10 10 10 10 10 10 10 10 -10 10 10 10 10 10 10 10 10 10 10 3 -9990; -#X msg 163 277 deinterlace 1; -#X msg 144 324 darken; -#X msg 180 441 shadowcaster 80 80 160 320 36 100 100 100; -#X msg 147 52 shadowcaster 80 80 160 320 36 20 10 50; -#X msg 181 410 interlace; -#X text 197 322 for more layer modes see example-PixelPack-layermodes.pd! -; -#X text 251 411 interlace two images; -#X text 442 441 cutout with shadow; -#X text 393 51 cutout and move with shadow; -#X text 197 15 PixelPack PLUGINS -- effects and copy operations; -#X msg 70 61 virvezoom.jpg; -#X connect 1 0 0 0; -#X connect 1 0 2 0; -#X connect 2 0 0 1; -#X connect 3 0 5 0; -#X connect 5 0 4 0; -#X connect 8 0 36 0; -#X connect 9 0 10 0; -#X connect 10 0 4 0; -#X connect 12 0 4 0; -#X connect 13 0 3 0; -#X connect 14 0 3 0; -#X connect 15 0 11 0; -#X connect 17 0 13 0; -#X connect 17 0 5 1; -#X connect 18 0 3 0; -#X connect 20 0 3 0; -#X connect 22 0 3 0; -#X connect 25 0 3 0; -#X connect 26 0 3 0; -#X connect 27 0 13 0; -#X connect 27 0 5 1; -#X connect 28 0 5 1; -#X connect 29 0 3 0; -#X connect 30 0 5 1; -#X connect 36 0 3 0; diff --git a/Patches/17-03.example-PixelPack-overview.pd b/Patches/17-03.example-PixelPack-overview.pd new file mode 100644 index 0000000..1b2214c --- /dev/null +++ b/Patches/17-03.example-PixelPack-overview.pd @@ -0,0 +1,70 @@ +#N canvas 59 1 803 627 10; +#X obj 11 41 fs.main; +#X msg 11 11 6001; +#X msg 62 12 reset; +#X obj 70 284 fs.frame; +#X obj 70 545 fs.frame; +#X obj 70 476 fs.copy; +#X text 168 301 plugins can also be copy operations; +#X text 74 574 note: 16 bit display is way faster than 24 or 32 in +my machine \, so i recommend trying out which one performs best.; +#X obj 70 38 init; +#X obj 199 499 init; +#X msg 199 521 291 x 325 \, 0 + 370; +#X floatatom 502 374 5 0 0; +#X msg 111 500 virvezoom.jpg; +#X msg 127 476 bang; +#X msg 25 227 bang; +#X obj 502 353 r pixcount; +#X text 181 372 compare ) +; +#X msg 162 356 compare 100 200 100 50 150 50 pixcount; +#X msg 160 97 convolution -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 30 -1 +-1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 6 0; +#X text 163 76 convolution as sharpen filter; +#X msg 159 147 convolution 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 +1 1 1 1 1 25 0; +#X text 163 129 convolution as blurr filter; +#X msg 160 192 convolution -1 -1 -1 -1 0 -1 -1 0 0 1 -1 0 0 0 1 -1 +0 0 2 1 0 1 1 1 1 1 0; +#X text 543 373 number of pixels with identical colors; +#X text 181 385 replces identical pixels with secified color; +#X msg 158 233 convolution 10 10 10 10 10 10 10 10 10 10 10 10 10 10 +10 10 10 10 10 10 10 10 10 10 10 3 -9990; +#X msg 163 277 deinterlace 1; +#X msg 144 324 darken; +#X msg 180 441 shadowcaster 80 80 160 320 36 100 100 100; +#X msg 147 52 shadowcaster 80 80 160 320 36 20 10 50; +#X msg 181 410 interlace; +#X text 197 322 for more layer modes see example-PixelPack-layermodes.pd! +; +#X text 251 411 interlace two images; +#X text 442 441 cutout with shadow; +#X text 393 51 cutout and move with shadow; +#X text 197 15 PixelPack PLUGINS -- effects and copy operations; +#X msg 70 61 virvezoom.jpg; +#X connect 1 0 0 0; +#X connect 1 0 2 0; +#X connect 2 0 0 1; +#X connect 3 0 5 0; +#X connect 5 0 4 0; +#X connect 8 0 36 0; +#X connect 9 0 10 0; +#X connect 10 0 4 0; +#X connect 12 0 4 0; +#X connect 13 0 3 0; +#X connect 14 0 3 0; +#X connect 15 0 11 0; +#X connect 17 0 13 0; +#X connect 17 0 5 1; +#X connect 18 0 3 0; +#X connect 20 0 3 0; +#X connect 22 0 3 0; +#X connect 25 0 3 0; +#X connect 26 0 3 0; +#X connect 27 0 13 0; +#X connect 27 0 5 1; +#X connect 28 0 5 1; +#X connect 29 0 3 0; +#X connect 30 0 5 1; +#X connect 36 0 3 0; diff --git a/Patches/40 The Harmon.pd b/Patches/40 The Harmon.pd deleted file mode 100644 index bc20773..0000000 --- a/Patches/40 The Harmon.pd +++ /dev/null @@ -1,60 +0,0 @@ -#N canvas 279 9 641 655 12; -#X floatatom 257 598 4 0 0; -#X floatatom 297 598 4 0 0; -#X floatatom 338 598 4 0 0; -#X obj 257 566 unpack f f f; -#X obj 173 528 fs.rgb; -#N canvas 0 0 298 398 beeper 0; -#X obj 90 56 inlet; -#X obj 91 92 unpack f f f; -#X obj 171 130 *; -#X obj 123 252 osc~; -#X obj 155 170 / 256; -#X obj 86 132 / 256; -#X obj 123 203 *; -#X obj 117 322 dac~; -#X obj 127 284 *~ 0.1; -#X obj 85 161 * 20000; -#X obj 196 243 / 256; -#X obj 200 332 * 0.1; -#X connect 0 0 1 0; -#X connect 1 0 5 0; -#X connect 1 0 10 0; -#X connect 1 1 2 0; -#X connect 1 2 2 1; -#X connect 2 0 4 0; -#X connect 3 0 8 0; -#X connect 4 0 6 0; -#X connect 5 0 9 0; -#X connect 6 0 3 0; -#X connect 8 0 7 0; -#X connect 8 0 7 1; -#X connect 9 0 6 1; -#X connect 10 0 11 0; -#X connect 11 0 8 1; -#X restore 173 566 pd beeper; -#X msg 33 410 \; pd dsp 1; -#X msg 33 448 \; pd dsp 0; -#X obj 173 408 init; -#X obj 11 40 fs.main; -#X msg 11 13 6001; -#X msg 53 13 reset; -#X text 32 382 Play the harmon! (scrub the image with mouse); -#X obj 173 456 fs.framed Harmon 115+70; -#X msg 173 432 HARMON.JPG \, mousetrack_1 \, display 390x327 \, bang -; -#X obj 262 482 t b l; -#X connect 3 0 0 0; -#X connect 3 1 1 0; -#X connect 3 2 2 0; -#X connect 4 0 3 0; -#X connect 4 0 5 0; -#X connect 8 0 14 0; -#X connect 10 0 9 0; -#X connect 10 0 11 0; -#X connect 11 0 9 1; -#X connect 13 0 4 0; -#X connect 13 1 15 0; -#X connect 14 0 13 0; -#X connect 15 0 4 0; -#X connect 15 1 4 1; diff --git a/Patches/40.The_Harmon.pd b/Patches/40.The_Harmon.pd new file mode 100644 index 0000000..bc20773 --- /dev/null +++ b/Patches/40.The_Harmon.pd @@ -0,0 +1,60 @@ +#N canvas 279 9 641 655 12; +#X floatatom 257 598 4 0 0; +#X floatatom 297 598 4 0 0; +#X floatatom 338 598 4 0 0; +#X obj 257 566 unpack f f f; +#X obj 173 528 fs.rgb; +#N canvas 0 0 298 398 beeper 0; +#X obj 90 56 inlet; +#X obj 91 92 unpack f f f; +#X obj 171 130 *; +#X obj 123 252 osc~; +#X obj 155 170 / 256; +#X obj 86 132 / 256; +#X obj 123 203 *; +#X obj 117 322 dac~; +#X obj 127 284 *~ 0.1; +#X obj 85 161 * 20000; +#X obj 196 243 / 256; +#X obj 200 332 * 0.1; +#X connect 0 0 1 0; +#X connect 1 0 5 0; +#X connect 1 0 10 0; +#X connect 1 1 2 0; +#X connect 1 2 2 1; +#X connect 2 0 4 0; +#X connect 3 0 8 0; +#X connect 4 0 6 0; +#X connect 5 0 9 0; +#X connect 6 0 3 0; +#X connect 8 0 7 0; +#X connect 8 0 7 1; +#X connect 9 0 6 1; +#X connect 10 0 11 0; +#X connect 11 0 8 1; +#X restore 173 566 pd beeper; +#X msg 33 410 \; pd dsp 1; +#X msg 33 448 \; pd dsp 0; +#X obj 173 408 init; +#X obj 11 40 fs.main; +#X msg 11 13 6001; +#X msg 53 13 reset; +#X text 32 382 Play the harmon! (scrub the image with mouse); +#X obj 173 456 fs.framed Harmon 115+70; +#X msg 173 432 HARMON.JPG \, mousetrack_1 \, display 390x327 \, bang +; +#X obj 262 482 t b l; +#X connect 3 0 0 0; +#X connect 3 1 1 0; +#X connect 3 2 2 0; +#X connect 4 0 3 0; +#X connect 4 0 5 0; +#X connect 8 0 14 0; +#X connect 10 0 9 0; +#X connect 10 0 11 0; +#X connect 11 0 9 1; +#X connect 13 0 4 0; +#X connect 13 1 15 0; +#X connect 14 0 13 0; +#X connect 15 0 4 0; +#X connect 15 1 4 1; diff --git a/Patches/50 example-externals.pd b/Patches/50 example-externals.pd deleted file mode 100644 index cf776b0..0000000 --- a/Patches/50 example-externals.pd +++ /dev/null @@ -1,342 +0,0 @@ -#N canvas 438 30 549 595 12; -#N canvas 148 3 738 667 vframe 0; -#X obj 34 275 fs.frame; -#X obj 55 377 vimport; -#X obj 221 427 fs.frame; -#X msg 244 398 320x240; -#X msg 253 178 bang; -#X text 302 176 set vframe to import to; -#X text 26 509 Connect vframe directly to fs.frame to display it with -a bang.; -#X msg 253 206 bang; -#X text 302 198 import image \, and bang vframe again to display it -; -#X obj 150 331 vframe 640 480; -#X msg 34 245 320x240 \, noize \, colortv; -#X text 26 553 Here \, vframe is bigger (640x480) than the two fs.frames -(320x240). This is okay - as long as the fs.frames you import from -and to are of the same size \, the image will be right. If you import -to fs.frame of a different size than the fs.frame you imported from --> garbage.; -#X msg 349 423 dock vframe \, 330+260; -#X obj 34 220 init; -#X obj 244 373 init; -#X text 17 14 vframe works much like fs.frame \, except the image is -in Pure Data's memory space. This allows converting images to signals -\, for example.; -#X text 16 74 args: width and height.; -#X text 18 103 vframe has no image loading or display functionality. -Images can be imported to and from fs.frame:; -#X connect 0 0 1 0; -#X connect 3 0 2 0; -#X connect 4 0 9 0; -#X connect 7 0 0 0; -#X connect 7 0 9 0; -#X connect 9 0 1 1; -#X connect 9 0 2 0; -#X connect 10 0 0 0; -#X connect 12 0 2 0; -#X connect 13 0 10 0; -#X connect 14 0 3 0; -#X restore 64 216 pd vframe; -#X obj 67 122 fs.main; -#X msg 67 86 6001; -#X text 160 215 basic image container; -#N canvas 256 206 620 420 vplugin 0; -#X obj 94 226 vframe; -#X obj 143 156 vplugin; -#X text 13 10 vframe can execute Framestein-plugins. vplugin has the -path to these plugins - open it up \, correct the path \, and try it. -; -#X msg 161 99 noize; -#X msg 218 99 colortv; -#X obj 94 286 fs.frame; -#X msg 201 240 dock vplugin \, 200+235; -#X connect 0 0 5 0; -#X connect 1 0 0 0; -#X connect 3 0 1 0; -#X connect 4 0 1 0; -#X connect 6 0 5 0; -#X restore 64 262 pd vplugin; -#X text 158 261 execute Framestein-plugins; -#N canvas 187 -3 642 679 vcopy 0; -#X obj 87 204 vcopy; -#X msg 240 145 tile \$1; -#X floatatom 240 116 5 0 0; -#X floatatom 240 176 5 0 0; -#X msg 240 201 xbend \$1; -#X obj 87 341 fs.frame; -#X obj 114 61 r vcopyexample; -#X obj 87 129 vref; -#X msg 87 98 bang; -#X floatatom 97 159 5 0 0; -#X msg 167 341 320x240; -#X obj 87 294 vframe 320 240; -#X msg 240 283 xbend \$1 \$2; -#X obj 240 258 pack f f; -#X floatatom 240 233 5 0 0; -#X floatatom 299 233 5 0 0; -#X msg 311 259 bang; -#X obj 386 201 random 320; -#X obj 386 227 random 320; -#X floatatom 386 113 5 0 0; -#X msg 118 379 dock vcopy \, 90+400; -#X text 17 9 Some plugins operate on two images. This is done with -vcopy:; -#X obj 167 315 init; -#X obj 386 139 fps 0.25; -#X connect 0 0 11 0; -#X connect 1 0 0 1; -#X connect 1 0 8 0; -#X connect 2 0 1 0; -#X connect 3 0 4 0; -#X connect 4 0 0 1; -#X connect 4 0 8 0; -#X connect 6 0 7 1; -#X connect 7 0 0 0; -#X connect 7 0 9 0; -#X connect 8 0 7 0; -#X connect 10 0 5 0; -#X connect 11 0 5 0; -#X connect 12 0 0 1; -#X connect 12 0 8 0; -#X connect 13 0 12 0; -#X connect 14 0 13 0; -#X connect 15 0 13 1; -#X connect 15 0 16 0; -#X connect 16 0 13 0; -#X connect 17 0 14 0; -#X connect 18 0 15 0; -#X connect 19 0 23 0; -#X connect 20 0 5 0; -#X connect 22 0 10 0; -#X connect 23 0 17 0; -#X connect 23 0 18 0; -#X restore 64 310 pd vcopy; -#X text 159 309 execute plugins that use two images; -#N canvas 148 7 833 572 vsig~ 0; -#X text 14 9 vsig~: convert image to signal; -#X obj 201 140 vframe; -#X obj 209 182 vsig~; -#X obj 209 446 vsnapshot~; -#X obj 257 185 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 --1; -#X obj 201 109 vplugin; -#X obj 284 413 vframe; -#X msg 201 75 noize \, colortv; -#X msg 378 99 \; pd dsp 1; -#X obj 209 485 fs.frame; -#X msg 284 387 bang; -#X text 402 204 - image signal; -#X text 403 228 - sync signal; -#X text 403 253 - bang when bottomright of image is reached; -#X text 383 302 vsnapshot~ inlets:; -#X text 382 180 vsig~ outlets:; -#X text 402 330 - image signal; -#X text 403 354 - sync signal; -#X text 403 380 - vframe to write image to; -#X obj 45 289 dac~; -#X floatatom 89 255 5 0 0; -#X text 83 289 sounds great!; -#X obj 45 255 *~ 0; -#X text 14 25 vsnapshot~: convert signal to image; -#X msg 273 102 black; -#X obj 44 370 osc~ 2; -#X obj 44 397 *~ 0; -#X floatatom 86 397 5 0 0; -#X text 100 372 looks great!; -#X floatatom 44 345 5 0 0; -#X msg 44 485 dock vsig~ \, 12+87; -#X obj 378 72 init; -#X obj 284 361 init; -#X connect 1 0 2 0; -#X connect 2 0 22 0; -#X connect 2 0 3 0; -#X connect 2 1 3 1; -#X connect 2 2 4 0; -#X connect 3 0 9 0; -#X connect 5 0 1 0; -#X connect 6 0 3 2; -#X connect 7 0 5 0; -#X connect 10 0 6 0; -#X connect 20 0 22 1; -#X connect 22 0 19 0; -#X connect 22 0 19 1; -#X connect 24 0 5 0; -#X connect 25 0 26 0; -#X connect 26 0 3 0; -#X connect 27 0 26 1; -#X connect 29 0 25 0; -#X connect 30 0 9 0; -#X connect 31 0 8 0; -#X connect 31 0 7 0; -#X connect 32 0 10 0; -#X restore 64 360 pd vsig~ and vsnapshot~; -#X text 257 359 convert image to signal and back; -#X text 232 440 separate red \, green and blue channels; -#X text 159 144 ... click on "dock" on subpatches.; -#X msg 118 86 reset; -#X msg 339 82 minimizeall; -#X text 159 122 start by clicking reset... and minimizeall; -#N canvas 233 -13 702 662 vframeread~ 0; -#X text 11 7 vframeread~ uses a sync-signal to read the image:; -#X obj 212 308 vframe; -#X obj 161 337 vimport; -#X obj 71 297 fs.frame; -#X obj 71 326 fs.copy; -#X obj 71 353 fs.frame; -#X msg 212 280 bang; -#X obj 212 251 reset; -#X msg 71 116 dock vframeread~ \, 10+100; -#X text 13 47 drop a movie (.avi) here...; -#X text 82 96 click here; -#X obj 361 92 vframeread~; -#X obj 361 312 vsnapshot~; -#X obj 14 307 fps 5; -#X floatatom 53 427 5 0 0; -#X msg 81 270 next \, bang; -#X obj 361 372 fs.frame; -#X msg 361 469 dock vframeread~ \, 330+440; -#X text 380 445 click here; -#X obj 436 287 vframe; -#X obj 436 237 reset; -#X msg 436 262 bang; -#X obj 361 344 vref; -#X floatatom 482 130 5 0 0; -#X obj 482 159 phasor~ 1; -#X obj 491 259 vplugin; -#X msg 491 235 black; -#X text 107 426 set framerate; -#X msg 482 104 14.9; -#X obj 482 79 reset; -#X text 534 130 see how it's done; -#X text 17 595 This gives a better frame-rate \, compromizing the image -quality..; -#X obj 361 204 *~ 1; -#X floatatom 388 179 5 0 0; -#X msg 87 398 25; -#X msg 524 104 25.19; -#X msg 388 152 1; -#X msg 419 152 -1; -#X msg 53 398 15; -#X connect 1 0 2 1; -#X connect 1 0 11 0; -#X connect 3 0 4 0; -#X connect 4 0 5 0; -#X connect 5 0 2 0; -#X connect 6 0 1 0; -#X connect 6 0 5 0; -#X connect 7 0 6 0; -#X connect 8 0 3 0; -#X connect 11 0 32 0; -#X connect 12 0 22 1; -#X connect 13 0 15 0; -#X connect 13 0 5 0; -#X connect 13 0 22 0; -#X connect 14 0 13 0; -#X connect 15 0 3 0; -#X connect 17 0 16 0; -#X connect 19 0 12 2; -#X connect 20 0 21 0; -#X connect 21 0 19 0; -#X connect 22 0 16 0; -#X connect 23 0 24 0; -#X connect 23 0 26 0; -#X connect 24 0 12 1; -#X connect 24 0 11 0; -#X connect 25 0 19 0; -#X connect 26 0 25 0; -#X connect 28 0 23 0; -#X connect 29 0 28 0; -#X connect 32 0 12 0; -#X connect 33 0 32 1; -#X connect 34 0 14 0; -#X connect 35 0 23 0; -#X connect 36 0 33 0; -#X connect 37 0 33 0; -#X connect 38 0 14 0; -#X restore 64 487 pd vframeread~; -#X text 195 486 read image with a sync-signal; -#X obj 339 57 init; -#X text 65 530 vdrawarray is documented on example-vdrawarray.; -#X text 21 21 Framestein v* family of video externals; -#N canvas 239 28 735 584 vrgb~ 0; -#X obj 389 140 vframe 320 240; -#X obj 389 171 vsig~; -#X text 9 7 vrgb~: separate red \, green and blue channels; -#X obj 240 239 vimport; -#X obj 181 188 fs.frame; -#X obj 188 77 reset; -#X obj 188 102 t b b b; -#X msg 234 77 bang; -#X msg 277 77 \; pd dsp 1; -#X obj 435 174 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 --1; -#X obj 389 221 vrgb~; -#X obj 389 345 vsnapshot~; -#X obj 482 327 vframe 320 240; -#X obj 482 277 reset; -#X msg 482 302 bang; -#X obj 389 387 fs.frame; -#X msg 482 379 320x240; -#X obj 427 269 *~ 1; -#X obj 571 88 phasor~ 1; -#X obj 571 112 avg~; -#X obj 571 141 < 0.5; -#X obj 571 166 * -1; -#X obj 616 141 >= 0.5; -#X obj 616 166 * 1; -#X obj 571 191 +; -#X floatatom 571 216 5 0 0; -#X floatatom 571 63 5 0 0; -#X msg 367 429 dock vrgb~ \, 25+300; -#X obj 567 360 s vcopyexample; -#X obj 389 304 vcolor~; -#X obj 389 269 *~ 1; -#X text 8 26 vcolor~: merge red \, green and blue channels; -#X msg 41 152 yska320x240.jpg \, bang; -#X connect 0 0 1 0; -#X connect 0 0 3 1; -#X connect 1 0 10 0; -#X connect 1 1 11 1; -#X connect 1 2 9 0; -#X connect 4 0 3 0; -#X connect 5 0 6 0; -#X connect 5 0 7 0; -#X connect 6 0 0 0; -#X connect 6 1 32 0; -#X connect 6 2 0 0; -#X connect 7 0 6 0; -#X connect 7 0 8 0; -#X connect 7 0 6 0; -#X connect 10 0 30 0; -#X connect 10 1 17 0; -#X connect 11 0 15 0; -#X connect 12 0 11 2; -#X connect 12 0 28 0; -#X connect 13 0 14 0; -#X connect 14 0 12 0; -#X connect 14 0 16 0; -#X connect 16 0 15 0; -#X connect 17 0 29 1; -#X connect 18 0 19 0; -#X connect 19 0 22 0; -#X connect 19 0 20 0; -#X connect 20 0 21 0; -#X connect 21 0 24 0; -#X connect 22 0 23 0; -#X connect 23 0 24 1; -#X connect 24 0 25 0; -#X connect 25 0 17 1; -#X connect 25 0 30 1; -#X connect 26 0 18 0; -#X connect 27 0 15 0; -#X connect 29 0 11 0; -#X connect 30 0 29 0; -#X connect 32 0 4 0; -#X restore 64 440 pd vrgb~ and vcolor~; -#X connect 2 0 1 0; -#X connect 2 0 12 0; -#X connect 12 0 1 1; -#X connect 13 0 1 1; -#X connect 17 0 13 0; diff --git a/Patches/50.example-externals.pd b/Patches/50.example-externals.pd new file mode 100644 index 0000000..cf776b0 --- /dev/null +++ b/Patches/50.example-externals.pd @@ -0,0 +1,342 @@ +#N canvas 438 30 549 595 12; +#N canvas 148 3 738 667 vframe 0; +#X obj 34 275 fs.frame; +#X obj 55 377 vimport; +#X obj 221 427 fs.frame; +#X msg 244 398 320x240; +#X msg 253 178 bang; +#X text 302 176 set vframe to import to; +#X text 26 509 Connect vframe directly to fs.frame to display it with +a bang.; +#X msg 253 206 bang; +#X text 302 198 import image \, and bang vframe again to display it +; +#X obj 150 331 vframe 640 480; +#X msg 34 245 320x240 \, noize \, colortv; +#X text 26 553 Here \, vframe is bigger (640x480) than the two fs.frames +(320x240). This is okay - as long as the fs.frames you import from +and to are of the same size \, the image will be right. If you import +to fs.frame of a different size than the fs.frame you imported from +-> garbage.; +#X msg 349 423 dock vframe \, 330+260; +#X obj 34 220 init; +#X obj 244 373 init; +#X text 17 14 vframe works much like fs.frame \, except the image is +in Pure Data's memory space. This allows converting images to signals +\, for example.; +#X text 16 74 args: width and height.; +#X text 18 103 vframe has no image loading or display functionality. +Images can be imported to and from fs.frame:; +#X connect 0 0 1 0; +#X connect 3 0 2 0; +#X connect 4 0 9 0; +#X connect 7 0 0 0; +#X connect 7 0 9 0; +#X connect 9 0 1 1; +#X connect 9 0 2 0; +#X connect 10 0 0 0; +#X connect 12 0 2 0; +#X connect 13 0 10 0; +#X connect 14 0 3 0; +#X restore 64 216 pd vframe; +#X obj 67 122 fs.main; +#X msg 67 86 6001; +#X text 160 215 basic image container; +#N canvas 256 206 620 420 vplugin 0; +#X obj 94 226 vframe; +#X obj 143 156 vplugin; +#X text 13 10 vframe can execute Framestein-plugins. vplugin has the +path to these plugins - open it up \, correct the path \, and try it. +; +#X msg 161 99 noize; +#X msg 218 99 colortv; +#X obj 94 286 fs.frame; +#X msg 201 240 dock vplugin \, 200+235; +#X connect 0 0 5 0; +#X connect 1 0 0 0; +#X connect 3 0 1 0; +#X connect 4 0 1 0; +#X connect 6 0 5 0; +#X restore 64 262 pd vplugin; +#X text 158 261 execute Framestein-plugins; +#N canvas 187 -3 642 679 vcopy 0; +#X obj 87 204 vcopy; +#X msg 240 145 tile \$1; +#X floatatom 240 116 5 0 0; +#X floatatom 240 176 5 0 0; +#X msg 240 201 xbend \$1; +#X obj 87 341 fs.frame; +#X obj 114 61 r vcopyexample; +#X obj 87 129 vref; +#X msg 87 98 bang; +#X floatatom 97 159 5 0 0; +#X msg 167 341 320x240; +#X obj 87 294 vframe 320 240; +#X msg 240 283 xbend \$1 \$2; +#X obj 240 258 pack f f; +#X floatatom 240 233 5 0 0; +#X floatatom 299 233 5 0 0; +#X msg 311 259 bang; +#X obj 386 201 random 320; +#X obj 386 227 random 320; +#X floatatom 386 113 5 0 0; +#X msg 118 379 dock vcopy \, 90+400; +#X text 17 9 Some plugins operate on two images. This is done with +vcopy:; +#X obj 167 315 init; +#X obj 386 139 fps 0.25; +#X connect 0 0 11 0; +#X connect 1 0 0 1; +#X connect 1 0 8 0; +#X connect 2 0 1 0; +#X connect 3 0 4 0; +#X connect 4 0 0 1; +#X connect 4 0 8 0; +#X connect 6 0 7 1; +#X connect 7 0 0 0; +#X connect 7 0 9 0; +#X connect 8 0 7 0; +#X connect 10 0 5 0; +#X connect 11 0 5 0; +#X connect 12 0 0 1; +#X connect 12 0 8 0; +#X connect 13 0 12 0; +#X connect 14 0 13 0; +#X connect 15 0 13 1; +#X connect 15 0 16 0; +#X connect 16 0 13 0; +#X connect 17 0 14 0; +#X connect 18 0 15 0; +#X connect 19 0 23 0; +#X connect 20 0 5 0; +#X connect 22 0 10 0; +#X connect 23 0 17 0; +#X connect 23 0 18 0; +#X restore 64 310 pd vcopy; +#X text 159 309 execute plugins that use two images; +#N canvas 148 7 833 572 vsig~ 0; +#X text 14 9 vsig~: convert image to signal; +#X obj 201 140 vframe; +#X obj 209 182 vsig~; +#X obj 209 446 vsnapshot~; +#X obj 257 185 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 +-1; +#X obj 201 109 vplugin; +#X obj 284 413 vframe; +#X msg 201 75 noize \, colortv; +#X msg 378 99 \; pd dsp 1; +#X obj 209 485 fs.frame; +#X msg 284 387 bang; +#X text 402 204 - image signal; +#X text 403 228 - sync signal; +#X text 403 253 - bang when bottomright of image is reached; +#X text 383 302 vsnapshot~ inlets:; +#X text 382 180 vsig~ outlets:; +#X text 402 330 - image signal; +#X text 403 354 - sync signal; +#X text 403 380 - vframe to write image to; +#X obj 45 289 dac~; +#X floatatom 89 255 5 0 0; +#X text 83 289 sounds great!; +#X obj 45 255 *~ 0; +#X text 14 25 vsnapshot~: convert signal to image; +#X msg 273 102 black; +#X obj 44 370 osc~ 2; +#X obj 44 397 *~ 0; +#X floatatom 86 397 5 0 0; +#X text 100 372 looks great!; +#X floatatom 44 345 5 0 0; +#X msg 44 485 dock vsig~ \, 12+87; +#X obj 378 72 init; +#X obj 284 361 init; +#X connect 1 0 2 0; +#X connect 2 0 22 0; +#X connect 2 0 3 0; +#X connect 2 1 3 1; +#X connect 2 2 4 0; +#X connect 3 0 9 0; +#X connect 5 0 1 0; +#X connect 6 0 3 2; +#X connect 7 0 5 0; +#X connect 10 0 6 0; +#X connect 20 0 22 1; +#X connect 22 0 19 0; +#X connect 22 0 19 1; +#X connect 24 0 5 0; +#X connect 25 0 26 0; +#X connect 26 0 3 0; +#X connect 27 0 26 1; +#X connect 29 0 25 0; +#X connect 30 0 9 0; +#X connect 31 0 8 0; +#X connect 31 0 7 0; +#X connect 32 0 10 0; +#X restore 64 360 pd vsig~ and vsnapshot~; +#X text 257 359 convert image to signal and back; +#X text 232 440 separate red \, green and blue channels; +#X text 159 144 ... click on "dock" on subpatches.; +#X msg 118 86 reset; +#X msg 339 82 minimizeall; +#X text 159 122 start by clicking reset... and minimizeall; +#N canvas 233 -13 702 662 vframeread~ 0; +#X text 11 7 vframeread~ uses a sync-signal to read the image:; +#X obj 212 308 vframe; +#X obj 161 337 vimport; +#X obj 71 297 fs.frame; +#X obj 71 326 fs.copy; +#X obj 71 353 fs.frame; +#X msg 212 280 bang; +#X obj 212 251 reset; +#X msg 71 116 dock vframeread~ \, 10+100; +#X text 13 47 drop a movie (.avi) here...; +#X text 82 96 click here; +#X obj 361 92 vframeread~; +#X obj 361 312 vsnapshot~; +#X obj 14 307 fps 5; +#X floatatom 53 427 5 0 0; +#X msg 81 270 next \, bang; +#X obj 361 372 fs.frame; +#X msg 361 469 dock vframeread~ \, 330+440; +#X text 380 445 click here; +#X obj 436 287 vframe; +#X obj 436 237 reset; +#X msg 436 262 bang; +#X obj 361 344 vref; +#X floatatom 482 130 5 0 0; +#X obj 482 159 phasor~ 1; +#X obj 491 259 vplugin; +#X msg 491 235 black; +#X text 107 426 set framerate; +#X msg 482 104 14.9; +#X obj 482 79 reset; +#X text 534 130 see how it's done; +#X text 17 595 This gives a better frame-rate \, compromizing the image +quality..; +#X obj 361 204 *~ 1; +#X floatatom 388 179 5 0 0; +#X msg 87 398 25; +#X msg 524 104 25.19; +#X msg 388 152 1; +#X msg 419 152 -1; +#X msg 53 398 15; +#X connect 1 0 2 1; +#X connect 1 0 11 0; +#X connect 3 0 4 0; +#X connect 4 0 5 0; +#X connect 5 0 2 0; +#X connect 6 0 1 0; +#X connect 6 0 5 0; +#X connect 7 0 6 0; +#X connect 8 0 3 0; +#X connect 11 0 32 0; +#X connect 12 0 22 1; +#X connect 13 0 15 0; +#X connect 13 0 5 0; +#X connect 13 0 22 0; +#X connect 14 0 13 0; +#X connect 15 0 3 0; +#X connect 17 0 16 0; +#X connect 19 0 12 2; +#X connect 20 0 21 0; +#X connect 21 0 19 0; +#X connect 22 0 16 0; +#X connect 23 0 24 0; +#X connect 23 0 26 0; +#X connect 24 0 12 1; +#X connect 24 0 11 0; +#X connect 25 0 19 0; +#X connect 26 0 25 0; +#X connect 28 0 23 0; +#X connect 29 0 28 0; +#X connect 32 0 12 0; +#X connect 33 0 32 1; +#X connect 34 0 14 0; +#X connect 35 0 23 0; +#X connect 36 0 33 0; +#X connect 37 0 33 0; +#X connect 38 0 14 0; +#X restore 64 487 pd vframeread~; +#X text 195 486 read image with a sync-signal; +#X obj 339 57 init; +#X text 65 530 vdrawarray is documented on example-vdrawarray.; +#X text 21 21 Framestein v* family of video externals; +#N canvas 239 28 735 584 vrgb~ 0; +#X obj 389 140 vframe 320 240; +#X obj 389 171 vsig~; +#X text 9 7 vrgb~: separate red \, green and blue channels; +#X obj 240 239 vimport; +#X obj 181 188 fs.frame; +#X obj 188 77 reset; +#X obj 188 102 t b b b; +#X msg 234 77 bang; +#X msg 277 77 \; pd dsp 1; +#X obj 435 174 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 +-1; +#X obj 389 221 vrgb~; +#X obj 389 345 vsnapshot~; +#X obj 482 327 vframe 320 240; +#X obj 482 277 reset; +#X msg 482 302 bang; +#X obj 389 387 fs.frame; +#X msg 482 379 320x240; +#X obj 427 269 *~ 1; +#X obj 571 88 phasor~ 1; +#X obj 571 112 avg~; +#X obj 571 141 < 0.5; +#X obj 571 166 * -1; +#X obj 616 141 >= 0.5; +#X obj 616 166 * 1; +#X obj 571 191 +; +#X floatatom 571 216 5 0 0; +#X floatatom 571 63 5 0 0; +#X msg 367 429 dock vrgb~ \, 25+300; +#X obj 567 360 s vcopyexample; +#X obj 389 304 vcolor~; +#X obj 389 269 *~ 1; +#X text 8 26 vcolor~: merge red \, green and blue channels; +#X msg 41 152 yska320x240.jpg \, bang; +#X connect 0 0 1 0; +#X connect 0 0 3 1; +#X connect 1 0 10 0; +#X connect 1 1 11 1; +#X connect 1 2 9 0; +#X connect 4 0 3 0; +#X connect 5 0 6 0; +#X connect 5 0 7 0; +#X connect 6 0 0 0; +#X connect 6 1 32 0; +#X connect 6 2 0 0; +#X connect 7 0 6 0; +#X connect 7 0 8 0; +#X connect 7 0 6 0; +#X connect 10 0 30 0; +#X connect 10 1 17 0; +#X connect 11 0 15 0; +#X connect 12 0 11 2; +#X connect 12 0 28 0; +#X connect 13 0 14 0; +#X connect 14 0 12 0; +#X connect 14 0 16 0; +#X connect 16 0 15 0; +#X connect 17 0 29 1; +#X connect 18 0 19 0; +#X connect 19 0 22 0; +#X connect 19 0 20 0; +#X connect 20 0 21 0; +#X connect 21 0 24 0; +#X connect 22 0 23 0; +#X connect 23 0 24 1; +#X connect 24 0 25 0; +#X connect 25 0 17 1; +#X connect 25 0 30 1; +#X connect 26 0 18 0; +#X connect 27 0 15 0; +#X connect 29 0 11 0; +#X connect 30 0 29 0; +#X connect 32 0 4 0; +#X restore 64 440 pd vrgb~ and vcolor~; +#X connect 2 0 1 0; +#X connect 2 0 12 0; +#X connect 12 0 1 1; +#X connect 13 0 1 1; +#X connect 17 0 13 0; -- cgit v1.2.1