vbapz — Writes a multi-channel audio signal to a ZAK array.
inumchnls -- number of channels to write to the ZA array. Must be in the range 2 - 256.
istartndx -- first index or position in the ZA array to use
iazim -- azimuth angle of the virtual source
ielev (optional) -- elevation angle of the virtual source
ispread (optional) -- spreading of the virtual source (range 0 - 100). If value is zero, conventional amplitude panning is used. When ispread is increased, the number of loudspeakers used in panning increases. If value is 100, the sound is applied to all loudspeakers.
asig -- audio signal to be panned
The opcode vbapz is the multiple channel analog of the opcodes like vbap4, working on inumchnls and using a ZAK array for output.
![]() |
Warning |
---|---|
Please note that all vbap panning opcodes require the vbap system to be initialized using vbaplsinit. |