VBAP:
Filter:
Classes (extension) | UGens > Multichannel > Panners

VBAP : MultiOutUGen : UGen : AbstractFunction : Object
ExtensionExtension

Vector Base Amplitude Panner
Source: vbap.sc

Description

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/

Class Methods

VBAP.ar(numChans, in, bufnum, azimuth: 0.0, elevation: 1.0, spread: 0.0)

VBAP.kr(numChans, in, bufnum, azimuth: 0.0, elevation: 1.0, spread: 0.0)

Arguments:

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 numChans 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.

Discussion:

WARNING: Gaps of more than 180 degrees are not supported. If you pan a signal into such a gap, the behavior is undefined.

Inherited class methods

Instance Methods

Inherited instance methods

Examples

2D

Plot the loudspeaker gain of a panning source

3D

GUI example

[1] - This version of VBAP for SC was ported from PD code by Scott Wilson, as part of the BEASTMulch project. Development was partially funded by the Arts and Humanities Research Council: http://www.ahrc.ac.uk