aboutsummaryrefslogtreecommitdiff
path: root/blocksize_in_ms.pd
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
commit4323fc65e88099343528588ffb415df206b118b8 (patch)
treeb62a922663ee96d5ca8045033498ee4870e257d4 /blocksize_in_ms.pd
parentce1334bca42bd81ed22aaa0a12b067cf495426f7 (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/; revision=2359
Diffstat (limited to 'blocksize_in_ms.pd')
-rw-r--r--blocksize_in_ms.pd25
1 files changed, 25 insertions, 0 deletions
diff --git a/blocksize_in_ms.pd b/blocksize_in_ms.pd
new file mode 100644
index 0000000..6a42b0e
--- /dev/null
+++ b/blocksize_in_ms.pd
@@ -0,0 +1,25 @@
+#N canvas 0 22 454 304 10;
+#X obj 178 272 outlet;
+#X obj 164 31 inlet;
+#X obj 164 56 bang;
+#X text 209 31 bang to recalculate;
+#X obj 164 124 samplerate~;
+#X obj 183 98 loadbang;
+#X obj 178 192 /;
+#X msg 164 170 64;
+#X obj 164 151 t b f;
+#X obj 147 104 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X text 30 170 default block size:;
+#X text 8 25 [blocksize_in_ms];
+#X obj 178 229 * 1000;
+#X connect 1 0 2 0;
+#X connect 2 0 4 0;
+#X connect 4 0 8 0;
+#X connect 5 0 4 0;
+#X connect 6 0 12 0;
+#X connect 7 0 6 0;
+#X connect 8 0 7 0;
+#X connect 8 1 6 1;
+#X connect 9 0 4 0;
+#X connect 12 0 0 0;