aboutsummaryrefslogtreecommitdiff
path: root/serializer/b2f-help.pd
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2013-03-13 19:02:25 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2013-03-13 19:02:25 +0000
commit812922a639c8540d5ef78d9fcdbabd23d09d9025 (patch)
tree5fd34615595bb3dc9df959193727098d243741af /serializer/b2f-help.pd
parent29f3ad712f9c029120da2aabd123c7a513756f12 (diff)
Two objects to convert between floats and their binary representation as bytes, so you can send floats through [comport] for example.
svn path=/trunk/externals/mrpeach/; revision=17064
Diffstat (limited to 'serializer/b2f-help.pd')
-rw-r--r--serializer/b2f-help.pd14
1 files changed, 14 insertions, 0 deletions
diff --git a/serializer/b2f-help.pd b/serializer/b2f-help.pd
new file mode 100644
index 0000000..fc5a295
--- /dev/null
+++ b/serializer/b2f-help.pd
@@ -0,0 +1,14 @@
+#N canvas 666 174 450 300 10;
+#X obj 103 178 b2f;
+#X msg 103 83 0 1 2 3;
+#X text 77 53 [b2f] converts lists of 4 bytes to floats.;
+#X text 43 17 Assuming you received 4 bytes as a binary representation
+of a floating-point number \,;
+#X text 234 258 Martin Peach 2013_03_13;
+#X msg 181 83 208 15 73 64;
+#X floatatom 103 209 12 0 0 0 - - -;
+#X msg 269 83 219 15 73 64;
+#X connect 0 0 6 0;
+#X connect 1 0 0 0;
+#X connect 5 0 0 0;
+#X connect 7 0 0 0;