aboutsummaryrefslogtreecommitdiff
path: root/pwm~.pd
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-01-17 05:06:52 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-01-17 05:06:52 +0000
commit111ef5570f28f282675da03c58c43bb89f7acbeb (patch)
tree9bdefdf1c3aa15b95dad5b874df9e4696963c31b /pwm~.pd
parent39866a114de08ed8f42e67126d8699ac0d3e70c3 (diff)
some objects used for generating PWM signals within Pd. These were used with a MIDI->relay board to control the speed of a motor.
svn path=/trunk/externals/hcs/; revision=4431
Diffstat (limited to 'pwm~.pd')
-rw-r--r--pwm~.pd23
1 files changed, 23 insertions, 0 deletions
diff --git a/pwm~.pd b/pwm~.pd
new file mode 100644
index 0000000..81ac158
--- /dev/null
+++ b/pwm~.pd
@@ -0,0 +1,23 @@
+#N canvas 451 182 489 527 10;
+#X obj 29 49 inlet;
+#X obj 113 405 outlet~;
+#X obj 113 198 phasor~;
+#X obj 113 172 sig~ \$1;
+#X text 79 10 after an idea from Roman Haefeli;
+#X text 15 10 [pwm~];
+#X obj 366 47 inlet;
+#X obj 113 226 >~;
+#X text 143 229 zexy object;
+#X obj 31 94 t b f;
+#X msg 31 114 1;
+#X obj 45 135 -;
+#X text 77 113 invert so 1 = full power;
+#X connect 0 0 9 0;
+#X connect 2 0 7 0;
+#X connect 3 0 2 0;
+#X connect 6 0 2 1;
+#X connect 7 0 1 0;
+#X connect 9 0 10 0;
+#X connect 9 1 11 1;
+#X connect 10 0 11 0;
+#X connect 11 0 7 1;