arthur@0: #N canvas 640 209 759 266 10; arthur@0: #X obj 62 -384 inlet; arthur@0: #X obj -12 -264 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 arthur@0: -1 -1; arthur@0: #X floatatom -12 -214 10 0 0 0 - - -; arthur@0: #X text 54 -216 (debug) pour vérifier si la taille a bien été modifié arthur@0: ; arthur@0: #X obj -12 -240 arraysize fx_soundtrack; arthur@0: #X msg 67 -337 \; fx_soundtrack resize \$1; arthur@0: #X floatatom -15 -316 5 0 0 0 - - -; arthur@0: #X obj -15 -291 t b f; arthur@0: #X text 95 -385 desired length (sample number); arthur@0: #X obj -233 -386 inlet; arthur@0: #X obj -217 -360 bng 10 250 50 0 empty empty empty 17 7 0 10 -262144 arthur@0: -1 -1; arthur@0: #X msg -232 -345 \; fx_soundtrack const 0 \;; arthur@0: #X text -195 -386 bang to clear array; arthur@0: #X msg -12 -191 \; fx_soundtrack const 0.5 \;; arthur@0: #X text -242 -456 This patch create a array called fx_soundtrack and arthur@0: adjust its length in samples. First inlet allows to clear fx_sountrack arthur@0: ; arthur@0: #X connect 0 0 5 0; arthur@0: #X connect 1 0 4 0; arthur@0: #X connect 4 0 2 0; arthur@0: #X connect 6 0 7 0; arthur@0: #X connect 7 0 1 0; arthur@0: #X connect 7 1 5 0; arthur@0: #X connect 9 0 11 0; arthur@0: #X connect 10 0 11 0; arthur@0: #X coords 0 266 1 265 300 120 0;