annotate 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
rev   line source
arthur@0 1 #N canvas 640 209 759 266 10;
arthur@0 2 #X obj 62 -384 inlet;
arthur@0 3 #X obj -12 -264 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
arthur@0 4 -1 -1;
arthur@0 5 #X floatatom -12 -214 10 0 0 0 - - -;
arthur@0 6 #X text 54 -216 (debug) pour vérifier si la taille a bien été modifié
arthur@0 7 ;
arthur@0 8 #X obj -12 -240 arraysize fx_soundtrack;
arthur@0 9 #X msg 67 -337 \; fx_soundtrack resize \$1;
arthur@0 10 #X floatatom -15 -316 5 0 0 0 - - -;
arthur@0 11 #X obj -15 -291 t b f;
arthur@0 12 #X text 95 -385 desired length (sample number);
arthur@0 13 #X obj -233 -386 inlet;
arthur@0 14 #X obj -217 -360 bng 10 250 50 0 empty empty empty 17 7 0 10 -262144
arthur@0 15 -1 -1;
arthur@0 16 #X msg -232 -345 \; fx_soundtrack const 0 \;;
arthur@0 17 #X text -195 -386 bang to clear array;
arthur@0 18 #X msg -12 -191 \; fx_soundtrack const 0.5 \;;
arthur@0 19 #X text -242 -456 This patch create a array called fx_soundtrack and
arthur@0 20 adjust its length in samples. First inlet allows to clear fx_sountrack
arthur@0 21 ;
arthur@0 22 #X connect 0 0 5 0;
arthur@0 23 #X connect 1 0 4 0;
arthur@0 24 #X connect 4 0 2 0;
arthur@0 25 #X connect 6 0 7 0;
arthur@0 26 #X connect 7 0 1 0;
arthur@0 27 #X connect 7 1 5 0;
arthur@0 28 #X connect 9 0 11 0;
arthur@0 29 #X connect 10 0 11 0;
arthur@0 30 #X coords 0 266 1 265 300 120 0;