diff 2_tools/a_create_empty_track.pd @ 0:1e4a5698edfc tip

Commit of all patches presented the 27.03.2015.
author arthur mingasson <arthur.mingasson@gmail.com>
date Tue, 31 Mar 2015 12:56:24 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/2_tools/a_create_empty_track.pd	Tue Mar 31 12:56:24 2015 +0200
@@ -0,0 +1,30 @@
+#N canvas 640 209 759 266 10;
+#X obj 62 -384 inlet;
+#X obj -12 -264 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X floatatom -12 -214 10 0 0 0 - - -;
+#X text 54 -216 (debug) pour vérifier si la taille a bien été modifié
+;
+#X obj -12 -240 arraysize fx_soundtrack;
+#X msg 67 -337 \; fx_soundtrack resize \$1;
+#X floatatom -15 -316 5 0 0 0 - - -;
+#X obj -15 -291 t b f;
+#X text 95 -385 desired length (sample number);
+#X obj -233 -386 inlet;
+#X obj -217 -360 bng 10 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X msg -232 -345 \; fx_soundtrack const 0 \;;
+#X text -195 -386 bang to clear array;
+#X msg -12 -191 \; fx_soundtrack const 0.5 \;;
+#X text -242 -456 This patch create a array called fx_soundtrack and
+adjust its length in samples. First inlet allows to clear fx_sountrack
+;
+#X connect 0 0 5 0;
+#X connect 1 0 4 0;
+#X connect 4 0 2 0;
+#X connect 6 0 7 0;
+#X connect 7 0 1 0;
+#X connect 7 1 5 0;
+#X connect 9 0 11 0;
+#X connect 10 0 11 0;
+#X coords 0 266 1 265 300 120 0;