aboutsummaryrefslogtreecommitdiff
path: root/examples/puredata
diff options
context:
space:
mode:
Diffstat (limited to 'examples/puredata')
-rw-r--r--examples/puredata/simple-test.pd11
-rw-r--r--examples/puredata/spectrum-512-test.pd8
2 files changed, 19 insertions, 0 deletions
diff --git a/examples/puredata/simple-test.pd b/examples/puredata/simple-test.pd
new file mode 100644
index 0000000..f9bd79c
--- /dev/null
+++ b/examples/puredata/simple-test.pd
@@ -0,0 +1,11 @@
+#N canvas 642 248 670 289 10;
+#X obj 192 63 osc~ 440;
+#X floatatom 194 187 10 0 0 0 - - -;
+#X obj 194 150 xtract~ spectral_mean;
+#X obj 193 94 *~ 0.3;
+#X text 337 121 Optional second argument gives blocksize;
+#X obj 193 121 xtract~ spectrum 64;
+#X connect 0 0 3 0;
+#X connect 2 0 1 0;
+#X connect 3 0 5 0;
+#X connect 5 0 2 0;
diff --git a/examples/puredata/spectrum-512-test.pd b/examples/puredata/spectrum-512-test.pd
new file mode 100644
index 0000000..fe22e23
--- /dev/null
+++ b/examples/puredata/spectrum-512-test.pd
@@ -0,0 +1,8 @@
+#N canvas 5 48 450 300 10;
+#X obj 127 77 noise~;
+#X obj 262 59 loadbang;
+#X msg 262 86 list 86.1328;
+#X obj 127 112 xtract~ spectrum 64;
+#X connect 0 0 3 0;
+#X connect 1 0 2 0;
+#X connect 2 0 3 1;