Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • jwilkes/purr-data
  • aggraef/purr-data
  • samthursfield/purr-data
  • prakhar/purr-data
  • yadu05/purr-data
  • NegiAkash890/purr-data
  • prateekpardeshi/purr-data
  • Shruti3004/purr-data
  • hidimpu/purr-data
  • Atseosi/purr-data
  • piyushjasaiwal/purr-data
  • deveshprasad/purr-data
  • skm_7/purr-data
  • sankt/purr-data
  • ashim_tom/purr-data
  • dineshsoni02/purr-data
  • chaitanya1-coder/purr-data
  • Nitish0007/purr-data
  • nitin/purr-data
  • shuvam09/purr-data
  • gabrielabittencourt/purr-data
  • sivasai/purr-data
  • flachyjoe/purr-data
  • ishankaler/purr-data
  • prateek/purr-data
  • RukshanJS/purr-data
  • rajatshrm648/purr-data
  • Srashti/purr-data
  • Paarth/purr-data
  • AniruddhaGawali/purr-data
  • brittneyjuliet/purr-data
  • prakharagarwal1/purr-data
  • Shreyanshpaliwalcmsmn/purr-data
  • k_amrut/purr-data
  • AyushAnand/purr-data
  • Va16hav07/purr-data
36 results
Show changes
Showing
with 1287 additions and 141 deletions
#N canvas 329 129 450 300 10;
#X obj 189 121 prepent;
#X text 73 61 [list prepend]--[list trim] shortcut;
......@@ -18,10 +18,10 @@ or playback;
1;
#X obj 36 229 print REC;
#X obj 119 249 print PLAY;
#X obj 36 366 writesf~ 2;
#X obj 119 366 readsf~ 2;
#X obj 119 386 dac~;
#X obj 36 336 rec-name;
#X obj 36 376 writesf~ 2;
#X obj 119 376 readsf~ 2;
#X obj 119 396 dac~;
#X obj 36 346 rec-name;
#X text 13 6 [rec-name] - Automatic naming for a record/playback engine.
;
#X text 12 437 (C) 2007 Joo Pais - jmmmpais@googlemail.com;
......@@ -40,6 +40,25 @@ This string can be connected with the writesf~ and readsf~ objects.
recordings (or takes) one after the other. The files are named automatically
\, avoiding the constant inputting of a filename.;
#X text 12 457 Released under the BSD License;
#X obj 36 326 tgl 13 0 empty empty empty 0 -6 0 8 -258113 -1 -1 0 1
;
#X obj 119 326 tgl 13 0 empty empty empty 0 -6 0 8 -4034 -1 -1 0 1
;
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 12 6 DESCRIPTION Automatic naming for a record/playback engine
;
#X text 12 36 KEYWORDS filename dynamic;
#X text 12 135 VERSION 2007;
#X text 14 165 INLET_0 - Bang / Toggle (Recording);
#X text 14 185 INLET_1 - Bang / Toggle (Playback) / Sample playback
index;
#X text 14 205 OUTLET_0 - message to writesf~;
#X text 14 225 OUTLET_1 - message to readsf~;
#X restore 702 466 pd META;
#X connect 0 0 12 0;
#X connect 0 1 13 0;
#X connect 8 0 0 0;
......@@ -50,3 +69,5 @@ recordings (or takes) one after the other. The files are named automatically
#X connect 15 1 16 1;
#X connect 17 0 14 0;
#X connect 17 1 15 0;
#X connect 27 0 17 0;
#X connect 28 0 17 1;
#N canvas 186 367 435 338 10;
#X text 12 307 Released under the BSD License;
#X text 257 90 Inlets;
#X text 257 150 Outlets;
#X text 257 110 - Bang;
#X obj 16 92 rgb-color;
#X text 12 10 [rgb-color] - Pick RGB colors for your GUI objects;
#X text 257 170 - "color \$1 \$2 \$3" command;
#X text 257 190 - number with current color;
#X text 11 287 (C) 2010 Joo Pais - jmmmpais@googlemail.com;
#X obj 19 263 hsl 128 15 0 127 0 0 empty \$0-slider Label -2 -8 0 10
-77055 -243095 -3657 3000 1;
#X obj 16 173 s \$0-slider;
#X floatatom 173 173 10 0 0 0 - - -;
#X text 12 30 Define the colors of your GUI object just like using
the properties window. The settings of the three fields are saved in
memory while using the object.;
#X text 14 230 Send your color settings here:;
#X text 128 205 in Pd encoding;
#X text 128 192 Current color code;
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 12 6 DESCRIPTION Pick RGB colors for your GUI objects;
#X text 12 36 KEYWORDS color RGB GUI;
#X text 12 135 VERSION 2010;
#X text 14 165 INLET_0 - Bang;
#X text 14 185 OUTLET_0 - "color \$1 \$2 \$3" command;
#X text 14 205 OUTLET_1 - number with current color;
#X restore 372 306 pd META;
#X connect 4 0 10 0;
#X connect 4 1 11 0;
#N canvas 103 180 381 510 10;
#X obj 13 10 hsl 128 12 0 255 0 0 \$0-r \$0-r-i empty -2 -8 0 10 -228856
-258113 -1 0 1;
#X obj 13 22 hsl 128 12 0 255 0 0 \$0-g \$0-g-i empty -2 -8 0 10 -228856
-4034 -1 0 1;
#X obj 13 34 hsl 128 12 0 255 0 0 \$0-b \$0-b-i empty -2 -8 0 10 -228856
-4160 -1 0 1;
#X obj 24 50 cnv 34 34 34 empty \$0-cnv empty 20 12 0 14 -1 -262144
0;
#X obj 21 329 s \$0-cnv;
#X msg 21 309 color \$1;
#X obj 85 179 t b f;
#X obj 167 179 t b f;
#X obj 144 10 nbx 3 12 0 255 0 0 \$0-r-i \$0-r1-i empty 0 -8 0 8 -261234
-1 -1 0 256;
#X obj 144 22 nbx 3 12 0 255 0 0 \$0-g-i \$0-g1-i empty 0 -8 0 8 -204786
-1 -1 0 256;
#X obj 144 34 nbx 3 12 0 255 0 0 \$0-b-i \$0-b1-i empty 0 -8 0 8 -203904
-1 -1 0 256;
#X obj 11 389 outlet;
#X msg 21 139 set \$1;
#X obj 21 159 s \$0-r1-i;
#X msg 95 139 set \$1;
#X obj 95 159 s \$0-g1-i;
#X msg 177 139 set \$1;
#X obj 177 159 s \$0-b1-i;
#X obj 85 49 vradio 12 1 0 3 \$0-lab \$0-lab-i empty 0 -8 0 10 -228856
-1 -1 0;
#X text 100 46 Background;
#X text 100 58 Front;
#X text 100 70 Label;
#X obj 72 50 cnv 10 10 10 empty \$0-cnv-back empty 20 12 0 14 -1 -262144
0;
#X obj 72 62 cnv 10 10 10 empty \$0-cnv-front empty 20 12 0 14 -1 -262144
0;
#X obj 72 74 cnv 10 10 10 empty \$0-cnv-label empty 20 12 0 14 -1 -262144
0;
#X obj 11 99 r \$0-r;
#X obj 85 99 r \$0-g;
#X obj 167 99 r \$0-b;
#X obj 167 119 i;
#X obj 85 119 i;
#X obj 11 119 i;
#X obj 11 289 expr ($f1*(-65536)+$f2*(-256)+$f3*(-1))-1;
#X obj 11 229 pack f f f;
#X obj 31 259 outlet rgb;
#X text 33 417 inserir inlet \, que separa os numeros e os converte
a rgb;
#X obj 212 16 init 0;
#N canvas 0 0 376 407 license 0;
#X text 8 47 All rights reserved.;
#X text 8 227 The names of its contributors may not be used to endorse
or promote products derived from this software without specific prior
written permission.;
#X text 8 87 Redistribution and use in source and binary forms \, with
or without modification \, are permitted provided that the following
conditions are met:;
#X text 8 127 Redistributions of source code must retain the above
copyright notice \, this list of conditions and the following disclaimer.
;
#X text 8 297 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES \, INCLUDING
\, BUT NOT LIMITED TO \, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT \, INDIRECT
\, INCIDENTAL \, SPECIAL \, EXEMPLARY \, OR CONSEQUENTIAL DAMAGES (INCLUDING
\, BUT NOT LIMITED TO \, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES
;
#X text 8 167 Redistributions in binary form must reproduce the above
copyright notice \, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the distribution.
;
#X text 8 27 jmmmpais@googlemail.com;
#X text 8 7 Copyright 2010 \, Joo Pais;
#X restore 15 472 pd license;
#X text 14 453 (C) 2010 Joo Pais - jmmmpais@googlemail.com;
#N canvas 0 0 484 500 rgb 0;
#X obj 21 399 outlet;
#X msg 21 369 color \$1 \$2 \$3;
#X obj 21 209 route back front label;
#X obj 90 89 sel 0 1 2;
#X msg 90 109 back;
#X msg 107 129 front;
#X msg 124 149 label;
#X obj 21 169 list prepend;
#X obj 21 189 list trim;
#X msg 64 269 color \$1;
#X msg 117 229 color \$1;
#X obj 117 249 s \$0-cnv-label;
#X msg 31 229 color \$1;
#X obj 31 249 s \$0-cnv-back;
#X obj 64 289 s \$0-cnv-front;
#X obj 35 319 t b f;
#X obj 77 319 t b f;
#X obj 21 349 pack f f f;
#X obj 90 69 r \$0-lab;
#X obj 21 129 inlet;
#X text 39 41 Ausgang RGB;
#X obj 311 219 route back front label;
#X obj 380 39 sel 0 1 2;
#X msg 380 79 back;
#X msg 404 119 front;
#X msg 398 159 label;
#X obj 311 179 list prepend;
#X obj 311 199 list trim;
#X obj 290 249 list;
#X obj 333 249 list;
#X obj 376 249 list;
#X obj 290 279 unpack f f f;
#X obj 380 59 t b b;
#X obj 397 99 t b b;
#X obj 414 139 t b b;
#X msg 359 419 set \$1;
#X msg 324 359 set \$1;
#X msg 290 299 set \$1;
#X obj 359 459 s \$0-b1-i;
#X obj 369 439 s \$0-b-i;
#X obj 324 399 s \$0-g1-i;
#X obj 334 379 s \$0-g-i;
#X obj 290 339 s \$0-r1-i;
#X obj 300 319 s \$0-r-i;
#X obj 380 19 r \$0-lab;
#X obj 311 139 inlet;
#X text 286 35 GUI Speicher;
#X connect 1 0 0 0;
#X connect 2 0 12 0;
#X connect 2 0 17 0;
#X connect 2 1 9 0;
#X connect 2 1 15 0;
#X connect 2 2 10 0;
#X connect 2 2 16 0;
#X connect 3 0 4 0;
#X connect 3 1 5 0;
#X connect 3 2 6 0;
#X connect 4 0 7 1;
#X connect 5 0 7 1;
#X connect 6 0 7 1;
#X connect 7 0 8 0;
#X connect 8 0 2 0;
#X connect 9 0 14 0;
#X connect 10 0 11 0;
#X connect 12 0 13 0;
#X connect 15 0 17 0;
#X connect 15 1 17 1;
#X connect 16 0 17 0;
#X connect 16 1 17 2;
#X connect 17 0 1 0;
#X connect 18 0 3 0;
#X connect 19 0 7 0;
#X connect 21 0 28 1;
#X connect 21 1 29 1;
#X connect 21 2 30 1;
#X connect 22 0 32 0;
#X connect 22 1 33 0;
#X connect 22 2 34 0;
#X connect 23 0 26 1;
#X connect 24 0 26 1;
#X connect 25 0 26 1;
#X connect 26 0 27 0;
#X connect 27 0 21 0;
#X connect 28 0 31 0;
#X connect 29 0 31 0;
#X connect 30 0 31 0;
#X connect 31 0 37 0;
#X connect 31 1 36 0;
#X connect 31 2 35 0;
#X connect 32 0 23 0;
#X connect 32 1 28 0;
#X connect 33 0 24 0;
#X connect 33 1 29 0;
#X connect 34 0 25 0;
#X connect 34 1 30 0;
#X connect 35 0 38 0;
#X connect 35 0 39 0;
#X connect 36 0 40 0;
#X connect 36 0 41 0;
#X connect 37 0 42 0;
#X connect 37 0 43 0;
#X connect 44 0 22 0;
#X connect 45 0 26 0;
#X restore 11 359 pd rgb speicher;
#X obj 267 10 inlet;
#X obj 267 30 route list float;
#X obj 165 338 outlet iem-color;
#X connect 5 0 4 0;
#X connect 6 0 32 0;
#X connect 6 1 32 1;
#X connect 7 0 32 0;
#X connect 7 1 32 2;
#X connect 12 0 13 0;
#X connect 14 0 15 0;
#X connect 16 0 17 0;
#X connect 25 0 30 0;
#X connect 26 0 29 0;
#X connect 27 0 28 0;
#X connect 28 0 16 0;
#X connect 28 0 7 0;
#X connect 29 0 14 0;
#X connect 29 0 6 0;
#X connect 30 0 12 0;
#X connect 30 0 32 0;
#X connect 31 0 5 0;
#X connect 31 0 38 0;
#X connect 31 0 41 0;
#X connect 32 0 31 0;
#X connect 32 0 33 0;
#X connect 32 0 38 1;
#X connect 35 0 18 0;
#X connect 38 0 11 0;
#X connect 39 0 40 0;
#X connect 40 0 32 0;
#X coords 0 -1 1 1 164 78 2 10 10;
#N canvas 53 86 363 356 10;
#X text 12 327 Released under the BSD License;
#X text 206 90 Inlets;
#X text 206 160 Outlets;
#X text 206 40 Arguments;
#X text 206 60 - Initial state (0/1);
#X text 206 110 - Messages;
#X text 206 180 - Messages;
#X text 206 200 - State;
#X obj 26 159 sguigot 1;
#X floatatom 26 189 5 0 0 0 - - -;
#X obj 26 118 f+;
#X obj 26 98 metrum 1000 1;
#X text 12 307 (C) 2008 Joo Pais - jmmmpais@googlemail.com;
#X obj 113 188 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X text 112 204 State;
#X text 206 250 - State;
#X text 206 230 GUI;
#X text 206 130 - On / Off (0/1);
#X text 206 270 - Incoming message;
#X text 22 10 [sguigot] - Spigot GUI implementation;
#X obj 103 136 bng 14 250 50 0 empty empty empty 17 7 0 10 -228856
-1 -1;
#X obj 123 136 tgl 14 0 empty empty empty 17 7 0 10 -228856 -1 -1 0
1;
#X connect 8 0 9 0;
#X connect 8 1 13 0;
#X connect 10 0 8 0;
#X connect 11 0 10 0;
#X connect 20 0 8 1;
#X connect 21 0 8 1;
#N canvas 53 86 363 356 10;
#X text 12 327 Released under the BSD License;
#X text 206 90 Inlets;
#X text 206 160 Outlets;
#X text 206 40 Arguments;
#X text 206 60 - Initial state (0/1);
#X text 206 110 - Messages;
#X text 206 180 - Messages;
#X text 206 200 - State;
#X obj 26 159 sguigot 1;
#X floatatom 26 189 5 0 0 0 - - -;
#X obj 26 118 f+;
#X obj 26 98 metrum 1000 1;
#X text 12 307 (C) 2008 Joo Pais - jmmmpais@googlemail.com;
#X obj 113 188 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X text 112 204 State;
#X text 206 250 - State;
#X text 206 230 GUI;
#X text 206 270 - Incoming message;
#X text 22 10 [sguigot] - Spigot GUI implementation;
#X obj 103 136 bng 14 250 50 0 empty empty empty 17 7 0 10 -228856
-1 -1;
#X obj 123 136 tgl 14 0 empty empty empty 17 7 0 10 -228856 -1 -1 0
1;
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 12 6 DESCRIPTION Spigot GUI implementation;
#X text 12 36 KEYWORDS spigot GUI;
#X text 12 135 VERSION 2008;
#X text 14 165 INLET_0 - Messages;
#X text 14 185 INLET_1 - On / Off (0/1);
#X text 14 205 OUTLET_0 - Messages;
#X text 14 225 OUTLET_1 - State;
#X restore 302 326 pd META;
#X text 206 130 - On / Off (0/1);
#X connect 8 0 9 0;
#X connect 8 1 13 0;
#X connect 10 0 8 0;
#X connect 11 0 10 0;
#X connect 19 0 8 1;
#X connect 20 0 8 1;
#N struct 1026-data-s float x float y array 1026-array-s 1026-element
#N struct 1085-data-s float x float y array 1085-array-s 1085-element
;
#N struct 1026-element float y;
#N struct 1061-data-s float x float y array 1061-array-s 1061-element
#N struct 1085-element float y;
#N struct 1088-data-s float x float y array 1088-array-s 1088-element
;
#N struct 1061-element float y;
#N struct 1064-data-s float x float y array 1064-array-s 1064-element
#N struct 1088-element float y;
#N struct 1091-data-s float x float y array 1091-array-s 1091-element
;
#N struct 1064-element float y;
#N struct 1091-element float y;
#N canvas 35 130 444 495 10;
#X text 12 472 Released under the BSD License;
#X text 11 455 (C) 2009 Joo Pais - jmmmpais@googlemail.com;
......@@ -34,3 +34,12 @@ four sliders (all other channels are ignored).;
#X text 12 422 Related objects: [m-i] [mk];
#X obj 63 283 sliders 16 aaa;
#X obj 63 363 sliders 5 bbb;
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 12 6 DESCRIPTION GUI for incoming midi data;
#X text 12 36 KEYWORDS midi slider GUI;
#X text 12 135 VERSION 2009;
#X restore 382 466 pd META;
#N canvas 125 122 425 286 10;
#N canvas 125 122 408 275 10;
#X text 12 227 (C) 2006 Joo Pais - jmmmpais@googlemail.com;
#X text 12 247 Released under the BSD License;
#X text 276 100 Inlets;
......@@ -16,6 +16,18 @@
#X msg 146 86 50;
#X obj 26 177 dsp01;
#X text 12 10 [snaps~] - snapshot~ GUI implementation;
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 12 6 DESCRIPTION snapshot~ GUI implementation;
#X text 12 36 KEYWORDS snapshot~ GUI;
#X text 12 135 VERSION 2006;
#X text 14 165 INLET_0 - Signal;
#X text 14 185 INLET_1 - Meter speed (ms);
#X text 14 205 OUTLET_0 - Signal level;
#X restore 352 246 pd META;
#X connect 5 0 13 1;
#X connect 8 0 13 0;
#X connect 13 0 7 0;
......
......@@ -2,8 +2,8 @@
#X obj 65 183 snapshot~;
#X obj 75 63 loadbang;
#X obj 65 43 inlet~;
#X obj 65 223 nbx 7 13 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
10 -233017 -1 -1 0 256;
#X obj 65 223 nbx 10 13 -1e+037 1e+037 0 0 empty empty empty 0 -6 0
10 -233017 -1 -1 3.91941e-005 256;
#X obj 75 203 outlet;
#X obj 102 103 \$1;
#X obj 75 83 t b b;
......@@ -16,7 +16,6 @@
#X text 196 120 - Signal;
#X text 196 140 - Meter speed (ms);
#X text 196 190 - Signal level;
#X text 7 247 (C) 2006 João Pais - jmmmpais@googlemail.com;
#N canvas 0 0 426 446 license 0;
#X text 8 47 All rights reserved.;
#X text 8 227 The names of its contributors may not be used to endorse
......@@ -45,14 +44,15 @@ in the documentation and/or other materials provided with the distribution.
#X restore 10 265 pd license;
#X text 12 10 [snaps~] - snapshot~ GUI implementation;
#X obj 102 133 sel 0;
#X text 7 247 (C) 2006-2016 João Pais - jmmmpais@googlemail.com;
#X connect 0 0 3 0;
#X connect 0 0 4 0;
#X connect 1 0 6 0;
#X connect 2 0 0 0;
#X connect 5 0 19 0;
#X connect 5 0 18 0;
#X connect 6 0 8 0;
#X connect 6 1 5 0;
#X connect 7 0 19 0;
#X connect 7 0 18 0;
#X connect 8 0 0 0;
#X connect 19 1 8 1;
#X coords 0 -1 1 1 117 17 1 20 221;
#X connect 18 1 8 1;
#X coords 0 -1 1 1 143 17 1 20 221;
......@@ -14,4 +14,15 @@
Harmonic content is analysed in 512 bins resolution \, 20 times a second.
Tested on 44.1KHz.;
#X obj 18 76 noise~;
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 12 6 DESCRIPTION Spectrogram with 512 bins resolution;
#X text 12 36 KEYWORDS spectrogram;
#X text 12 135 VERSION 2009;
#X text 14 166 INLET_0 - Audio to analyse;
#X text 14 185 OUTLET_0 - Same as inlet;
#X restore 642 386 pd META;
#X connect 11 0 8 0;
#N canvas 0 0 450 300 10;
#X text 112 62 abstraction for [stoppuhr];
#X obj 139 95 stoppuhr-clock;
#N canvas 108 117 718 384 10;
#N canvas 108 117 692 376 10;
#X text 12 327 (C) 2006 Joo Pais - jmmmpais@googlemail.com;
#X text 12 347 Released under the BSD License;
#X text 476 70 Inlets;
......@@ -30,6 +30,19 @@
#X text 125 165 Click the right button to open the documentation window.
;
#X text 12 295 Related objects: [clock] [uhr];
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 12 135 VERSION 2006;
#X text 13 6 DESCRIPTION Chronometer with two layers;
#X text 12 36 KEYWORDS chronometer;
#X text 14 165 INLET_0 - new section (key m);
#X text 14 185 INLET_1 - offset (secs);
#X text 14 205 OUTLET_0 - Elapsed time since beginning;
#X text 14 225 OUTLET_1 - Elapsed time since last section;
#X restore 632 346 pd META;
#X connect 11 0 5 0;
#X connect 11 1 6 0;
#X connect 12 0 11 0;
......
#N struct 1007-ds-show float x float y float colour;
#N struct 1007-rgb-sel float x float y float p1x float p1y float p2x
float p2y float p3x float p3y float p4x float p4y float p5x float p5y
float p0x float p0y float p0x. float p0y.;
#N canvas 44 109 411 442 10;
#X text 12 407 Released under the BSD License;
#X text 228 250 Inlets;
#X text 227 300 Outlets;
#X text 227 270 - Bang;
#X text 227 320 - "color \$1 \$2 \$3" command;
#X text 227 340 - number with current color;
#X obj 13 101 swatch-gui;
#X obj 28 284 hsl 128 15 0 127 0 0 empty \$0-slider Label -2 -8 0 10
-139073 -22721 -78208 0 1;
#X obj 13 246 s \$0-slider;
#X floatatom 149 226 10 0 0 0 - - -;
#X msg 13 226 color \$1 \$2 \$3;
#N canvas 504 106 383 254 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 12 36 KEYWORDS color GUI data structures;
#X text 14 165 INLET_0 - bang;
#X text 14 185 OUTLET_0 - "color \$1 \$2 \$3" command;
#X text 14 205 OUTLET_1 - number with current color;
#X text 12 135 VERSION 2014;
#X text 14 225 OUTLET_2 - color for data structures;
#X text 13 6 DESCRIPTION Color chooser using the hue-saturation chart
;
#X restore 352 406 pd META;
#X text 227 360 - color for data structures;
#X floatatom 285 226 4 0 0 0 - - -;
#X text 13 11 [swatch-gui] - Pick a color for your GUI using the hue-saturation
chart \, for IEM or data structures colours.;
#X text 11 387 (C) 2014 Joo Pais - jmmmpais@googlemail.com;
#X text 11 41 To choose a color \, click the circle and drag it around.
In case the circle disappears \, clicking in the swatch will make it
appear again.;
#X connect 6 0 10 0;
#X connect 6 1 9 0;
#X connect 6 2 13 0;
#X connect 10 0 8 0;
#N canvas 302 139 450 314 10;
#X obj 150 53 image examples/rgb.ppm;
#N canvas 580 67 575 780 inside 0;
#N canvas 187 386 705 549 selector-data 0;
#X obj 203 53 route change click;
#X obj 222 83 unpack p f;
#X obj 119 25 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 9 59 t b b;
#X obj 64 130 pointer;
#X msg 64 110 traverse \$1 \, bang;
#X obj 222 333 t p p p p;
#X obj 222 403 list-add;
#X obj 222 363 get \$0-rgb-sel p0x;
#X msg 347 363 -8 0 8;
#X msg 222 383 \$1 \$1 \$1;
#X obj 222 423 set \$0-rgb-sel p1x p2x p3x;
#X obj 256 493 list-add;
#X msg 256 473 \$1 \$1 \$1;
#X obj 256 453 get \$0-rgb-sel p0y;
#X obj 256 513 set \$0-rgb-sel p1y p2y p3y;
#X text 378 104 drawcurve 0 2 -8 0 0 8 8 0 0 -8 -8 0;
#X obj 239 183 t p p p p;
#X obj 273 263 get \$0-rgb-sel p0y;
#X obj 273 303 set \$0-rgb-sel p0y.;
#X obj 256 153 outlet;
#X obj 273 283 + 0;
#X obj 239 223 + 0;
#X obj 352 63 drawpolygon 0 1 0 0 259 0 259 66 0 66 0 0;
#X obj 352 83 drawpolygon 0 2 p0x(0:258) p0y(0:65) p0x. p0y.;
#X obj 352 123 drawcurve 0 2 p1x p2y p2x p3y p3x p2y p2x p1y p1x p2y
;
#X obj 64 90 symbol \$0-swatch;
#X obj 9 9 loadbang;
#X obj 203 7 struct \$0-rgb-sel float x float y float p1x float p1y
float p2x float p2y float p3x float p3y float p4x float p4y float p5x
float p5y float p0x float p0y float p0x. float p0y.;
#X obj 9 160 append \$0-rgb-sel x y;
#X obj 239 203 get \$0-rgb-sel p0x;
#X obj 239 243 set \$0-rgb-sel p0x.;
#X msg 9 140 10 10;
#X obj 482 342 pointer;
#X obj 509 302 set \$0-rgb-sel p0x p0y;
#X obj 222 113 t p p p p;
#X obj 521 322 t p p;
#X msg 496 260 \$1 \$2;
#X obj 482 282 t b l;
#X text 443 213 mecanismo para gravar posicoes;
#X obj 473 239 r \$0-list-speicher;
#X obj 9 29 t b b;
#X connect 0 0 1 0;
#X connect 0 1 1 0;
#X connect 1 0 35 0;
#X connect 2 0 3 0;
#X connect 3 0 32 0;
#X connect 3 1 26 0;
#X connect 4 0 29 2;
#X connect 5 0 4 0;
#X connect 6 0 8 0;
#X connect 6 1 11 3;
#X connect 6 2 14 0;
#X connect 6 3 15 3;
#X connect 7 0 11 0;
#X connect 8 0 10 0;
#X connect 9 0 7 1;
#X connect 9 0 12 1;
#X connect 10 0 7 0;
#X connect 12 0 15 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
#X connect 17 0 30 0;
#X connect 17 1 31 1;
#X connect 17 2 18 0;
#X connect 17 3 19 1;
#X connect 18 0 21 0;
#X connect 21 0 19 0;
#X connect 22 0 31 0;
#X connect 26 0 5 0;
#X connect 27 0 41 0;
#X connect 28 0 0 0;
#X connect 29 0 35 0;
#X connect 30 0 22 0;
#X connect 32 0 29 0;
#X connect 33 0 35 0;
#X connect 35 0 6 0;
#X connect 35 1 17 0;
#X connect 35 2 20 0;
#X connect 35 3 36 0;
#X connect 36 0 33 1;
#X connect 36 1 34 2;
#X connect 37 0 38 0;
#X connect 38 0 33 0;
#X connect 38 1 34 0;
#X connect 40 0 38 0;
#X connect 41 0 3 0;
#X connect 41 1 9 0;
#X restore 92 11 pd selector-data;
#X obj 92 31 get \$0-rgb-sel p0x p0y;
#X obj 92 151 tabread \$0-table;
#X obj 111 171 tabread \$0-table;
#X obj 92 51 t f f f;
#X msg 183 577 \$1 \$2 \$3;
#X obj 92 201 pack f f f;
#X obj 131 111 tabread \$0-table;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-table 258 float 1;
#A 0 0 0.0232558 0.0465116 0.0697674 0.0930233 0.116279 0.139535 0.162791
0.186047 0.209302 0.232558 0.255814 0.27907 0.302326 0.325581 0.348837
0.372093 0.395349 0.418605 0.44186 0.465116 0.488372 0.511628 0.534884
0.55814 0.581395 0.604651 0.627907 0.651163 0.674419 0.697674 0.72093
0.744186 0.767442 0.790698 0.813954 0.837209 0.860465 0.883721 0.906977
0.930233 0.953488 0.976744 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 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 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 1 1 1 1 1 1 1 1 1 1 1 1 0.976744
0.953488 0.930233 0.906977 0.883721 0.860465 0.837209 0.813954 0.790698
0.767442 0.744186 0.72093 0.697674 0.674419 0.651163 0.627907 0.604651
0.581395 0.55814 0.534884 0.511628 0.488372 0.465116 0.44186 0.418605
0.395349 0.372093 0.348837 0.325581 0.302326 0.27907 0.255814 0.232558
0.209302 0.186046 0.162791 0.139535 0.116279 0.0930232 0.0697674 0.0465117
0.0232558 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0;
#X coords 0 1 257 0 258 50 1;
#X restore 212 359 graph;
#X text 227 426 43 por cada segmento;
#X text 219 411 0 0 \, 1 43 \, 1 129 \, 0 172 \, 0 258;
#X obj 92 111 + 86;
#X obj 92 131 zexy/wrap 257;
#X obj 131 91 zexy/wrap 257;
#X obj 131 71 + 172;
#X obj 183 657 outlet;
#X obj 243 90 moses 0;
#X obj 243 70 expr $f1-33;
#X obj 282 110 expr 1-$f1/32;
#X obj 183 281 list-mult;
#X msg 234 261 \$1 \$1 \$1;
#X text 370 107 opacidade;
#X obj 183 537 list-mult;
#X msg 234 517 255 255 255;
#X obj 183 557 l2i;
#X obj 234 497 loadbang;
#X obj 183 597 expr ($f1*(-65536)+$f2*(-256)+$f3*(-1))-1;
#X text 216 317 converter entradas rgb e iem;
#X text 372 151 brilho;
#X obj 92 251 demux 0 1;
#X obj 282 130 t b f;
#X obj 243 170 t b f;
#X obj 123 231 0;
#X obj 153 231 1;
#X obj 22 281 unpack f f f;
#X obj 22 311 pack f f 0 1;
#X obj 22 331 list-rot 1;
#X obj 243 150 expr ($f1+1)/32*(-1);
#X obj 22 351 maxlib/scale 0 1 0 1;
#X obj 22 491 pack f f f;
#X obj 56 371 pack f f 0 1;
#X obj 56 391 list-rot 1;
#X obj 56 411 maxlib/scale 0 1 0 1;
#X obj 112 281 t f f f;
#X obj 91 431 pack f f 0 1;
#X obj 91 451 list-rot 1;
#X obj 91 471 maxlib/scale 0 1 0 1;
#X obj 352 34 inlet;
#N canvas 0 0 376 407 license 0;
#X text 8 47 All rights reserved.;
#X text 8 227 The names of its contributors may not be used to endorse
or promote products derived from this software without specific prior
written permission.;
#X text 8 87 Redistribution and use in source and binary forms \, with
or without modification \, are permitted provided that the following
conditions are met:;
#X text 8 127 Redistributions of source code must retain the above
copyright notice \, this list of conditions and the following disclaimer.
;
#X text 8 297 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES \, INCLUDING
\, BUT NOT LIMITED TO \, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT \, INDIRECT
\, INCIDENTAL \, SPECIAL \, EXEMPLARY \, OR CONSEQUENTIAL DAMAGES (INCLUDING
\, BUT NOT LIMITED TO \, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES
;
#X text 8 167 Redistributions in binary form must reproduce the above
copyright notice \, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the distribution.
;
#X text 8 27 jmmmpais@googlemail.com;
#X text 8 7 Copyright 2010 \, Joo Pais;
#X restore 15 752 pd license;
#X obj 163 707 outlet;
#N canvas 874 158 450 429 rgb-speicher 0;
#X obj 281 229 route back front label;
#X obj 350 49 sel 0 1 2;
#X msg 350 89 back;
#X msg 374 129 front;
#X msg 368 169 label;
#X obj 281 189 list prepend;
#X obj 281 209 list trim;
#X obj 260 259 list;
#X obj 303 259 list;
#X obj 346 259 list;
#X obj 350 69 t b b;
#X obj 367 109 t b b;
#X obj 384 149 t b b;
#X obj 350 29 r \$0-lab;
#X obj 21 359 outlet;
#X msg 21 339 color \$1 \$2 \$3;
#X obj 21 179 route back front label;
#X obj 90 59 sel 0 1 2;
#X msg 90 79 back;
#X msg 107 99 front;
#X msg 124 119 label;
#X obj 21 139 list prepend;
#X obj 21 159 list trim;
#X msg 64 239 color \$1;
#X msg 117 199 color \$1;
#X obj 117 219 s \$0-cnv-label;
#X msg 31 199 color \$1;
#X obj 31 219 s \$0-cnv-back;
#X obj 64 259 s \$0-cnv-front;
#X obj 35 289 t b f;
#X obj 77 289 t b f;
#X obj 21 319 pack f f f;
#X obj 90 39 r \$0-lab;
#X obj 21 99 inlet;
#X text 27 12 color Befehl;
#X obj 281 149 inlet;
#X text 232 104 swatch speicher;
#X obj 260 289 s \$0-list-speicher;
#X msg 295 342 134 33;
#X obj 350 356 loadbang;
#X connect 0 0 7 1;
#X connect 0 1 8 1;
#X connect 0 2 9 1;
#X connect 1 0 10 0;
#X connect 1 1 11 0;
#X connect 1 2 12 0;
#X connect 2 0 5 1;
#X connect 3 0 5 1;
#X connect 4 0 5 1;
#X connect 5 0 6 0;
#X connect 6 0 0 0;
#X connect 7 0 37 0;
#X connect 8 0 37 0;
#X connect 9 0 37 0;
#X connect 10 0 2 0;
#X connect 10 1 7 0;
#X connect 11 0 3 0;
#X connect 11 1 8 0;
#X connect 12 0 4 0;
#X connect 12 1 9 0;
#X connect 13 0 1 0;
#X connect 15 0 14 0;
#X connect 16 0 26 0;
#X connect 16 0 31 0;
#X connect 16 1 23 0;
#X connect 16 1 29 0;
#X connect 16 2 24 0;
#X connect 16 2 30 0;
#X connect 17 0 18 0;
#X connect 17 1 19 0;
#X connect 17 2 20 0;
#X connect 18 0 21 1;
#X connect 19 0 21 1;
#X connect 20 0 21 1;
#X connect 21 0 22 0;
#X connect 22 0 16 0;
#X connect 23 0 28 0;
#X connect 24 0 25 0;
#X connect 26 0 27 0;
#X connect 29 0 31 0;
#X connect 29 1 31 1;
#X connect 30 0 31 0;
#X connect 30 1 31 2;
#X connect 31 0 15 0;
#X connect 32 0 17 0;
#X connect 33 0 21 0;
#X connect 35 0 5 0;
#X connect 38 0 7 1;
#X connect 38 0 8 1;
#X connect 38 0 9 1;
#X connect 39 0 38 0;
#X restore 163 687 pd rgb-speicher;
#X obj 203 637 s \$0-cnv;
#X msg 203 617 color \$1;
#X text 252 234 FALTA MECANISMO PARA GRAVAR POSICOES;
#X obj 273 658 pack f f;
#X text 218 204 HA UM ERRO COM A MEMORIA. O VALOR INICIAL ENVIADO
PARA CADA LISTA;
#X obj 183 517 list;
#X text 14 733 (C) 2014 Joo Pais - jmmmpais@googlemail.com;
#X obj 53 577 outlet;
#N canvas 671 566 538 359 data-struct-conv 0;
#X obj 54 198 outlet;
#X obj 44 138 pack f f f;
#X msg 137 138 symbol;
#X obj 20 62 t l b;
#X obj 20 82 expr int($f1 * 9) \; int($f2 * 9) \; int($f3 * 9);
#X obj 44 178 zexy/symbol2list;
#X obj 44 158 zexy/list2symbol;
#X text 33 43 data structures format;
#X obj 20 22 inlet;
#X obj 199 91 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 224 111 t b b;
#X obj 279 151 pointer;
#X msg 279 131 traverse \$1 \, bang;
#X obj 279 111 symbol \$0-swatch;
#X obj 224 91 loadbang;
#X obj 224 181 append \$0-ds-show x y;
#X obj 224 21 struct \$0-ds-show float x float y float colour;
#X obj 44 318 set \$0-ds-show colour;
#X msg 91 248 traverse \$1 \, bang;
#X obj 91 228 symbol \$0-swatch;
#X obj 91 268 pointer \$0-ds-show;
#X obj 44 228 t f b;
#X obj 224 51 filledpolygon colour colour 1 0 0 0 35 32 35 32 0;
#X msg 224 161 235 81;
#X msg 143 288 next;
#X connect 1 0 6 0;
#X connect 2 0 6 1;
#X connect 3 0 4 0;
#X connect 3 1 2 0;
#X connect 4 0 1 0;
#X connect 4 1 1 1;
#X connect 4 2 1 2;
#X connect 5 0 0 0;
#X connect 5 0 21 0;
#X connect 6 0 5 0;
#X connect 8 0 3 0;
#X connect 9 0 10 0;
#X connect 10 0 23 0;
#X connect 10 1 13 0;
#X connect 11 0 15 2;
#X connect 12 0 11 0;
#X connect 13 0 12 0;
#X connect 14 0 10 0;
#X connect 18 0 20 0;
#X connect 19 0 18 0;
#X connect 20 0 17 1;
#X connect 20 1 24 0;
#X connect 21 0 17 0;
#X connect 21 1 19 0;
#X connect 23 0 15 0;
#X connect 24 0 20 0;
#X restore 53 557 pd data-struct-conv;
#X connect 0 0 1 0;
#X connect 1 0 4 0;
#X connect 1 1 17 0;
#X connect 1 1 54 1;
#X connect 2 0 6 0;
#X connect 3 0 6 1;
#X connect 4 0 11 0;
#X connect 4 1 3 0;
#X connect 4 2 14 0;
#X connect 4 2 54 0;
#X connect 5 0 26 0;
#X connect 6 0 29 0;
#X connect 7 0 6 2;
#X connect 11 0 12 0;
#X connect 12 0 2 0;
#X connect 13 0 7 0;
#X connect 14 0 13 0;
#X connect 16 0 37 0;
#X connect 16 1 18 0;
#X connect 17 0 16 0;
#X connect 18 0 30 0;
#X connect 19 0 56 0;
#X connect 20 0 19 1;
#X connect 22 0 24 0;
#X connect 23 0 22 1;
#X connect 24 0 5 0;
#X connect 25 0 23 0;
#X connect 26 0 15 0;
#X connect 26 0 52 0;
#X connect 26 0 50 0;
#X connect 29 0 34 0;
#X connect 29 1 19 0;
#X connect 30 0 33 0;
#X connect 30 1 20 0;
#X connect 31 0 32 0;
#X connect 31 1 43 0;
#X connect 32 0 29 1;
#X connect 33 0 29 1;
#X connect 34 0 35 0;
#X connect 34 1 40 0;
#X connect 34 2 44 0;
#X connect 35 0 36 0;
#X connect 36 0 38 0;
#X connect 37 0 31 0;
#X connect 38 0 39 0;
#X connect 39 0 56 0;
#X connect 40 0 41 0;
#X connect 41 0 42 0;
#X connect 42 0 39 1;
#X connect 43 0 35 1;
#X connect 43 1 40 1;
#X connect 43 2 44 1;
#X connect 44 0 45 0;
#X connect 45 0 46 0;
#X connect 46 0 39 2;
#X connect 50 0 49 0;
#X connect 52 0 51 0;
#X connect 54 0 50 1;
#X connect 56 0 22 0;
#X connect 56 0 59 0;
#X connect 59 0 58 0;
#X restore 10 211 pd inside;
#X obj 35 251 outlet;
#X obj 10 291 namecanvas \$0-swatch;
#X obj 10 191 inlet;
#X obj 21 92 cnv 34 34 34 empty \$0-cnv empty 20 12 0 14 -8254 -262144
0;
#X obj 82 91 vradio 12 1 0 3 \$0-lab \$0-lab-i empty 0 -8 0 10 -228856
-1 -1 0;
#X text 97 88 Background;
#X text 97 100 Front;
#X text 97 112 Label;
#X obj 69 92 cnv 10 10 10 empty \$0-cnv-back empty 20 12 0 14 -8254
-262144 0;
#X obj 69 104 cnv 10 10 10 empty \$0-cnv-front empty 20 12 0 14 -65217
-262144 0;
#X obj 69 116 cnv 10 10 10 empty \$0-cnv-label empty 20 12 0 14 -260110
-262144 0;
#X obj 141 201 init 0;
#X obj 61 231 outlet;
#X obj 227 230 getdir;
#X obj 227 210 loadbang;
#X msg 227 250 open \$1/examples/rgb.ppm;
#X obj 81 261 outlet;
#X text 163 112 Data structs:;
#X connect 1 0 18 0;
#X connect 1 1 2 0;
#X connect 1 2 14 0;
#X connect 4 0 1 0;
#X connect 13 0 6 0;
#X connect 15 0 17 0;
#X connect 16 0 15 0;
#X connect 17 0 0 0;
#X coords 0 0 279 122 279 122 2 10 10;
#N struct 1084-rgb-sel float x float y float p1x float p1y float p2x
float p2y float p3x float p3y float p4x float p4y float p5x float p5y
float p0x float p0y float p0x. float p0y.;
#N canvas 186 367 411 350 10;
#X text 12 317 Released under the BSD License;
#X text 228 180 Inlets;
#X text 227 230 Outlets;
#X text 227 200 - Bang;
#X text 227 250 - "color \$1 \$2 \$3" command;
#X text 227 270 - number with current color;
#X text 11 297 (C) 2010 Joo Pais - jmmmpais@googlemail.com;
#X obj 13 91 swatch;
#X obj 28 244 hsl 128 15 0 127 0 0 empty \$0-slider Label -2 -8 0 10
-1 -1 -262144 0 1;
#X obj 13 210 s \$0-slider;
#X floatatom 137 195 10 0 0 0 - - -;
#X msg 13 190 color \$1;
#X text 22 11 [swatch] - Pick a color using the hue-saturation chart
;
#X text 21 31 To choose a color \, grab the circle and move it around.
In case the circle disappears \, clicking in the swatch will make it
appear again.;
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 13 6 DESCRIPTION Pick a color using the hue-saturation chart
;
#X text 12 36 KEYWORDS color GUI data structures;
#X text 12 135 VERSION 2010;
#X text 14 165 INLET_0 - bang;
#X text 14 185 OUTLET_0 - "color \$1 \$2 \$3" command;
#X text 14 205 OUTLET_1 - number with current color;
#X restore 342 316 pd META;
#X connect 7 0 11 0;
#X connect 7 0 10 0;
#X connect 11 0 9 0;
#N canvas 69 167 450 300 10;
#X obj 150 53 image examples/rgb.ppm ;
#N canvas 304 153 474 680 inside 0;
#N canvas 400 377 705 549 selector-data 0;
#X obj 203 53 route change click;
#X obj 222 83 unpack p f;
#X obj 119 25 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 9 59 t b b;
#X obj 64 130 pointer;
#X msg 64 110 traverse \$1 \, bang;
#X obj 222 333 t p p p p;
#X obj 222 403 list-add;
#X obj 222 363 get \$0-rgb-sel p0x;
#X msg 347 363 -8 0 8;
#X msg 222 383 \$1 \$1 \$1;
#X obj 222 423 set \$0-rgb-sel p1x p2x p3x;
#X obj 256 493 list-add;
#X msg 256 473 \$1 \$1 \$1;
#X obj 256 453 get \$0-rgb-sel p0y;
#X obj 256 513 set \$0-rgb-sel p1y p2y p3y;
#X text 378 104 drawcurve 0 2 -8 0 0 8 8 0 0 -8 -8 0;
#X obj 239 183 t p p p p;
#X obj 273 263 get \$0-rgb-sel p0y;
#X obj 273 303 set \$0-rgb-sel p0y.;
#X obj 256 153 outlet;
#X obj 273 283 + 0;
#X obj 239 223 + 0;
#X obj 352 63 drawpolygon 0 1 0 0 259 0 259 66 0 66 0 0;
#X obj 352 83 drawpolygon 0 2 p0x(0:258) p0y(0:65) p0x. p0y.;
#X obj 352 123 drawcurve 0 2 p1x p2y p2x p3y p3x p2y p2x p1y p1x p2y
;
#X obj 64 90 symbol \$0-swatch;
#X obj 9 9 loadbang;
#X obj 9 180 t p b p;
#X msg 28 200 134 33;
#X obj 9 29 t b b;
#X obj 203 7 struct \$0-rgb-sel float x float y float p1x float p1y
float p2x float p2y float p3x float p3y float p4x float p4y float p5x
float p5y float p0x float p0y float p0x. float p0y.;
#X obj 9 160 append \$0-rgb-sel x y;
#X obj 28 220 set \$0-rgb-sel p0x p0y;
#X obj 239 203 get \$0-rgb-sel p0x;
#X obj 239 243 set \$0-rgb-sel p0x.;
#X msg 9 140 10 10;
#X obj 452 332 pointer;
#X obj 522 309 set \$0-rgb-sel p0x p0y;
#X obj 222 113 t p p p p;
#X obj 450 253 t p p;
#X msg 521 259 \$1 \$2;
#X obj 523 280 t b l;
#X text 443 221 mecanismo para gravar posicoes;
#X connect 0 0 1 0;
#X connect 0 1 1 0;
#X connect 1 0 39 0;
#X connect 2 0 3 0;
#X connect 3 0 36 0;
#X connect 3 1 26 0;
#X connect 4 0 32 2;
#X connect 5 0 4 0;
#X connect 6 0 8 0;
#X connect 6 1 11 3;
#X connect 6 2 14 0;
#X connect 6 3 15 3;
#X connect 7 0 11 0;
#X connect 8 0 10 0;
#X connect 9 0 7 1;
#X connect 9 0 12 1;
#X connect 10 0 7 0;
#X connect 12 0 15 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
#X connect 17 0 34 0;
#X connect 17 1 35 1;
#X connect 17 2 18 0;
#X connect 17 3 19 1;
#X connect 18 0 21 0;
#X connect 21 0 19 0;
#X connect 22 0 35 0;
#X connect 26 0 5 0;
#X connect 27 0 30 0;
#X connect 28 0 39 0;
#X connect 28 1 29 0;
#X connect 28 2 33 2;
#X connect 29 0 33 0;
#X connect 30 0 3 0;
#X connect 30 1 9 0;
#X connect 31 0 0 0;
#X connect 32 0 28 0;
#X connect 34 0 22 0;
#X connect 36 0 32 0;
#X connect 37 0 39 0;
#X connect 39 0 6 0;
#X connect 39 1 17 0;
#X connect 39 2 20 0;
#X connect 39 3 40 0;
#X connect 40 0 37 1;
#X connect 40 1 38 2;
#X connect 41 0 42 0;
#X connect 42 0 37 0;
#X connect 42 1 38 0;
#X restore 82 11 pd selector-data;
#X obj 82 31 get \$0-rgb-sel p0x p0y;
#X obj 82 151 tabread \$0-table;
#X obj 101 171 tabread \$0-table;
#X obj 82 51 t f f f;
#X msg 173 567 \$1 \$2 \$3;
#X obj 82 201 pack f f f;
#X obj 121 111 tabread \$0-table;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-table 258 float 1;
#A 0 0 0.0232558 0.0465116 0.0697674 0.0930233 0.116279 0.139535 0.162791
0.186047 0.209302 0.232558 0.255814 0.27907 0.302326 0.325581 0.348837
0.372093 0.395349 0.418605 0.44186 0.465116 0.488372 0.511628 0.534884
0.55814 0.581395 0.604651 0.627907 0.651163 0.674419 0.697674 0.72093
0.744186 0.767442 0.790698 0.813954 0.837209 0.860465 0.883721 0.906977
0.930233 0.953488 0.976744 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 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 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 1 1 1 1 1 1 1 1 1 1 1 1 0.976744
0.953488 0.930233 0.906977 0.883721 0.860465 0.837209 0.813954 0.790698
0.767442 0.744186 0.72093 0.697674 0.674419 0.651163 0.627907 0.604651
0.581395 0.55814 0.534884 0.511628 0.488372 0.465116 0.44186 0.418605
0.395349 0.372093 0.348837 0.325581 0.302326 0.27907 0.255814 0.232558
0.209302 0.186046 0.162791 0.139535 0.116279 0.0930232 0.0697674 0.0465117
0.0232558 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0;
#X coords 0 1 257 0 258 50 1;
#X restore 202 359 graph;
#X text 217 426 43 por cada segmento;
#X text 209 411 0 0 \, 1 43 \, 1 129 \, 0 172 \, 0 258;
#X obj 82 111 + 86;
#X obj 82 131 zexy/wrap 257;
#X obj 121 91 zexy/wrap 257;
#X obj 121 71 + 172;
#X obj 173 607 outlet;
#X obj 233 90 moses 0;
#X obj 233 70 expr $f1-33;
#X obj 272 110 expr 1-$f1/32;
#X obj 173 281 list-mult;
#X msg 224 261 \$1 \$1 \$1;
#X text 360 107 opacidade;
#X obj 173 527 list-mult;
#X msg 224 507 255 255 255;
#X obj 173 547 l2i;
#X obj 224 487 loadbang;
#X obj 173 587 expr ($f1*(-65536)+$f2*(-256)+$f3*(-1))-1;
#X text 206 317 converter entradas rgb e iem;
#X text 362 151 brilho;
#X obj 82 251 demux 0 1;
#X obj 272 130 t b f;
#X obj 233 170 t b f;
#X obj 113 231 0;
#X obj 143 231 1;
#X obj 12 281 unpack f f f;
#X obj 12 311 pack f f 0 1;
#X obj 12 331 list-rot 1;
#X obj 233 150 expr ($f1+1)/32*(-1);
#X obj 12 351 maxlib/scale 0 1 0 1;
#X obj 12 491 pack f f f;
#X obj 46 371 pack f f 0 1;
#X obj 46 391 list-rot 1;
#X obj 46 411 maxlib/scale 0 1 0 1;
#X obj 102 281 t f f f;
#X obj 81 431 pack f f 0 1;
#X obj 81 451 list-rot 1;
#X obj 81 471 maxlib/scale 0 1 0 1;
#X obj 342 34 inlet;
#N canvas 0 0 376 407 license 0;
#X text 8 47 All rights reserved.;
#X text 8 227 The names of its contributors may not be used to endorse
or promote products derived from this software without specific prior
written permission.;
#X text 8 87 Redistribution and use in source and binary forms \, with
or without modification \, are permitted provided that the following
conditions are met:;
#X text 8 127 Redistributions of source code must retain the above
copyright notice \, this list of conditions and the following disclaimer.
;
#X text 8 297 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES \, INCLUDING
\, BUT NOT LIMITED TO \, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT \, INDIRECT
\, INCIDENTAL \, SPECIAL \, EXEMPLARY \, OR CONSEQUENTIAL DAMAGES (INCLUDING
\, BUT NOT LIMITED TO \, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES
;
#X text 8 167 Redistributions in binary form must reproduce the above
copyright notice \, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the distribution.
;
#X text 8 27 jmmmpais@googlemail.com;
#X text 8 7 Copyright 2010 \, Joo Pais;
#X restore 15 656 pd license;
#X text 14 637 (C) 2010 Joo Pais - jmmmpais@googlemail.com;
#X text 242 234 FALTA MECANISMO PARA GRAVAR POSICOES;
#X connect 0 0 1 0;
#X connect 1 0 4 0;
#X connect 1 1 17 0;
#X connect 2 0 6 0;
#X connect 3 0 6 1;
#X connect 4 0 11 0;
#X connect 4 1 3 0;
#X connect 4 2 14 0;
#X connect 5 0 26 0;
#X connect 6 0 29 0;
#X connect 7 0 6 2;
#X connect 11 0 12 0;
#X connect 12 0 2 0;
#X connect 13 0 7 0;
#X connect 14 0 13 0;
#X connect 16 0 37 0;
#X connect 16 1 18 0;
#X connect 17 0 16 0;
#X connect 18 0 30 0;
#X connect 19 0 22 0;
#X connect 20 0 19 1;
#X connect 22 0 24 0;
#X connect 23 0 22 1;
#X connect 24 0 5 0;
#X connect 25 0 23 0;
#X connect 26 0 15 0;
#X connect 29 0 34 0;
#X connect 29 1 19 0;
#X connect 30 0 33 0;
#X connect 30 1 20 0;
#X connect 31 0 32 0;
#X connect 31 1 43 0;
#X connect 32 0 29 1;
#X connect 33 0 29 1;
#X connect 34 0 35 0;
#X connect 34 1 40 0;
#X connect 34 2 44 0;
#X connect 35 0 36 0;
#X connect 36 0 38 0;
#X connect 37 0 31 0;
#X connect 38 0 39 0;
#X connect 39 0 22 0;
#X connect 40 0 41 0;
#X connect 41 0 42 0;
#X connect 42 0 39 1;
#X connect 43 0 35 1;
#X connect 43 1 40 1;
#X connect 43 2 44 1;
#X connect 44 0 45 0;
#X connect 45 0 46 0;
#X connect 46 0 39 2;
#X restore 10 211 pd inside;
#X obj 10 261 namecanvas \$0-swatch;
#X obj 10 191 inlet;
#X obj 10 231 outlet;
#X obj 217 220 getdir;
#X obj 217 199 loadbang;
#X msg 216 251 open \$1/examples/rgb.ppm;
#X connect 1 0 4 0;
#X connect 3 0 1 0;
#X connect 5 0 7 0;
#X connect 6 0 5 0;
#X connect 7 0 0 0;
#X coords 0 0 279 86 279 86 2 10 10;
#N canvas 121 146 376 296 10;
#X text 12 247 (C) 2006 Joo Pais - jmmmpais@googlemail.com
;
#X text 12 267 Released under the BSD License;
#X text 256 125 Outlets;
#X text 256 75 Arguments;
#X floatatom 36 156 5 0 0 0 - - -;
#N canvas 121 146 376 360 10;
#X text 12 327 Released under the BSD License;
#X floatatom 46 196 5 0 0 0 - - -;
#X text 12 10 [tastin] - Gate for keyboard input;
#X text 256 95 - State (0 / 1);
#X text 256 145 - key number;
#X text 256 165 - state;
#X obj 123 139 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
#X obj 133 179 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
#X text 74 156 Key value;
#X text 143 138 State;
#X text 256 195 Key control;
#X obj 36 119 tastin;
#X text 256 215 - Esc: on / off;
#X text 82 196 Key value;
#X text 151 178 State;
#X obj 46 159 tastin;
#X text 12 30 Controls the flow of keyboard events with the Esc key
\, so that nothing gets triggered by accident. The numbers are also
displayed in the object.;
#X connect 13 0 4 0;
#X connect 13 1 9 0;
#X text 236 185 Outlets;
#X text 236 85 Arguments;
#X text 236 105 - State (0 / 1);
#X text 236 205 - key number;
#X text 236 225 - state;
#X text 236 255 Key control;
#X text 236 275 - Esc on / off;
#X text 236 135 Inlets;
#X text 236 155 - toggle switch;
#X obj 46 129 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 64 129 Status control;
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 13 6 DESCRIPTION Gate for keyboard input;
#X text 12 36 KEYWORDS key GUI;
#X text 14 165 INLET_0 - toggle switch;
#X text 14 185 OUTLET_0 - key number;
#X text 14 205 OUTLET_1 - state;
#X text 12 135 VERSION 2006;
#X restore 312 326 pd META;
#X text 12 307 (C) 2006 Joo Pais - jmmmpais@gmail.com;
#X connect 6 0 1 0;
#X connect 6 1 3 0;
#X connect 17 0 6 0;
#N canvas 309 69 360 302 10;
#X obj 15 41 key;
#X obj 48 122 spigot;
#X obj 15 62 sel 27;
#X obj 112 102 tgl 13 0 \$0-bogus \$0-bogus-i empty 0 -6 0 8 -233017
#N canvas 459 72 360 310 10;
#X obj 15 51 key;
#X obj 48 132 spigot;
#X obj 15 72 sel 27;
#X obj 112 112 tgl 13 0 \$0-bogus \$0-bogus-i empty 0 -6 0 8 -233017
-1 -1 0 1;
#X obj 112 62 loadbang;
#X obj 48 152 outlet;
#X obj 112 152 outlet;
#X obj 112 82 \$1;
#X obj 112 42 loadbang;
#X obj 48 162 outlet;
#X obj 112 162 outlet;
#X obj 112 62 \$1;
#X text 12 10 [tastin] - Gate for keyboard input;
#X text 236 85 Outlets;
#X text 236 135 Outlets;
#X text 236 35 Arguments;
#X text 236 55 - State (0 / 1);
#X text 236 105 - key number;
#X text 236 125 - state;
#X text 236 155 Key control;
#X text 236 175 - Esc on / off;
#X text 12 251 (C) 2006 João Pais - jmmmpais@googlemail.com;
#X text 236 155 - key number;
#X text 236 175 - state;
#X text 236 205 Key control;
#X text 236 225 - Esc on / off;
#N canvas 0 0 426 446 license 0;
#X text 8 47 All rights reserved.;
#X text 8 227 The names of its contributors may not be used to endorse
......@@ -42,21 +41,26 @@ in the documentation and/or other materials provided with the distribution.
;
#X text 8 27 jmmmpais@googlemail.com;
#X text 8 7 Copyright 2006 \, João Pais;
#X restore 15 269 pd license;
#X obj 73 102 cnv 13 37 13 empty \$0-label 0 4 8 0 12 -195568 -1 0
#X restore 15 279 pd license;
#X obj 73 112 cnv 13 37 13 empty \$0-label 0 4 8 0 12 -195568 -1 0
;
#X obj 18 222 s \$0-label;
#X msg 18 202 label \$1;
#X obj 18 182 makesymbol;
#X obj 18 232 s \$0-label;
#X msg 18 212 label \$1;
#X obj 122 82 inlet;
#X text 236 85 Inlets;
#X text 236 105 - toggle switch;
#X obj 18 192 makefilename %d;
#X text 12 261 (C) 2006-2015 João Pais - jmmmpais@gmail.com;
#X connect 0 0 2 0;
#X connect 1 0 5 0;
#X connect 2 0 3 0;
#X connect 2 1 1 0;
#X connect 2 1 21 0;
#X connect 2 1 23 0;
#X connect 3 0 1 1;
#X connect 3 0 6 0;
#X connect 4 0 7 0;
#X connect 7 0 3 0;
#X connect 20 0 19 0;
#X connect 21 0 20 0;
#X coords 0 -1 1 1 94 17 1 33 100;
#X connect 19 0 18 0;
#X connect 20 0 3 0;
#X connect 23 0 19 0;
#X coords 0 -1 1 1 94 17 1 33 110;
#N canvas 35 130 301 182 10;
#X text 11 132 (C) 2006 Joo Pais - jmmmpais@googlemail.com;
#X text 11 10 [uhr] - Shows the time;
#X obj 41 61 uhr;
#X text 12 149 Released under the BSD License;
#X text 47 41 H / M / S;
#X text 12 99 Related objects: [stoppuhr] [clock];
#N canvas 504 106 494 344 META 0;
#X text 12 55 AUTHOR Joo Pais <jmmmpais@googlemail.com>;
#X text 12 95 LICENSE BSD;
#X text 12 75 LIBRARY jmmmp;
#X text 13 115 WEBSITE http://puredata.info/Members/jmmmp;
#X text 12 135 VERSION 2006;
#X text 13 6 DESCRIPTION Shows the time;
#X text 12 36 KEYWORDS time GUI;
#X restore 232 156 pd META;
#X text 11 132 (C) 2006-2015 Joo Pais - jmmmpais@gmail.com;
#N canvas 262 338 567 316 10;
#X obj 210 77 metrum 1000 1;
#X obj 210 97 time;
#X msg 107 179 label \$1;
#N canvas 262 338 619 295 10;
#X obj 230 77 metrum 1000 1;
#X obj 230 97 time;
#X msg 117 179 label \$1;
#X obj 77 209 s \$0-stunde;
#X obj 247 209 s \$0-minute;
#X obj 102 42 cnv 13 22 13 empty \$0-stunde 07 2 7 0 11 -233017 -1
#X obj 267 209 s \$0-minute;
#X obj 102 42 cnv 13 22 15 empty \$0-stunde 16 2 8 0 11 -1 -228856
0;
#X obj 126 42 cnv 13 22 13 empty \$0-minute 46 2 7 0 11 -233017 -1
#X obj 125 42 cnv 13 22 15 empty \$0-minute 28 2 8 0 11 -1 -228856
0;
#X obj 150 42 cnv 13 22 13 empty \$0-sek 08 2 7 0 11 -233017 -1 0;
#X obj 427 209 s \$0-sek;
#X obj 377 159 mergefilename;
#X obj 197 159 mergefilename;
#X obj 107 159 mergefilename;
#X text 12 251 (C) 2006 Joo Pais - jmmmpais@googlemail.com;
#X obj 148 42 cnv 13 22 15 empty \$0-sek 52 2 8 0 11 -1 -228856 0;
#X obj 467 209 s \$0-sek;
#N canvas 0 0 426 446 license 0;
#X text 8 47 All rights reserved.;
#X text 8 227 The names of its contributors may not be used to endorse
......@@ -42,36 +38,40 @@ in the documentation and/or other materials provided with the distribution.
#X restore 15 269 pd license;
#X text 11 10 [uhr] - Shows the time;
#X obj 37 129 moses 10;
#X obj 17 159 mergefilename;
#X msg 17 180 label 0\$1;
#X msg 287 179 label \$1;
#X obj 287 159 mergefilename;
#X msg 197 179 label 0\$1;
#X msg 467 179 label \$1;
#X obj 467 159 mergefilename;
#X msg 377 179 label 0\$1;
#X obj 407 129 moses 10;
#X obj 217 129 moses 10;
#X msg 317 179 label \$1;
#X msg 217 179 label 0\$1;
#X msg 517 179 label \$1;
#X msg 417 179 label 0\$1;
#X obj 447 129 moses 10;
#X obj 237 129 moses 10;
#X obj 517 159 makefilename %d;
#X obj 417 159 makefilename %d;
#X obj 317 159 makefilename %d;
#X obj 217 159 makefilename %d;
#X obj 117 159 makefilename %d;
#X obj 17 159 makefilename %d;
#X text 12 251 (C) 2006-2015 João Pais - jmmmpais@gmail.com;
#X connect 0 0 1 0;
#X connect 1 0 15 0;
#X connect 1 1 25 0;
#X connect 1 2 24 0;
#X connect 1 0 11 0;
#X connect 1 1 18 0;
#X connect 1 2 17 0;
#X connect 2 0 3 0;
#X connect 9 0 23 0;
#X connect 10 0 20 0;
#X connect 11 0 2 0;
#X connect 15 0 16 0;
#X connect 15 1 11 0;
#X connect 16 0 17 0;
#X connect 17 0 3 0;
#X connect 18 0 4 0;
#X connect 19 0 18 0;
#X connect 20 0 4 0;
#X connect 21 0 8 0;
#X connect 22 0 21 0;
#X connect 23 0 8 0;
#X connect 24 0 9 0;
#X connect 24 1 22 0;
#X connect 25 0 10 0;
#X connect 25 1 19 0;
#X coords 0 -1 1 1 74 17 1 100 40;
#X connect 11 0 24 0;
#X connect 11 1 23 0;
#X connect 12 0 3 0;
#X connect 13 0 4 0;
#X connect 14 0 4 0;
#X connect 15 0 8 0;
#X connect 16 0 8 0;
#X connect 17 0 20 0;
#X connect 17 1 19 0;
#X connect 18 0 22 0;
#X connect 18 1 21 0;
#X connect 19 0 15 0;
#X connect 20 0 16 0;
#X connect 21 0 13 0;
#X connect 22 0 14 0;
#X connect 23 0 2 0;
#X connect 24 0 12 0;
#X coords 0 -1 1 1 70 17 1 101 41;
......@@ -41,6 +41,10 @@ LIBS =
#
#------------------------------------------------------------------------------#
ifeq ($(macos_target),)
macos_target = 10.9
endif
# get library version from meta file
LIBRARY_VERSION = $(shell sed -n 's|^\#X text [0-9][0-9]* [0-9][0-9]* VERSION \(.*\);|\1|p' $(LIBRARY_NAME)-meta.pd)
......@@ -92,13 +96,13 @@ ifeq ($(UNAME),Darwin)
OPT_CFLAGS = -ftree-vectorize -ftree-vectorizer-verbose=2 -fast
# build universal 32-bit on 10.4 and 32/64 on newer
ifeq ($(shell uname -r | sed 's|\([0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*|\1|'), 8)
FAT_FLAGS = -arch ppc -arch i386 -mmacosx-version-min=10.4
FAT_FLAGS = -arch ppc -arch i386 -mmacosx-version-min=$(macos_target)
else
FAT_FLAGS = -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=10.4
FAT_FLAGS = -arch ppc -arch i386 -arch x86_64 -mmacosx-version-min=$(macos_target)
SOURCES += $(SOURCES_iphoneos)
endif
CFLAGS += $(FAT_FLAGS) -fPIC -I/sw/include
LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup -L/sw/lib
CFLAGS += $(FAT_FLAGS) -fPIC
LDFLAGS += $(FAT_FLAGS) -bundle -undefined dynamic_lookup
# if the 'pd' binary exists, check the linking against it to aid with stripping
LDFLAGS += $(shell test -e $(PD_PATH)/bin/pd && echo -bundle_loader $(PD_PATH)/bin/pd)
LIBS += -lc
......