Dynamic lin. phase EQ..some trials..

Linear phase EQ, part 1

First let's talk about EQ in general:

A few decades of running a sound-rental left me with a huge collection of superfluous copies of several brands of 31b. graphic EQ's
My personal favorite was such a KT DN360-->

 

What was (still is??) the purpose of a 31b. EQ inserted in the mains of our PA's?

Often people start jabbing about room EQ, tuning a system to a room or other semi scientific nonsense never leaving out to mention phase issues..

Once you grow to be a bit more aware about what you are doing you will realize that the use of such a graphic has (had) two purposes: 

1. you will use it in the creative process of doing your mix

2. you will try to correct problems you are experiencing with the current program material, the system (and the level)

The first one is not at debate here, let's investigate the second topic.

Loudspeaker systems in general are giant distortion generators (as compared to electronics). To elaborate on the cause or specify what distortion would lead way to far in this article, just bare with me and do understand that we are not talking about rattle and buzzes but the harmonic distortion as we sometimes also appreciate.

So with this in mind we could agree that the tweaking in the 2-4kHz region on your graphic might be triggered by the perceived distortion.. NOT the level..

If you remember: you dipped that frequency because it was 'ugly' not because it was 'loud' 

All analog EQ's and the mayor part of it's digital counterpart are min. phase. Meaning: yes, every EQ setting will affect the phase in that region in a way as is associated with it's magnitude response. Law of physics. Mostly no problem as in the thing you are correcting will be min. phase too.

The example above: using your EQ to dip those ugly distortion will affect phase in a way you don't want. Maybe that's the reason you keep tweaking in that region during a 'difficult' show.

 

Another reason why you keep changing the EQ settings in that region could be Fletcher + Munson.  Everybody knows these equal-loudness contours. The 'loudness' button on your '70's hifi amp is a direct consequence.

Look closely in the 2-4kHz region, not only your hearing is more sensitive in that aria (duh) : 

Also that sensitivity changes with level both in freq. and amount. Go from 80 to 100 dB to get an idea.


We do have tried different solutions for this. I never was happy with any dynamic EQ or desser function on any compressor of any of the shelf product.

Multiband compressor techniques are more something I could appreciate. True lin. phase that is! Here is an example of a way I did this using a free programming platform like BSS soundweb:

The signal is split in two pathways by using lin. phase FIR filters. Great care has been taken those filters when recombined don't affect the signal in any other way then adding in some delay. Both paths are compressed with different settings for attack, release, rating and so on. The compressor is made more 'sensitive' for the freq. of interest by using an EQ on the side chain (having its split feed before the FIR will give it some 'look ahead')

Still not quit happy as in you don't want a 'compressor' action, you want 'EQ' action.

So recently I started to experiment with my home brewn DSP boards. I took a metal horn driver combo, despite the felt damping it will have a ringing-bell associated distortion, certainly if it is not mounted firmly in a box. (still a really nice, controlled top end, though)



..soon more




Dynamic lin. phase EQ..some trials..

Linear phase EQ, part 2

 

The fun in coding your own DSP  is you quickly learn this Egg of Columbus, once you free your mind of thinking in the frequency domain (paraphrasing Moroder):

Everything you dream up about multiplying functions in the frequency domain like applying dynamic EQ can in fact be a rather simple arithmetic operation in the (discrete sampled) time domain.

So EQ can work out as follows: apply  the reverse filter to the signal stream on a sample per sample base. Subtract that stream also on a sample per sample base from the original stream. Take care you do your calculation on the correct sample!

Mind boggling to realize that every single sample is a representation of the music playing (right at that moment in time)


void doProces(q15_t* Lin, q15_t* Rin, q15_t* Lout, q15_t* Rout)
{

	  arm_sub_q15(Rin, Lin, Mono, n);
	  arm_q15_to_float(Mono, Monofl, n); /*adding balanced input to mono signal*/

	  arm_fir_f32(&SLF, Monofl, Low, n);
	  arm_fir_f32(&SHF, Monofl, High, n);
	  arm_fir_f32(&SEQ, Monofl, EQout, n); /*several FIR filters*/

/*RMS treshold + attack//release: blocksize=48, sample freq=48kHz --> 1 mSec per callback*/
	  arm_rms_f32(EQout, n, &rms);
	  if ((rms > 0.005) && (gainEQ<=0.8))
			  {
		  	  gainEQ = gainEQ+0.1;
			  }
	  if ((rms < 0.005) && (gainEQ>0))
	  	  	  {
		  	  gainEQ = gainEQ-0.005;
		  	  } 

/*scaling + actual EQ substraction*/
	  arm_scale_f32(EQout,gainEQ, EQout, n);
	  arm_sub_f32(High, EQout, Result, n);

/*revert float back to signed int. Lout = low, Rout= high */
	  arm_float_to_q15(Low, Lout, n);
	  arm_float_to_q15(Result, Rout, n);

}

That is a very crude bit of code to run the tests, basically I use some FIR filters to split the stream in 3 parts: high to feed the HF horn, low to feed the speaker. And a bell shaped EQ stream around 2200Hz to do the magic. Totally mocked up out of thin air (and some prior listening).

If you are really interested you can work out the attack//release timing and chosen gain slopes (also derived with some listening)

Now for the promising conclusions:

Yes. 

EQ-ing with dynamic linear phase EQ does help to create a loudspeaker that is way more versatile in that you can play it more dynamical (read louder) without being annoyed with that ripping horn distortion.

But.

Care should be taken in not to overdo the processing because it sounds like that; over processing. Also: as (live-) sound engineers we are totally used to how a all these elements like loudspeakers and/or microphones behave and in fact make use of the nonlinearities in the creative process.

 

More research is required..

Here is some food for thought: underlying is a measurement of the first 2 distortions of the HF horn under test.  We all know: 2nd harmonic is ok, 3th is bad, right? Now look where I choose (by ear) that EQ point: right at 2.2k where that 3th bumps up. (and 2nd goes down!)


Brown = SPL 1e harm.

Red = SPL 2e harm.

Yellow = SPL 3e harm.






Yet one more thing i would like to add: 

In my discussions with my great audio friend prof. dr. SA (you who you are) he once coined the phrase: equal-group-distortion. Naturally this is nothing, what he was saying is: it is the discontinuities and bumps in distortion patterns that make us jump into action..

PMC LB1 a historic investigation in legacy sound, part 1

 Part1

Today some vintage PMC LB1 studiomonitors did arrive at my desk.

For those unknown: just follow the link for a description of these UK manufactured benchmark loudspeakers, developed by some former BBC employees.

They came accompanied with a assorted collection of 'spare' tweeters and woofers.

 

 

Upon first test nothing worked as it should: we quickly found that both 1 and 2 +/- connection of the speakons where paralleled. Now that is a bit unusual, as in pro-audio we use a NL4 speakon to feed a loudspeaker with a high/low split signal. Nowadays the majority of prof. amps have 2 channels feeding 1 speakon. So the box effectively shorts the 2 channels. Not good. Oh well..easily sorted.

 

Still not very good sound. So let's open it up: and behold and wonder some fire has been inside.

Now this really made me curious. I know the loudspeakers have been driven with Bryston 4B amps. (Not to shabby!) So underpowered clipping amp couldn't be the reason.

So let's investigate...


 

 

First thing I did was try to find a schematic for this cross-over online. No luck.  So I drew it up myself:

Now to get an idea of the design philosophy we examine the values of the components closely. Immediately the doubling of C1 vs C2 (6.8uF) springs out, which will point to a textbook LinkwitzRiley 24 dB filter. In those days modelling software (like LinearX Leap) was available but apparently not wide spread. (I did acquire my copy somewhere in 1996). So we could investigate this pointer further. I de-soldered the 2 coils and measured them. Not very accurate, but both values and even more their ratio (1:4.5) prove this indeed it is a textbook LR filter.

To determine for what crossover frequency they designed that filter we have to do a bit of guess work. because you will have to know the impedance with which this filter is terminated. What if they just took the (DC !) 6 ohm resistance that is mentioned on the tweeter ? (of course this is not correct but read on..) In that case the crossover will work as a (electrically!) perfect 24dB LR crossover at 2100 Hz.

Anybody who has dabbled a bit in passive crossover design knows the horrors: components all interact with each other, are never ideal (parasitic inductance / capacitance)  and the terminating impedance is never a constant (ohmic) resistance. So yes, changing f.e. capacitors with different brands (with the SAME value, duh) will have an impact on the sonic behavior of a filter. But that is a different story.

First let's measure the tweeters to see if that terminating resistance indeed is more or less a constant 6 ohms..


And yes: the green line is an impedance measurement of the raw driver. That is rather flat to begin with so one immediately thinks: ferrofluid . Indeed in the '90's that was considered quite the bomb. Some manufacturers did use ferrofluid in everything (even 15" speakers, bad idea!)

One of the 'spare' tweeters had some note saying "possibly faulty", so I opened it up to find out. 

Now opening up drivers and in general reconing or refitting new membranes is NOT a good idea (with nowadays manufacturing tolerances) but that is an other rant, this tweeter was 'possibly' faulty anyway:

Yes, JL (in 2015) this tweeter is definitely faulty..I might even say totally foobarred.. But also filled with (a bit dried) ferrofluid so: confirmed!

Now what type/brand tweeter would this be, because they look awfully familiar?

And, suprise, suprise: when I pulled away some PMC branding sticker I found the original VIFA D27TG35 sticker. Take note of that exact number because this is remarkable!: In that same era (somewhere in the '90's) I did design and manufacture  a small multipurpose loudspeaker (build maybe a 100 units or so) with that exact same tweeter. When they went out of production I bought the remaining stock and that was the end of that build. (fairly recently I did a restoration of one of the installs-->)


And no, some Peerless or (Vifa rebranded) tweeter with a similar number will not be a replacement! But you can have your own opinion: nobody will get hurt..

Onwards with the filter, cause still some components need to be explained: more precisely the burned resistor(s). First one is a series resistor with a paralleled capacitor. This will serve as a attenuator for the tweeter and also as a slight top boost (ferrofluid, y'ken) with +3dB point at 9khz. Fair enough. But it will make the filter 'see' a higher load.

But what's that 100nF (with series 8 ohm) doing there? Those values make no sense at all, it does precisely nothing in the audible band. Also as an zobel network (to stabilize amp load) it is nonsense in that position..oh well.. brainfart from the designer??

So this leaves us the one resister that is paralleled with the combined load of tweeter and attenuator to get back to the correct load for the LR filter. From a designers perspective this is an awful solution: that resistor will get hammered with a lot of power, so no wonder it is burned. 

Previous repairs show a (also way to small) installed 13 ohm resistor. Now that's an odd value. Not likely in my opinion. 

Back to the measurement above: if I insert a 10 ohm resistor and re-measured the tweeter with attenuator I got that yellowish line: an almost flat, straight out 6 ohms, which brings us back to the desired, flat line 6ohm for our LR network topology...

Now hows that for loudspeaker forensics?


 

..on to Part 2