Pan Law

ColinP
Posts: 952
Joined: Mon Aug 03, 2020 7:46 pm

Pan Law

Post by ColinP »

Today I've been looking at pan laws again as Adroit Custom now includes modular mixing elements.

In the graph below blue is constant power, red is the square root approximation, green is linear and magenta is the BBC/SSL -4.5dB compromise.

Apart from wide agreement about linear being a poor choice what are people's opinions on the merits of the others?

I generally use the square root approximation but as my hearing is asymmetrical I can't really make a good judgement.

Is it worth offering the user options or can I get away with a single law?

panlaws.png
panlaws.png (246.47 KiB) Viewed 40619 times
User avatar
utdgrant
Posts: 541
Joined: Wed Apr 07, 2021 8:58 am
Location: Scotland
Contact:

Re: Pan Law

Post by utdgrant »

No firm preference for pan laws, TBH. I think you could probably settle on one of the popular standards and use it throughout.

However, if you're discussing crossfading two inputs into one output (e.g. wet/dry mix), then I find linear to be the 'correct' solution. The stock CA Crossfade module outputs 100% of both inputs in the centre position. This really annoys me, to the extent that I might be forced to create a free linear version.
StockCrossfadeTransferFunction.jpg
StockCrossfadeTransferFunction.jpg (101.88 KiB) Viewed 40611 times
______________________
Dome Music Technologies
UrbanCyborg
Posts: 599
Joined: Mon Nov 15, 2021 9:23 pm

Re: Pan Law

Post by UrbanCyborg »

I'd say it doesn't usually matter, so long as the method is C2 continuous. For mixing, I'd think the constant-power version would be best, although a close approximation would probably be okay.

Reid
Cyberwerks Heavy Industries -- viewforum.php?f=76
borkman
Posts: 51
Joined: Tue May 09, 2023 7:26 pm

Re: Pan Law

Post by borkman »

For panning, I personally don't think it matters too much.

Mixing wet/dry seems more contentious. I did some research for Full Thickness Tear in the plugin world and found that functionality, and opinions of that functionality, varied from plugin to plugin. Linear, sine law (and its cousins), the two knobs in one thing that Grant mentioned, and other approaches were represented. I ended up offering a choice, but I'm not sure that's something I would do in the general case.

Maybe two separate knobs? That has its own complications, but at least it's flexible.

¯\_(ツ)_/¯
ColinP
Posts: 952
Joined: Mon Aug 03, 2020 7:46 pm

Re: Pan Law

Post by ColinP »

Thanks everyone, that's been very useful feedback. I now feel confident that restricting pan law to constant power is an acceptable limitation for improved ergonomics.

I'm trying to simplify things as the menu system in Adroit Custom is approaching labyrinthine.

There's a pre-built mixer strip object that pan law choice wouldn't have had much impact on but one of the generalized mapping options (alongside remote control, CC and CV ) is VCA Pair. This mapping option attempts to offer just about every type of VCA based control functionality via up to 32 VCA pairs in the Custom IO banks.

The following shows the relevant strand in the menu system when a knob mapped to a VCA pair is right-clicked and it's already complicated enough without offering a choice of different panner types...

VCAPanMenu.png
VCAPanMenu.png (114.09 KiB) Viewed 39737 times
ColinP
Posts: 952
Joined: Mon Aug 03, 2020 7:46 pm

Re: Pan Law

Post by ColinP »

utdgrant wrote: Sat Jan 13, 2024 9:33 pm The stock CA Crossfade module outputs 100% of both inputs in the centre position. This really annoys me, to the extent that I might be forced to create a free linear version.
That explains why I got slightly weird behaviour the last time I used the CA Crossfade module.

Go for it Grant! :)
ColinP
Posts: 952
Joined: Mon Aug 03, 2020 7:46 pm

Re: Pan Law

Post by ColinP »

Many thanks for your free linear crossfader module, Grant! :D

Just looking at how CA handle pan law and it seems their 6-input Stereo Mixer and Panner modules behave in the same odd way as their Crossfader module.

When in the center each channel is at 100% and if we pan in either direction one channel remains at 100% with just the other channel reducing.

You'd expect both channels to be -3 dB, -4.5 dB or - 6 dB down in the center position if the pan law was one of the regular ones.
User avatar
utdgrant
Posts: 541
Joined: Wed Apr 07, 2021 8:58 am
Location: Scotland
Contact:

Re: Pan Law

Post by utdgrant »

ColinP wrote: Sun Jan 21, 2024 4:26 pm Many thanks for your free linear crossfader module, Grant! :D

Just looking at how CA handle pan law and it seems their 6-input Stereo Mixer and Panner modules behave in the same odd way as their Crossfader module.

When in the center each channel is at 100% and if we pan in either direction one channel remains at 100% with just the other channel reducing.

You'd expect both channels to be -3 dB, -4.5 dB or - 6 dB down in the center position if the pan law was one of the regular ones.
Cheers, Colin.

I've made an enhancement to it, so that it can also be used as a Linear Panner. And yes, I observed the same strange 100%:100% behaviour in the CA Panner module.
CACrossfadeAndPanner.png
CACrossfadeAndPanner.png (5.13 KiB) Viewed 27499 times
I'm currently beta-testing the enhanced Linear Crossfade, and should be sumitting it tonight or tomorrow. The left hand output is the same as the current single output. The right hand output offers the complementary mix of the two input signals. I'm not sure if the diagrams at the bottom aid understanding or muddy the waters even further! :D
FrontPanelV1.1.jpg
FrontPanelV1.1.jpg (44.39 KiB) Viewed 27499 times
______________________
Dome Music Technologies
ColinP
Posts: 952
Joined: Mon Aug 03, 2020 7:46 pm

Re: Pan Law

Post by ColinP »

Nice one, Grant.
utdgrant wrote: Sun Jan 21, 2024 4:38 pm I'm not sure if the diagrams at the bottom aid understanding or muddy the waters even further! :D
I faced pretty much the same ergonomic challenge. I ended up presenting the VCAs as raw pairs with just normalled mono input. Then users can wire them up as panners, crossfaders or independent VCAs.

CustomIO.png
CustomIO.png (283.17 KiB) Viewed 27482 times
borkman
Posts: 51
Joined: Tue May 09, 2023 7:26 pm

Re: Pan Law

Post by borkman »

That's the default behavior of the Mix knob on Full Thickness Tear. I've also seen it in various VSTs. For mixing wet/dry in some effects, I think its a good compromise when you don't want individual wet/dry knobs. For general crossfading, and especially for panning, it seems an interesting choice to me, but I've made (and will continue to make) interesting choices, so I will refrain from judging. :)
Post Reply

Return to “Module Designer”