#N canvas 95 333 828 340 10;
#X obj 48 201 define_loudspeakers 3 -45 0 45 0 0 45 180 45;
#X msg 48 180 bang;
#X obj 148 253 define_loudspeakers 2 -45 45 0 180;
#X obj 112 295 vbap 0 0;
#X text 17 19 [define_loudspeakers] works with;
#X msg 442 189 ls-directions 3 -30 0 30 0 -90 0 90 0 0 0 -150 0 150
0 180 45 -45 45 45 45;
#X msg 431 94 ls-triplets 1 2 7 2 7 8 1 3 7;
#X obj 431 295 define_loudspeakers 2 -40 0 40 80 130 180 -130 -80;
#X text 447 260 2-D setup -> only loudspeaker azimuths specified:;
#X text 446 275 (2 azi1 azi2 azi3 azi4...);
#X text 443 155 3-D setup -> (azimuth elevation) pairs are specified:
;
#X text 443 170 (3 azi1 ele1 azi2 ele2 ...);
#X msg 148 232 bang;
#X text 190 232 a 2D setup;
#X text 93 185 a 3D setup;
#X text 18 50 Use [define_loudspeakers] to list the speaker positions.
The example here defines loudspeakers in three dimensions (the first
parameter). For each speaker \, define its azimuth and elevation. Here
we have speakers front left and right with no elevation (-45 0 45 0)
and front and back with 45 degrees of elevation (0 45 180 45).;
#X text 18 137 In two dimensions \, only specify the azimuth. For example:
"define_loudspeakers 2 -45 45 0 180";
#X obj 249 19 vbap;
#X text 179 297 See [vbap] for more details;
#X text 427 49 If you are not happy with the triangle selections of
define_loudspeakers \, you can define your own. (For experts only.)
;
#X connect 0 0 3 0;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 5 0 7 0;
#X connect 6 0 7 0;
#X connect 12 0 2 0;
