aboutsummaryrefslogtreecommitdiff
path: root/Gem/pix_frei0r-help.pd
blob: 9d1895dbccd50a4edfb8844fa63ed94a760376b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
#N canvas 19 61 676 556 10;
#X declare -lib Gem;
#X text 482 18 GEM object;
#X obj 7 376 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 11 378 Inlets:;
#X text 11 478 Outlets:;
#X obj 8 340 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 17 342 Arguments:;
#X obj 8 56 cnv 15 430 280 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 451 58 Example:;
#X text 71 31 Class: pix object;
#X text 29 491 Outlet 1: gemlist;
#X text 22 392 Inlet 1: gemlist;
#X obj 13 512 cnv 15 410 30 empty empty empty 20 12 0 14 -260818 -66577
0;
#X text 50 12 Synopsis: [pix_frei0r];
#X text 63 353 <symbol>: the plugin to load;
#X text 13 72 This object allows you to load any Frei0r video-effect.
Frei0r is a minimalistic plugin API for realtime video effects.;
#X text 15 513 You can get more information as well as links to downloadable
plugin-packs at http://piksel.org/frei0r;
#X msg 455 330 gemList;
#X text 12 308 Plugins are searched in all the paths that Pd searches
for abstractions \, ...!;
#X text 28 56 Description: run a Frei0r effect;
#X obj 449 113 gemhead;
#X obj 448 77 cnv 15 200 280 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 514 340 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 0 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X msg 67 70 set destroy;
#X msg 132 112 create \, 1;
#X msg 198 112 destroy;
#X msg 156 71 set create;
#X obj 67 41 route create;
#X connect 2 0 7 0;
#X connect 3 0 1 0;
#X connect 4 0 0 0;
#X connect 5 0 0 0;
#X connect 6 0 1 0;
#X connect 7 0 3 0;
#X connect 7 0 4 0;
#X connect 7 1 6 0;
#X connect 7 1 5 0;
#X restore 519 379 pd gemwin;
#X msg 519 360 create;
#X text 515 339 Create window:;
#X obj 451 83 gemhead;
#X obj 451 342 square 3;
#X obj 451 320 pix_texture;
#X obj 451 151 pix_film;
#X obj 515 151 t f;
#X obj 464 103 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#N canvas 0 0 450 300 open 0;
#X obj 85 49 inlet;
#X obj 85 237 outlet;
#X obj 85 145 openpanel;
#X msg 85 179 open \$1;
#X msg 259 213 auto 1;
#X obj 268 179 loadbang;
#X connect 0 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 4 0 1 0;
#X connect 5 0 4 0;
#X restore 464 131 pd open;
#X text 505 77 open a supported;
#X text 506 88 movie-clip;
#X text 523 114 macOS: quicktime;
#X text 516 104 MS Windows: *.AVI;
#X text 523 124 linux: depends...;
#X obj 450 227 cnv 15 160 85 empty empty empty 20 12 0 14 -24198 -66577
0;
#X floatatom 567 241 5 0 0 0 - - -;
#X obj 463 241 hsl 100 15 0 1 0 0 empty empty xSize -2 -6 0 10 -262144
-1 -1 0 1;
#X floatatom 567 270 5 0 0 0 - - -;
#X obj 463 270 hsl 100 15 0 1 0 0 empty empty ySize -2 -6 0 10 -262144
-1 -1 0 1;
#X text 442 411 This example relies on;
#X obj 451 180 pix_rgba;
#X text 513 176 Frei0r plugins;
#X text 515 190 need RGBA images!;
#X obj 451 289 pix_frei0r pixeliz0r;
#X text 442 426 finding the "pixeliz0r" plugin;
#X text 445 457 plugin set) in Pd's search path;
#X text 443 441 (which is part of the official frei0r;
#X text 12 112 If you specify the plugin when creating the object (e.g
[pix_frei0r bw0r] or [pix_bw0r] \, the plugin is fixed and you cannot
change it (apart from deleting the object and creating a new one);
#X text 13 163 However \, if you only create an object [pix_frei0r]
(without specifying the plugin \, you will get a dynamic version \,
where you can load in a plugin using the "load" message.;
#X text 12 202 Most plugins have a number of parameters which you can
use to change the behaviour of the effect while it runs. For each parameter
exposed \, the [pix_frei0r] object will get one additional inlet \,
which can be used to modify the given parameter. Alternatively (e.g.
when using dynamic plugin instances) you can also use the parametername
or "#<num>" (starting from 1).;
#X text 13 284 Frei0r numerical parameters are supposed to be in the
range 0..1.;
#X text 21 453 Inlet 2..N (if applicable): <type>: depending on the
settable parameter;
#X text 22 406 Inlet 1: open <symbol>: load another plugin (if applicable)
;
#X text 22 419 Inlet 1: #<num> <value>: set parameter #<num> (starting
from 1);
#X text 22 441 Inlet 1: <name> <value>: set parameter given by <name>
;
#X obj 548 18 declare -lib Gem;
#X connect 22 0 23 0;
#X connect 23 0 22 0;
#X connect 25 0 28 0;
#X connect 27 0 26 0;
#X connect 28 0 43 0;
#X connect 28 2 29 0;
#X connect 29 0 28 1;
#X connect 30 0 31 0;
#X connect 31 0 28 0;
#X connect 38 0 46 1;
#X connect 39 0 38 0;
#X connect 40 0 46 2;
#X connect 41 0 40 0;
#X connect 43 0 46 0;
#X connect 46 0 27 0;