aboutsummaryrefslogtreecommitdiff
path: root/fans.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-24 06:13:56 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-10-24 06:13:56 +0000
commit931f134eeca5a1cd75993fc4bb0ed299ee1e0ac0 (patch)
tree65ec7ff007a13b51131787dc44670e01b8765dd1 /fans.pd
parent6c8e28d20a69aa770932a4a0f9e81f94911cb276 (diff)
added the ability to query anything and made two patches based on that to get specific info: cpu temp and fan info
svn path=/trunk/externals/apple/; revision=12659
Diffstat (limited to 'fans.pd')
-rw-r--r--fans.pd48
1 files changed, 48 insertions, 0 deletions
diff --git a/fans.pd b/fans.pd
new file mode 100644
index 0000000..a66215b
--- /dev/null
+++ b/fans.pd
@@ -0,0 +1,48 @@
+#N canvas 421 265 450 300 10;
+#X obj 164 29 inlet;
+#X obj 146 263 outlet;
+#X obj 197 263 outlet;
+#X obj 26 112 route FNum;
+#X msg 116 119 F\$1Ac;
+#X msg 157 119 F\$1Mn;
+#X msg 200 119 F\$1Mx;
+#X msg 241 119 F\$1Sf;
+#X msg 283 119 F\$1Tg;
+#X obj 146 229 apple/smc;
+#X obj 338 120 symbol FNum;
+#N canvas 0 22 450 300 gen 0;
+#X obj 92 9 inlet;
+#X obj 93 270 outlet;
+#X obj 93 136 until;
+#X obj 93 172 float;
+#X obj 134 172 + 1;
+#X msg 180 123 0;
+#X obj 92 74 trigger anything bang;
+#X connect 0 0 6 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 3 0 1 0;
+#X connect 4 0 3 1;
+#X connect 5 0 3 1;
+#X connect 6 0 2 0;
+#X connect 6 1 5 0;
+#X restore 26 133 pd gen fnums;
+#X obj 164 51 route float bang;
+#X connect 0 0 12 0;
+#X connect 3 0 11 0;
+#X connect 4 0 9 0;
+#X connect 5 0 9 0;
+#X connect 6 0 9 0;
+#X connect 7 0 9 0;
+#X connect 8 0 9 0;
+#X connect 9 0 1 0;
+#X connect 9 0 3 0;
+#X connect 9 1 2 0;
+#X connect 10 0 9 0;
+#X connect 11 0 12 0;
+#X connect 12 0 4 0;
+#X connect 12 0 5 0;
+#X connect 12 0 6 0;
+#X connect 12 0 7 0;
+#X connect 12 0 8 0;
+#X connect 12 1 10 0;