[PD] help on vbap-config

Juha Vehviläinen jusu at pinktwins.com
Sat Apr 13 23:33:45 CEST 2002


Ok, I'll try to explain things a bit..

All you need to change should be in vbap.main.pd.

Start by modifying dac~ to use four channels: dac~ 1 2 3 4.

Vbap outputs its data in a format quite compatible to
matrix~ and matrix from zexy.

The matrix~ and matrix arguments specify the number
of sound inlets and outlets. For fours speakers, change
them to "matrix~ 4 4" and "matrix 4 4". With four inlets
to them you can position four different signals. Ok?

Next, define_loudspeakers:

The first argument is dimensionality. If none of your
speakers are elevated, use 2. Next, list the positions
of the speakers from -180 to 180. 0 is front, -90
left, 90 right and 180 back.

define_loudspeakers 2 -45 45 0 180

This would define fours speakers: left front, right front,
front and back. Also, your channels should match the
order of speakers. With "dac~ 1 2 3 4" channels 1 and 2
should be the front left and right speakers and 3 and 4
the front and back ones.

If you have elevated speakers, their positions are
defined with (azimuth elevation) pairs. That is:

define_loudspeakers 3 -45 0 45 0 0 45 180 45

Front left and right speakers are not elevated,
but front and back speakers are elevated 45 degrees.
Use 3 as first argument.

That should be it.. I just realized the help file
is far too complex and not focused on
the relevant stuff, should change that..

cheers
Juha



----- Original Message -----
From: "Olaf Matthes" <olaf.matthes at gmx.de>
To: "Juha Vehviläinen" <jusu at pinktwins.com>
Sent: Saturday, April 13, 2002 9:13 PM
Subject: Re: [PD] [announce] Vector Base Amplitude Panning


> Hi Juha,
>
[...]
> with 4 speakers...).
>
> Olaf






More information about the Pd-list mailing list