aboutsummaryrefslogtreecommitdiff
path: root/examples/gems-movies_with_sound~.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gems-movies_with_sound~.pd')
-rw-r--r--examples/gems-movies_with_sound~.pd43
1 files changed, 43 insertions, 0 deletions
diff --git a/examples/gems-movies_with_sound~.pd b/examples/gems-movies_with_sound~.pd
new file mode 100644
index 0000000..1ed8495
--- /dev/null
+++ b/examples/gems-movies_with_sound~.pd
@@ -0,0 +1,43 @@
+#N canvas 804 121 441 494 10;
+#X declare -lib Gem;
+#X obj 23 59 gemhead;
+#X obj 23 398 pix_texture;
+#X obj 23 450 square;
+#X obj 236 60 tgl 15 0 empty empty empty 0 -6 0 10 -262144 -1 -1 1
+1;
+#X obj 236 84 mtl/gemsWin /dimen 320 320;
+#X obj 23 424 mtl/gemsFit window;
+#X obj 180 295 mtl/out~;
+#X obj 43 91 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 43 175 openpanel;
+#X obj 23 362 mtl/gemsMovies;
+#X obj 179 131 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 84 309 snapshot~;
+#X obj 23 249 t a b;
+#X obj 180 175 mtl/sfIndexer;
+#X obj 179 154 openpanel;
+#X text 63 88 1) Load movie here;
+#X text 201 128 2) Load soundfile here;
+#X msg 180 199 set \$1 \, bang;
+#X text 22 10 How to play a movie synchronized to a soundfile.;
+#X obj 180 228 mtl/player~ 1;
+#X obj 328 61 import Gem;
+#X connect 0 0 12 0;
+#X connect 1 0 5 0;
+#X connect 3 0 4 0;
+#X connect 5 0 2 0;
+#X connect 7 0 8 0;
+#X connect 8 0 9 1;
+#X connect 9 0 1 0;
+#X connect 10 0 14 0;
+#X connect 11 0 9 3;
+#X connect 12 0 9 0;
+#X connect 12 1 11 0;
+#X connect 13 0 17 0;
+#X connect 14 0 13 0;
+#X connect 17 0 19 0;
+#X connect 19 0 6 0;
+#X connect 19 0 6 1;
+#X connect 19 1 11 0;