From 89db37262cee46814540edef54a6db96096e1ee1 Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Wed, 28 Oct 2009 13:28:46 +0000 Subject: Updated mtl abstractions svn path=/trunk/abstractions/mtl/; revision=12691 --- ambiMonoToWxyz~.pd | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 ambiMonoToWxyz~.pd (limited to 'ambiMonoToWxyz~.pd') diff --git a/ambiMonoToWxyz~.pd b/ambiMonoToWxyz~.pd new file mode 100644 index 0000000..e95e2a4 --- /dev/null +++ b/ambiMonoToWxyz~.pd @@ -0,0 +1,73 @@ +#N canvas 114 162 886 678 10; +#X obj 47 22 inlet~; +#X obj 20 520 outlet~ w; +#X obj 111 520 outlet~ x; +#X obj 189 522 outlet~ y; +#X obj 242 4 inlet; +#X obj 295 -6 loadbang; +#X obj 122 290 line~; +#X obj 108 314 *~; +#X obj 226 318 *~; +#X text 564 90 todo: wxyz version with elevation; +#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 122 245 cos; +#X obj 250 296 line~; +#X obj 121 268 pack 0 15; +#X obj 249 274 pack 0 15; +#X text 416 9 Encodes a mono sound to first order Ambisonics B-Format. +; +#X obj 285 24 t b b; +#X obj 250 251 sin; +#X obj 386 330 line~; +#X obj 220 373 *~; +#X obj 386 285 cos; +#X obj 385 308 pack 0 15; +#X obj 111 373 *~; +#X obj 332 449 line~; +#X obj 331 427 pack 0 15; +#X obj 332 404 sin; +#X obj 322 483 *~; +#X msg 349 36 elevation 0; +#X obj 315 523 outlet~ z; +#X obj 235 91 route angle duration directivity elevation; +#X obj 387 262 ./degreeToRadian; +#X obj 188 181 ./degreeToRadian; +#X obj 126 47 tof/arguments comma; +#X connect 0 0 7 0; +#X connect 0 0 8 0; +#X connect 0 0 27 0; +#X connect 0 0 1 0; +#X connect 4 0 30 0; +#X connect 5 0 17 0; +#X connect 6 0 7 1; +#X connect 7 0 23 0; +#X connect 8 0 20 0; +#X connect 12 0 14 0; +#X connect 13 0 8 1; +#X connect 14 0 6 0; +#X connect 15 0 13 0; +#X connect 17 0 33 0; +#X connect 17 1 28 0; +#X connect 18 0 15 0; +#X connect 19 0 20 1; +#X connect 19 0 23 1; +#X connect 20 0 3 0; +#X connect 21 0 22 0; +#X connect 22 0 19 0; +#X connect 23 0 2 0; +#X connect 24 0 27 1; +#X connect 25 0 24 0; +#X connect 26 0 25 0; +#X connect 27 0 29 0; +#X connect 28 0 30 0; +#X connect 30 0 32 0; +#X connect 30 1 14 1; +#X connect 30 1 15 1; +#X connect 30 1 25 1; +#X connect 30 3 31 0; +#X connect 31 0 21 0; +#X connect 31 0 26 0; +#X connect 32 0 12 0; +#X connect 32 0 18 0; +#X connect 33 0 30 0; -- cgit v1.2.1