Commit 319355a4 authored by J Reso's avatar J Reso
Browse files

add video-images, update video-out with arguments, change images from medias

parent c6ca656b
......@@ -2,7 +2,7 @@
A Free Open Source Kit To Simplify Programming Interactivity
- Version: 0.90 (beta)
- Language: English, French
- Languages: English, French
- Date: 07/2015
- Contact: contact_at_reso-nance.org
- Website: http://reso-nance.org/malinette
......@@ -15,7 +15,7 @@ Malinette is an all-in-one solution, a rapid prototyping tool to show and make s
## Requirements
- Computer : a decent computer (>2005 is adviced)
- Operating system : should work on Mac OS X, MS Windows, and main distributions GNU/Linux
- Operating system : should work on Mac OS X, MS Windows, and main GNU/Linux distributions
- Install Pure Data extended 0.43.4 : http://puredata.info/community/projects/software/pd-extended
- Optional, if you want to use an Arduino, download the Arduino software : http://www.arduino.cc/en/Main/Software. Plug the USB board, install drivers if required, and upload the "StandardFirmata" sketch from the Arduino software : Menu File > Examples > Firmata > StandardFirmata
......
#N canvas 131 81 618 416 10;
#X obj 76 239 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144 -1
-1 1;
#X msg 397 279 create \, 1;
#X obj 397 360 gemwin;
#X msg 407 304 0 \, destroy;
#X text 473 279 <- on;
#X text 479 305 <- off;
#X msg 413 335 reset \, dimen 640 480;
#X obj 76 277 video-images;
#X obj 76 347 rectangle 4 3;
#X obj 76 322 pix_texture;
#X text 70 44 video-images \; ---------------- \; Load several
pictures from a folder \; Pictures must be like that : path/filename*.jpeg
numberofpics-1 \; and might start by filename0.jpg \; \; 1st inlet
: numero d'image \; 2nd inlet : chemin (ex:open ../../data/images/d/d*.jpeg
10 );
#X text 236 216 > Open folder/pattern numberofimages;
#X msg 239 234 open ../../medias/images/train/d*.jpg 10;
#X connect 0 0 7 0;
#N canvas 621 116 688 548 10;
#X declare -path ../../abstractions/in -path ../../abstractions/out
-path ../../abstractions/numbers -path ../../abstractions/video -path
../../abstractions/audio -path ../../abstractions/core -path ../../abstractions/brutbox
-path ../../abstractions/seq;
#X declare -path ../core;
#X obj 122 261 hradio 10 1 0 14 empty empty Images 5 -8 0 10 -262144
-1 -1 13;
#X msg 477 51 create \, 1;
#X obj 477 132 gemwin;
#X msg 487 76 0 \, destroy;
#X text 553 51 <- on;
#X text 559 77 <- off;
#X msg 493 107 reset \, dimen 640 480;
#X text 70 44 video-images \; ---------------- \; Load several pictures
from a folder \; Pictures must be like that : path/filename*.jpeg numberofpics-1
\; and might start by filename0.jpg \; \; 1st inlet : numero d'image
\; 2nd inlet : chemin (ex:open ../../data/images/d/d*.jpeg 10 );
#X msg 227 399 file ../../medias/images/tmp.jpg;
#X obj 76 347 video-images;
#X msg 225 304 folder ../../medias/images/robot;
#X msg 226 330 files ../../medias/images/robot/robot*.jpg 13;
#X text 224 279 Open a folder of images;
#X text 225 373 Open an image;
#X obj 76 316 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 522 198 ../include;
#X obj 122 199 seq-count 14;
#X obj 76 417 video-out 1 2 1;
#X connect 0 0 9 1;
#X connect 1 0 2 0;
#X connect 3 0 2 0;
#X connect 6 0 2 0;
#X connect 7 0 9 0;
#X connect 9 0 8 0;
#X connect 12 0 7 1;
#X connect 8 0 9 2;
#X connect 9 0 17 0;
#X connect 10 0 9 2;
#X connect 11 0 9 2;
#X connect 14 0 9 0;
#X connect 16 0 0 0;
#N canvas 516 81 615 404 10;
#X obj 102 152 gemhead;
#X obj 102 226 pix_texture;
#X obj 183 154 inlet;
#X obj 102 260 outlet;
#X text 92 308 ouvrir le dossier et nommer nomdufichier*.jpg nombre
d'image -1;
#X obj 313 163 initbang;
#X obj 235 154 inlet;
#X obj 102 115 tgl 10 0 empty empty empty 17 7 1 9 -262110 -1 -1 1
1;
#X obj 102 203 pix_multiimage;
#X obj 102 69 initbang;
#X msg 313 187 open ../../data/images/train/d*.jpg 10;
#X connect 0 0 8 0;
#X connect 1 0 3 0;
#X connect 2 0 8 1;
#X connect 5 0 10 0;
#X connect 6 0 8 0;
#X connect 7 0 0 0;
#X connect 8 0 1 0;
#X connect 9 0 7 0;
#X connect 10 0 8 0;
#X coords 0 -1 1 1 85 30 1 100 100;
#N canvas 504 87 748 649 10;
#X obj 131 287 gemhead;
#X obj 277 290 inlet;
#X obj 109 357 outlet;
#X obj 409 133 inlet;
#X obj 197 314 pix_multiimage;
#X obj 94 53 initbang;
#X obj 29 65 inlet on;
#X obj 26 93 s \$0-on-in;
#X obj 100 117 cnv 10 98 10 empty \$0-cnv robot 15 5 1 9 -262110 -1
0;
#X obj 190 117 tgl 10 0 \$0-on \$0-on-in empty 3 6 1 9 -262110 -1 -1
1 1;
#X obj 109 332 switch 2;
#X obj 131 307 pix_image;
#X obj 131 266 r \$0-on;
#X obj 100 117 bng 10 250 50 0 \$0-open \$0-open-in o 3 5 0 8 -262110
-1 -1;
#X obj 489 219 file_type;
#X obj 495 337 folder_list;
#X obj 60 204 openpanel;
#X msg 64 259 open \$1;
#X obj 61 181 r \$0-open;
#X msg 90 304 1;
#X obj 196 293 gemhead;
#X obj 196 272 r \$0-on;
#X obj 127 205 r \$0-file;
#X obj 65 233 t a b;
#X obj 409 182 symbol;
#X obj 409 207 s \$0-file;
#X obj 216 169 splitfilename /;
#X msg 303 191 label \$1;
#X obj 303 215 s \$0-cnv;
#X obj 489 179 symbol;
#X obj 489 199 t a a;
#X obj 489 263 symbol;
#X obj 489 240 sel folder;
#X obj 607 207 l2s;
#X msg 607 183 error:not a folder;
#X msg 512 88 folder ../../medias/images/robot;
#X obj 495 310 makefilename %s/*;
#X obj 592 395 f;
#X obj 622 397 + 1;
#X msg 625 376 0;
#X obj 495 393 splitfilename .;
#X obj 495 360 t a b;
#X msg 61 301 2;
#X obj 589 282 splitfilename /;
#X obj 491 285 t a a b a;
#X obj 495 416 splitfilename /;
#X obj 409 156 route file folder files;
#X obj 535 187 s \$0-files;
#X obj 321 313 r \$0-files;
#X msg 440 43 files ../../medias/images/robot/robot*.jpg 13;
#X msg 309 381 open \$1 \$2;
#X obj 309 359 list;
#X symbolatom 582 538 10 0 0 0 - - -;
#X obj 636 455 mrpeach/str;
#X obj 699 476 - 1;
#X obj 582 438 t a a;
#X obj 582 498 mrpeach/str nsplit 6;
#X obj 582 518 mrpeach/str to_symbol;
#X obj 428 461 pack s s s f;
#X msg 582 559 label \$1;
#X obj 582 583 s \$0-cnv;
#X msg 607 229 label \$1;
#X obj 607 253 s \$0-cnv;
#X msg 429 489 open \$1/\$2*.\$3 \$4;
#X obj 312 336 t a b;
#X connect 0 0 11 0;
#X connect 1 0 4 1;
#X connect 3 0 46 0;
#X connect 4 0 10 2;
#X connect 5 0 7 0;
#X connect 6 0 7 0;
#X connect 10 0 2 0;
#X connect 11 0 10 1;
#X connect 12 0 0 0;
#X connect 14 0 32 0;
#X connect 15 0 41 0;
#X connect 16 0 23 0;
#X connect 17 0 11 0;
#X connect 18 0 16 0;
#X connect 19 0 10 0;
#X connect 20 0 4 0;
#X connect 21 0 20 0;
#X connect 22 0 23 0;
#X connect 23 0 17 0;
#X connect 23 0 26 0;
#X connect 23 1 19 0;
#X connect 24 0 25 0;
#X connect 26 1 27 0;
#X connect 27 0 28 0;
#X connect 29 0 30 0;
#X connect 30 0 14 0;
#X connect 30 1 31 1;
#X connect 31 0 44 0;
#X connect 32 0 31 0;
#X connect 32 1 34 0;
#X connect 33 0 61 0;
#X connect 34 0 33 0;
#X connect 35 0 46 0;
#X connect 36 0 15 0;
#X connect 37 0 38 0;
#X connect 37 0 58 3;
#X connect 38 0 37 1;
#X connect 39 0 37 1;
#X connect 40 0 45 0;
#X connect 40 1 58 2;
#X connect 41 0 40 0;
#X connect 41 1 37 0;
#X connect 42 0 10 0;
#X connect 44 0 58 0;
#X connect 44 1 36 0;
#X connect 44 2 39 0;
#X connect 44 2 42 0;
#X connect 44 3 43 0;
#X connect 45 1 55 0;
#X connect 46 0 24 0;
#X connect 46 1 29 0;
#X connect 46 2 47 0;
#X connect 48 0 64 0;
#X connect 49 0 46 0;
#X connect 50 0 4 0;
#X connect 51 0 50 0;
#X connect 52 0 59 0;
#X connect 53 1 54 0;
#X connect 54 0 56 1;
#X connect 55 0 56 0;
#X connect 55 1 53 0;
#X connect 56 0 57 0;
#X connect 57 0 52 0;
#X connect 57 0 58 1;
#X connect 58 0 63 0;
#X connect 59 0 60 0;
#X connect 61 0 62 0;
#X connect 63 0 4 0;
#X connect 64 0 51 0;
#X connect 64 1 42 0;
#X coords 0 -1 1 1 100 30 1 100 100;
#N canvas 264 302 1032 453 10;
#N canvas 262 303 1032 453 10;
#X obj 151 117 cnv 10 138 20 empty empty empty 3 6 0 10 -262110 -1
0;
#X obj 223 394 cube;
#X obj 715 399 model;
#X obj 272 394 sphere;
#X obj 150 128 hradio 10 1 0 6 \$0-object \$0-object-in empty 0 -5
0 8 -262110 -1 -1 5;
0 8 -262110 -1 -1 0;
#X obj 137 203 + 1;
#X obj 137 232 gate 6;
#X obj 382 394 circle;
......@@ -19,7 +19,7 @@
#X obj 494 24 inlet command;
#X obj 213 128 bng 10 250 50 0 \$0-open \$0-open-in o 3 5 0 8 -262110
-1 -1;
#X obj 704 300 openpanel;
#X obj 717 297 openpanel;
#X msg 717 350 open \$1;
#X obj 170 161 inlet gemList;
#X msg 838 401 smooth \$1;
......@@ -92,9 +92,9 @@
#X connect 23 0 7 0;
#X restore 51 173 pd \$0-cnv;
#X obj 850 257 hcs/file_type;
#X obj 151 117 cnv 10 50 10 empty \$0-cnv-object model_3d 1 6 0 8 -262110
#X obj 151 117 cnv 10 50 10 empty \$0-cnv-object cube 1 6 0 8 -262110
-1 0;
#X obj 704 276 r \$0-open;
#X obj 717 273 r \$0-open;
#X obj 850 281 sel file;
#X obj 774 324 symbol;
#X obj 654 208 route seg rad;
......
#N canvas 1 172 608 483 10;
#X obj 170 310 * 4;
#X obj 367 300 * 3;
#X obj 476 32 initbang;
#X obj 315 24 inlet;
#X obj 418 27 inlet;
#X msg 340 67 1;
#X obj 418 118 unpack f f;
#X obj 406 309 /;
#X obj 170 332 * 1.333;
#X obj 367 338 * 1.333;
#X obj 418 87 t a a;
#X msg 476 62 4 3;
#X obj 367 261 t b f;
#X obj 184 281 t b f;
#X obj 92 188 inlet;
#X text 80 171 gemList;
#X text 317 2 scale;
#X text 414 8 ratio (list);
#X obj 92 250 pix_texture;
#X obj 92 397 outlet;
#N canvas 1 173 955 483 10;
#X obj 170 350 * 4;
#X obj 262 340 * 3;
#X obj 413 97 inlet;
#X obj 516 100 inlet;
#X obj 516 191 unpack f f;
#X obj 301 349 /;
#X obj 170 372 * 1.333;
#X obj 262 378 * 1.333;
#X obj 516 160 t a a;
#X obj 262 301 t b f;
#X obj 184 321 t b f;
#X obj 92 228 inlet;
#X text 80 211 gemList;
#X text 415 75 scale;
#X text 512 81 ratio (list);
#X obj 92 290 pix_texture;
#X obj 92 437 outlet;
#X obj 101 116 cnv 10 98 21 empty empty empty 3 6 0 10 -262110 -1 0
;
#X obj 143 127 nbx 2 10 1 99 0 0 \$0-ratio-x \$0-ratio-x-in ratio 0
-5 0 8 -262110 -1 -1 4 256;
#X obj 178 127 nbx 2 10 1 99 0 0 \$0-ratio-y \$0-ratio-y-in empty 0
-5 0 8 -262110 -1 -1 3 256;
#X obj 184 253 r \$0-ratio-x;
#X obj 367 236 r \$0-ratio-y;
#X obj 170 199 r \$0-scale;
#X obj 184 293 r \$0-ratio-x;
#X obj 262 276 r \$0-ratio-y;
#X obj 170 239 r \$0-scale;
#X obj 100 127 nbx 2 10 0 99 0 0 \$0-scale \$0-scale-in scale 1 -5
0 8 -262110 -1 -1 1 256;
#X obj 315 92 s \$0-scale-in;
#X obj 418 179 s \$0-ratio-x-in;
#X obj 413 165 s \$0-scale-in;
#X obj 516 252 s \$0-ratio-x-in;
#X text 167 122 /;
#X obj 433 152 s \$0-ratio-y-in;
#X obj 92 355 rectangle 5.333 4;
#X obj 406 285 r \$0-ratio;
#X obj 503 116 s \$0-ratio;
#X connect 0 0 8 0;
#X connect 1 0 9 0;
#X connect 2 0 5 0;
#X connect 2 0 11 0;
#X connect 3 0 27 0;
#X connect 4 0 10 0;
#X connect 5 0 27 0;
#X connect 6 0 28 0;
#X connect 6 1 30 0;
#X connect 7 0 8 1;
#X connect 7 0 9 1;
#X connect 8 0 31 1;
#X connect 9 0 31 2;
#X connect 10 0 6 0;
#X connect 10 1 33 0;
#X connect 11 0 10 0;
#X connect 12 0 1 0;
#X connect 12 1 1 1;
#X connect 13 0 0 0;
#X connect 13 1 0 1;
#X connect 14 0 18 0;
#X connect 18 0 31 0;
#X connect 23 0 13 0;
#X connect 24 0 12 0;
#X connect 25 0 1 0;
#X connect 25 0 0 0;
#X connect 31 0 19 0;
#X connect 32 0 7 0;
#X obj 531 225 s \$0-ratio-y-in;
#X obj 92 395 rectangle 5.333 4;
#X obj 301 325 r \$0-ratio;
#X obj 601 189 s \$0-ratio;
#X obj 640 104 f \$1;
#X obj 640 127 sel 0;
#X msg 640 149 1;
#X obj 640 53 initbang;
#X obj 640 80 t b b b;
#X obj 677 126 sel 0;
#X obj 715 127 sel 0;
#X obj 677 103 f \$2;
#X obj 715 104 f \$3;
#X msg 677 148 4;
#X msg 715 149 3;
#X obj 676 174 pack f f;
#X connect 0 0 6 0;
#X connect 1 0 7 0;
#X connect 2 0 24 0;
#X connect 3 0 8 0;
#X connect 4 0 25 0;
#X connect 4 1 27 0;
#X connect 5 0 6 1;
#X connect 5 0 7 1;
#X connect 6 0 28 1;
#X connect 7 0 28 2;
#X connect 8 0 4 0;
#X connect 8 1 30 0;
#X connect 9 0 1 0;
#X connect 9 1 1 1;
#X connect 10 0 0 0;
#X connect 10 1 0 1;
#X connect 11 0 15 0;
#X connect 15 0 28 0;
#X connect 20 0 10 0;
#X connect 21 0 9 0;
#X connect 22 0 1 0;
#X connect 22 0 0 0;
#X connect 28 0 16 0;
#X connect 29 0 5 0;
#X connect 31 0 32 0;
#X connect 32 0 33 0;
#X connect 32 1 24 0;
#X connect 33 0 24 0;
#X connect 34 0 35 0;
#X connect 35 0 31 0;
#X connect 35 1 38 0;
#X connect 35 2 39 0;
#X connect 36 0 40 0;
#X connect 36 1 42 0;
#X connect 37 0 41 0;
#X connect 37 1 42 1;
#X connect 38 0 36 0;
#X connect 39 0 37 0;
#X connect 40 0 42 0;
#X connect 41 0 42 1;
#X connect 42 0 8 0;
#X coords 0 -1 1 1 100 40 1 100 100;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment