aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-07-01 03:21:42 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2010-07-01 03:21:42 +0000
commit7d4919ac6d02bfb16afd14391a6fce9c9fbe8fe8 (patch)
treef693046d57537037681a96479c7835e08099907c
parent3e4b9b3bd83c1b8e086093cc02407c78ef38c015 (diff)
started grab bag section of random stuff, using this object to control iTunes on Mac OS X
svn path=/trunk/externals/hcs/; revision=13689
-rw-r--r--grabbag/itunes-help.pd20
-rw-r--r--grabbag/itunes.pd22
2 files changed, 42 insertions, 0 deletions
diff --git a/grabbag/itunes-help.pd b/grabbag/itunes-help.pd
new file mode 100644
index 0000000..c965f45
--- /dev/null
+++ b/grabbag/itunes-help.pd
@@ -0,0 +1,20 @@
+#N canvas 75 354 450 300 10;
+#X obj 71 226 itunes;
+#X msg 85 80 next;
+#X msg 94 105 play;
+#X msg 98 128 pause;
+#X msg 70 58 previous;
+#X obj 104 159 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 5700 1;
+#X msg 101 177 set sound volume to \$1;
+#X msg 100 203 set EQ enabled to true;
+#X obj 55 270 pddp/pddplink http://dougscripts.com/itunes/itinfo/info01.php
+;
+#X text 34 20 On Mac OS X \, control iTunes;
+#X connect 1 0 0 0;
+#X connect 2 0 0 0;
+#X connect 3 0 0 0;
+#X connect 4 0 0 0;
+#X connect 5 0 6 0;
+#X connect 6 0 0 0;
+#X connect 7 0 0 0;
diff --git a/grabbag/itunes.pd b/grabbag/itunes.pd
new file mode 100644
index 0000000..781d0e4
--- /dev/null
+++ b/grabbag/itunes.pd
@@ -0,0 +1,22 @@
+#N canvas 59 74 428 314 10;
+#X obj 46 28 inlet;
+#X obj 99 169 zexy/list2symbol;
+#X obj 99 147 list;
+#X msg 142 116 next track;
+#X obj 44 91 bang;
+#X obj 143 92 bang;
+#X obj 99 258 motex/system;
+#X msg 99 196 osascript -e 'tell application "iTunes" to \$1' &;
+#X obj 46 56 route previous next;
+#X msg 44 117 previous track;
+#X connect 0 0 8 0;
+#X connect 1 0 7 0;
+#X connect 2 0 1 0;
+#X connect 3 0 2 0;
+#X connect 4 0 9 0;
+#X connect 5 0 3 0;
+#X connect 7 0 6 0;
+#X connect 8 0 4 0;
+#X connect 8 1 5 0;
+#X connect 8 2 2 0;
+#X connect 9 0 2 0;