aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-20 18:08:41 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-04-20 18:08:41 +0000
commitfb12568338687afe8e0acaea07217fcb99aee370 (patch)
tree343f6c48d8a2aeee61d1d7b06b39240ce7dca37b
parent3da716c5e2ea346fed70084bd483125cfc742891 (diff)
added array to see PWM shape
svn path=/trunk/externals/nusmuk/; revision=11067
-rw-r--r--oscillators/pwm~-help.pd38
1 files changed, 25 insertions, 13 deletions
diff --git a/oscillators/pwm~-help.pd b/oscillators/pwm~-help.pd
index 9401ad8..ac53b86 100644
--- a/oscillators/pwm~-help.pd
+++ b/oscillators/pwm~-help.pd
@@ -1,24 +1,36 @@
-#N canvas 108 88 346 329 10;
-#X obj 41 196 *~ 0.3;
-#X obj 42 231 dac~;
-#X floatatom 42 58 5 0 0 0 - - -;
+#N canvas 125 102 521 323 10;
+#X obj 41 231 *~ 0.3;
+#X obj 42 266 dac~;
#X obj 42 76 mtof;
#X obj 41 170 pwm~;
-#X floatatom 146 81 5 0 1 0 - - -;
#X obj 42 121 line~;
#X msg 42 98 \$1 33;
#X obj 146 122 line~;
#X msg 146 99 \$1 33;
#X text 40 17 pwm~ is a band-limited square oscillator.;
#X msg 146 60 0.5;
+#N canvas 0 22 450 300 (subpatch) 0;
+#X array \$0_ 1000 float 2;
+#X coords 0 1 999 -1 200 140 1;
+#X restore 277 93 graph;
+#X obj 122 239 tabwrite~ \$0_;
+#X obj 122 192 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+1;
+#X obj 149 80 hsl 70 15 0 1 0 0 empty empty empty -2 -8 0 10 -262144
+-1 -1 3600 1;
+#X obj 122 214 metro 238.3;
+#X floatatom 42 52 5 0 0 0 - - -;
#X connect 0 0 1 0;
#X connect 0 0 1 1;
-#X connect 2 0 3 0;
-#X connect 3 0 7 0;
-#X connect 4 0 0 0;
-#X connect 5 0 9 0;
-#X connect 6 0 4 0;
+#X connect 2 0 5 0;
+#X connect 3 0 0 0;
+#X connect 3 0 11 0;
+#X connect 4 0 3 0;
+#X connect 5 0 4 0;
+#X connect 6 0 3 1;
#X connect 7 0 6 0;
-#X connect 8 0 4 1;
-#X connect 9 0 8 0;
-#X connect 11 0 5 0;
+#X connect 9 0 13 0;
+#X connect 12 0 14 0;
+#X connect 13 0 7 0;
+#X connect 14 0 11 0;
+#X connect 15 0 2 0;