aboutsummaryrefslogtreecommitdiff
path: root/ambiMonoToWxy~.pd
diff options
context:
space:
mode:
Diffstat (limited to 'ambiMonoToWxy~.pd')
-rw-r--r--ambiMonoToWxy~.pd43
1 files changed, 43 insertions, 0 deletions
diff --git a/ambiMonoToWxy~.pd b/ambiMonoToWxy~.pd
new file mode 100644
index 0000000..03d36af
--- /dev/null
+++ b/ambiMonoToWxy~.pd
@@ -0,0 +1,43 @@
+#N canvas 22 257 831 395 10;
+#X obj 47 22 inlet~;
+#X obj 22 258 outlet~ w;
+#X obj 111 255 outlet~ x;
+#X obj 189 257 outlet~ y;
+#X obj 242 4 inlet;
+#X obj 290 4 loadbang;
+#X obj 124 208 line~;
+#X obj 235 91 route angle duration;
+#X obj 114 231 *~;
+#X obj 185 230 *~;
+#X text 321 130 todo: dominance;
+#X text 315 163 todo: wxyz version with elevation;
+#X text 296 246 Encodes a mono sound to first order Ambisonics horizontal
+B-Format.;
+#X text 471 30 XYZ is right-hand rule. (X: forward and Y:left);
+#X text 469 49 Angles run anticlockwise starting on the right.;
+#X obj 124 163 cos;
+#X obj 204 203 line~;
+#X obj 204 158 sin;
+#X obj 123 186 pack 0 15;
+#X obj 204 181 pack 0 15;
+#X obj 294 31 tof/arguments comma;
+#X obj 184 119 ./degreeToRadian;
+#X connect 0 0 8 0;
+#X connect 0 0 9 0;
+#X connect 0 0 1 0;
+#X connect 4 0 7 0;
+#X connect 5 0 20 0;
+#X connect 6 0 8 1;
+#X connect 7 0 21 0;
+#X connect 7 1 18 1;
+#X connect 7 1 19 1;
+#X connect 8 0 2 0;
+#X connect 9 0 3 0;
+#X connect 15 0 18 0;
+#X connect 16 0 9 1;
+#X connect 17 0 19 0;
+#X connect 18 0 6 0;
+#X connect 19 0 16 0;
+#X connect 20 0 7 0;
+#X connect 21 0 15 0;
+#X connect 21 0 17 0;