aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-12-05 23:08:45 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2004-12-05 23:08:45 +0000
commit983b9c29c33ce1b1ac9e3c831cd48adaae932925 (patch)
treebef1eff5352f8fc45a0d717488d49aff2f267b5d
parent93cbb8a070284a2dcdae333091bc0d1860426bee (diff)
added generic object for getting the blocksize and outputing in ms. Currently this is fixed at a blocksize of 64, but once the changable blocksize is fully implemented, this object should use the actual current blocksize.
svn path=/trunk/externals/hcs/pan/; revision=2359
-rw-r--r--linearpan~.pd44
1 files changed, 18 insertions, 26 deletions
diff --git a/linearpan~.pd b/linearpan~.pd
index 4128aff..d7489b9 100644
--- a/linearpan~.pd
+++ b/linearpan~.pd
@@ -1,4 +1,4 @@
-#N canvas 149 216 438 560 10;
+#N canvas 149 83 442 564 10;
#X obj 121 27 inlet~;
#X obj 233 26 inlet;
#X obj 30 443 *~;
@@ -16,50 +16,42 @@
#X obj 196 418 line~;
#X obj 46 418 line~;
#X text 10 17 [linearpan~];
-#X obj 297 162 samplerate~;
-#X obj 297 141 loadbang;
-#X obj 311 230 /;
-#X msg 297 208 64;
-#X obj 297 189 t b f;
-#X floatatom 304 272 8 0 0 3 block_size_in_secs - -;
-#X obj 280 142 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+#X obj 287 183 loadbang;
+#X floatatom 295 244 7 0 0 3 block_size_in_ms - -;
+#X obj 270 184 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 196 337 t f b;
#X obj 226 356 f;
#X obj 196 379 pack f f;
#X msg 196 399 \$1 \$2;
-#X text 163 208 default block size:;
#X obj 46 337 t f b;
#X obj 76 356 f;
#X obj 46 379 pack f f;
#X msg 46 399 \$1 \$2;
+#X obj 287 215 blocksize_in_ms;
#X connect 0 0 2 0;
#X connect 0 0 4 0;
#X connect 1 0 9 0;
#X connect 2 0 3 0;
#X connect 4 0 5 0;
#X connect 8 0 11 0;
-#X connect 8 0 24 0;
+#X connect 8 0 20 0;
#X connect 9 0 8 0;
-#X connect 11 0 29 0;
+#X connect 11 0 24 0;
#X connect 14 0 4 1;
#X connect 15 0 2 1;
-#X connect 17 0 21 0;
-#X connect 18 0 17 0;
-#X connect 19 0 22 0;
-#X connect 19 0 25 1;
-#X connect 19 0 30 1;
-#X connect 20 0 19 0;
-#X connect 21 0 20 0;
-#X connect 21 1 19 1;
-#X connect 23 0 17 0;
+#X connect 17 0 28 0;
+#X connect 19 0 28 0;
+#X connect 20 0 22 0;
+#X connect 20 1 21 0;
+#X connect 21 0 22 1;
+#X connect 22 0 23 0;
+#X connect 23 0 14 0;
#X connect 24 0 26 0;
#X connect 24 1 25 0;
#X connect 25 0 26 1;
#X connect 26 0 27 0;
-#X connect 27 0 14 0;
-#X connect 29 0 31 0;
-#X connect 29 1 30 0;
-#X connect 30 0 31 1;
-#X connect 31 0 32 0;
-#X connect 32 0 15 0;
+#X connect 27 0 15 0;
+#X connect 28 0 18 0;
+#X connect 28 0 21 1;
+#X connect 28 0 25 1;