An implementation of Vector Base Amplitude Panning.1 This allows for equal power panning of a source over an arbitrary array of equidistant speakers. Normally this would be a ring, a dome, or partial dome.
VBAP was created by Ville Pulkki. For more information on VBAP see http://www.acoustics.hut.fi/research/cat/vbap/
numChans |
The number of output channels. |
in |
The signal to be panned. |
bufnum |
A Buffer or its bufnum containing data calculated by an instance of VBAPSpeakerArray. Its number of channels must correspond to numChan above. |
azimuth |
+/- 180 degrees from the median plane (i.e. straight ahead) |
elevation |
+/- 90 degrees from the azimuth plane. |
spread |
A value from 0-100. When 0, if the signal is panned exactly to a speaker location the signal is only on that speaker. At values higher than 0, the signal will always be on more than one speaker. This can smooth the panning effect by making localisation blur more constant. |