PanAz and SplayAz: Should pan position 0 behave the same for orientation 0 or 0.5?

Hi all,

I have the following
PanAz.ar(2, Impulse.ar(1), 0, 1, 1, 0.5) //default orientation

This gives me a very low output.

PanAz.ar(2, Impulse.ar(1), 0, 1, 1, 0) //orientation set with loudspeaker in front

This gives me a normal output.
Is this design behaving as intended?

PanAz is designed for multichannel output. Its panning is completely different from standard stereo panning.

// According to Help, orientation should be 0 if the front is a vertex of the spanning polygon.
// The first speaker will be directly in front.
// Should be 0.5 if the front bisects a side of the spanning polygon.
// Then the first speaker will be the one left of center.
(
s.options.numOutputBusChannels = 5;
s.meter;
{PanAz.ar(5, Impulse.ar(1), 0, 1, 1, 0)}.play
)

// The width of the panning envelope, accoding to Help,
// nominally this is 2.0 which pans between pairs of adjacent speakers. 
(
s.meter;
{PanAz.ar(5, Impulse.ar(1), 0, 1, 2, 0.5)}.play
)

// See the panning.
(
s.meter;
{PanAz.ar(5, Impulse.ar(1), MouseX.kr(-1, 1).poll, 1, 1, 0)}.play
)

// What if orientation is changed.
(
s.meter;
{PanAz.ar(5, Impulse.ar(1), MouseX.kr(-1, 1).poll, 1, 2, 0.5)}.play
)

// What if it is 2 channels.
(
s.options.numOutputBusChannels = 2;
s.meter;
{PanAz.ar(2, Impulse.ar(1), MouseX.kr(-1, 1).poll, 1, 2, 0.5)}.play
)

// orientation: 0.
(
s.meter;
{PanAz.ar(2, Impulse.ar(1), MouseX.kr(-1, 1).poll, 1, 1, 0)}.play
)

// Compare with standard stereo panning.
(
s.meter;
{Pan2.ar(Impulse.ar(1), MouseX.kr(-1, 1).poll)}.play
)

Beautiful graphic representation.
I fully understand. The thing is just a little counter-intuitive for width=1. The help reports only the case of <=2 and >1.

So, with

PanAz.ar(4, SinOsc.ar(440, 0, 0.1), ~position, 1, 1, 0)

I have sound at ~position=0, 0.5, 1, and 1.5 and silence at 0.25, 0.75, 1.25, and 1.75. While with

PanAz.ar(4, SinOsc.ar(440, 0, 0.1), ~position, 1, 1, 0.5)

I have sound at ~position=0.25, 0.75, 1.25, and 1.75 and silence at 0, 0.5, 1.0, amd 1.5.
Basically, always better to use width=2 or above.

Well, having a width value 1.0 or less, we’ll get sound coming from only single channel at a time.
This means channels are disconnected each other, so in this case, speakers could be placed freely, absolutely free, not necessary to be circular or be in side by side, a pointillistic.
Well I don’t know, we should create something with it, perhaps we could use it as a route switcher, I don’t know, many things could be made.