aboutsummaryrefslogtreecommitdiff
path: root/unittests/rvbap-unittest.pd
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/rvbap-unittest.pd')
-rw-r--r--unittests/rvbap-unittest.pd75
1 files changed, 75 insertions, 0 deletions
diff --git a/unittests/rvbap-unittest.pd b/unittests/rvbap-unittest.pd
new file mode 100644
index 0000000..906b424
--- /dev/null
+++ b/unittests/rvbap-unittest.pd
@@ -0,0 +1,75 @@
+#N canvas 90 22 726 609 10;
+#X obj 38 -190 unit-test-frame;
+#X text 383 -369 azimuth \, elevation \, spread and distance;
+#N canvas 0 22 450 300 tba 0;
+#X obj 143 51 inlet;
+#X obj 96 49 inlet;
+#X obj 191 51 inlet;
+#X obj 238 51 inlet;
+#X obj 173 180 outlet;
+#X obj 61 178 outlet;
+#X obj 221 180 outlet;
+#X obj 268 180 outlet;
+#X obj 126 180 outlet;
+#X obj 96 73 t b a;
+#X obj 143 72 t b a;
+#X obj 191 72 t b a;
+#X obj 238 72 t b a;
+#X connect 0 0 10 0;
+#X connect 1 0 9 0;
+#X connect 2 0 11 0;
+#X connect 3 0 12 0;
+#X connect 9 0 5 0;
+#X connect 9 1 8 0;
+#X connect 10 0 5 0;
+#X connect 10 1 4 0;
+#X connect 11 0 5 0;
+#X connect 11 1 6 0;
+#X connect 12 0 5 0;
+#X connect 12 1 7 0;
+#X restore 407 -341 pd tba;
+#X obj 342 -494 t b b b b;
+#X obj 446 -415 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X msg 407 -385 60;
+#X msg 446 -385 15;
+#X msg 524 -386 20;
+#X obj 38 -248 loadbang;
+#X obj 393 -440 vbap/define_loudspeakers 3 -45 0 45 0 0 45 180 45;
+#X obj 359 -307 vbap/rvbap 0 0;
+#X msg 485 -385 0;
+#X floatatom 379 -212 5 0 0 0 - - -;
+#X floatatom 399 -235 5 0 0 0 - - -;
+#X floatatom 419 -256 5 0 0 0 - - -;
+#X floatatom 440 -280 5 0 0 0 - - -;
+#X obj 359 -464 vbap/define_loudspeakers 3 -45 45 45 45 0 0 180 0;
+#X text 15 -474 In Pd-extended 0.42 \, [rvbap] crashes when using 2
+dimensional setup.;
+#X msg 38 -219 rvbap-unittest;
+#X connect 0 3 3 0;
+#X connect 2 0 10 0;
+#X connect 2 1 10 1;
+#X connect 2 2 10 2;
+#X connect 2 3 10 3;
+#X connect 2 4 10 4;
+#X connect 3 0 4 0;
+#X connect 3 1 16 0;
+#X connect 3 2 4 0;
+#X connect 3 3 9 0;
+#X connect 4 0 5 0;
+#X connect 4 0 6 0;
+#X connect 4 0 11 0;
+#X connect 4 0 7 0;
+#X connect 5 0 2 0;
+#X connect 6 0 2 1;
+#X connect 7 0 2 3;
+#X connect 8 0 18 0;
+#X connect 9 0 10 0;
+#X connect 10 0 0 1;
+#X connect 10 1 12 0;
+#X connect 10 2 13 0;
+#X connect 10 3 14 0;
+#X connect 10 4 15 0;
+#X connect 11 0 2 2;
+#X connect 16 0 10 0;
+#X connect 18 0 0 0;