Quantcast

VBAP Speaker subsets

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

VBAP Speaker subsets

rinconestrada
Hello to all,

From the VBAP documentation example, I want to use speaker subsets but I haven't found the way to do it. Any lead on how to proceed will be highly appreciated.

The example:

//From this speaker arrangement I would like to choose non-consecutive triplets

a = VBAPSpeakerArray.new(3, [[-22.5, 14.97], [22.5, 14.97], [-67.5, 14.97], [67.5, 14.97], [-112.5, 14.97], [112.5, 14.97], [-157.5, 14.97], [157.5, 14.97], [-45, 0], [45, 0], [-90, 0], [90, 0], [-135, 0], [135, 0], [0, 0], [180, 0]]); // zig zag partial dome

//Should I load the speaker subset as a new buffer and with the same method?

b = Buffer.loadCollection(s, a.getSetsAndMatrices);

(
// pan around the circle up and down
x = { |azi = 0, ele = 0, spr = 0|
var source;
source = PinkNoise.ar(0.2);
VBAP.ar(16, source, b.bufnum, LFSaw.kr(0.5, 0).range(-180, 180) * -1, SinOsc.kr(3, 0).range(0, 14.97), spr);
}.play;
)

Thanks in advance for all the help.

Best,

Fernando
Loading...