A Simple Exercise in Practitioner Level FIR Filters 1/7/2014

Similar documents
Processor Setting Fundamentals -or- What Is the Crossover Point?

a Full Range System Excelsior Audio Design & Services State of the Art Loudspeaker Design for Live Sound Subwoofer Alignment with a Full Range System

Application Note 4. Analog Audio Passive Crossover

Loudspeaker Array Case Study

FX inch Coaxial Vocal Monitor. product specification SERIES. Performance Specifications 1

FA28. Dual 8 inch Coaxial Loudspeaker. product specification. Performance Specifications 1

CX inch Coaxial Loudspeaker. product specification SERIES. Performance Specifications 1

FW inch Coaxial Cardioid Stage Monitor. product specification. Performance Specifications 1

PARSONS EXPO 2011 DSP PLATFORM ODDITIES

Tower Mains. A new breed of Main Monitors

FA22. Dual 12 inch Coaxial Loudspeaker. product specification. Performance Specifications 1

CX896-MT inch Coaxial Loudspeaker, 70 V. product specification SERIES. Performance Specifications 1

π Speakers Crossover Electronics 101

Excelsior Audio Design & Services, llc

GX inch Coaxial Loudspeaker. product specification SERIES. Performance Specifications 1

App Note Highlights Importing Transducer Response Data Generic Transfer Function Modeling Circuit Optimization Digital IIR Transform IIR Z Root Editor

Operating Mode: PERFORMANCE Operating Range: 50 Hz to 19 khz Nominal Beamwidth: Horz 90 Vert 12 Axial Sensitivity (whole space SPL):

CX inch Coaxial Loudspeaker. product specification SERIES. Performance Specifications 1

Professional Loudspeaker Systems and their Real World applications. High Performances Crossovers for. By Mario Di Cola, Audio Labs Systems,

Ultimate Equalizer V8.0 Supplemental User Manual

A03.9. Preset Guide Lab.Gruppen P(LM) Series PLM+ Series

Application Note 7. Digital Audio FIR Crossover. Highlights Importing Transducer Response Data FIR Window Functions FIR Approximation Methods

MK2399i Specifications

Operating Mode: PERFORMANCE Operating Range: Nominal Beamwidth: (rotatable) Horz 90 Vert 45 Axial Sensitivity (whole space SPL):

Operating Mode: PERFORMANCE 1 Operating Range: 57 Hz to 15 khz Nominal Beamwidth: (rotatable) Horz 120 Vert 60 Axial Sensitivity (whole space SPL):

FIR Filter For Audio Practitioners

A White Paper on Danley Sound Labs Tapped Horn and Synergy Horn Technologies

RX599-MT inch Coaxial Loudspeaker, 70 V. product specification SERIES. Performance Specifications 1

Chapter 19. Basic Filters

FIRST WATT B4 USER MANUAL

Technical Notes Volume 1, Number 25. Using HLA 4895 modules in arrays: system controller guidelines

DX896. Dual 8 inch Coaxial Loudspeaker. product specification SERIES. Performance Specifications 1

FH1566. Full Range Coaxial Horn. product specification SERIES. Performance Specifications 1

PRELIMINARY. group S. M i cro W e dge M W 15 Speci f i cations. 2-Way full-range stage monitor See NOTES TABULAR DATA for details FEATURES DESCRIPTION

Excelsior Audio. Subwoofer Alignment with a Full Range System. a Full Range System Excelsior Audio Design & Services, LLC

LIMITATIONS IN MAKING AUDIO BANDWIDTH MEASUREMENTS IN THE PRESENCE OF SIGNIFICANT OUT-OF-BAND NOISE

IT Series Woofers and Compression Drivers

Design of a Line Array Point Source Loudspeaker System

PRELIMINARY. group S. MicroWedge MW12 Specifications 2-WAY FULL-RANGE STAGE MONITOR FEATURES DESCRIPTION. CONFIGURATION Subsystem

Application Guide. AcousticPerformance Series Loudspeakers

PA OF of 6 PAGES PA121 SPEAKER. Vision Series

Chapter 7: Signal Processing (SP) Tool Kit reference

Pre- and Post Ringing Of Impulse Response

PA OF of 6 PAGES PA151 SPEAKER. Vision Series

Technical Guide. Installed Sound. Recommended Equalization Procedures. TA-6 Version 1.1 April, 2002

Quadra 15 Available in Black and White

VQ 60. Product Description. Features. Applications

group D DSA250 Specifications 2-WAY FULL-RANGE DIGITALLY STEERABLE ARRAY See TABULAR DATA notes for details CONFIGURATION Subsystem Features

FL283. Dual 8 inch Subcardioid Line Array Module. product specification. Performance Specifications 1

Technical Note Volume 3, Number 2A. The New JBL LSR6300 Series Studio Monitors. 1. Introduction: 2. The Linear Spatial Reference (LSR) Concept:

PACX81. 1 OF of 6 PAGES PACX81 SPEAKER. Vision Series

Notes on OR Data Math Function

Sound Quality. Crossovers. High-Precision Stereo 2-Way/3-Way/ Mono 4-Way Crossover with Limiters, Adjustable Time Delays and CD Horn Correction

8 inch Coaxial Loudspeaker

DNA Pro series 10K8 3K8

A White Paper Of The Installation Series Loudspeakers

ICONOCLAST USER GUIDE

POWERSOFT KDSP USER MANUAL

EQ s & Frequency Processing

Audio Engineering Society. Convention Paper. Presented at the 115th Convention 2003 October New York, New York

Application Note 5. Analog Audio Active Crossover

JBL-Smaart Pro Application Note. Using The JBL-Smaart Pro Delay Locator

Quadra 12 Available in Black and White

Low frequency section: 500 Watts continuous 1,000 Watts program 2,000 Watts peak

Overview of the EQ50 Filter Functions. Bypass Hardwire Bypass

Techniques for Extending Real-Time Oscilloscope Bandwidth

RM28ac. Self-Powered Dual 8 inch Coaxial Reference Monitor. product specification. Performance Specifications 1

Overview. Features. Technical Data Sheet 1 / 7. Powered Loudspeaker DSR115

VP7212/64DP VP7212/95DP VP7215/64DP VP7215/95DP VP7315/64DP VPSB7118DP VP7210/95DP VP7212MDP VP7212/95DPC VP7215/95DPC

Overview. Features. Technical Data Sheet 1 / 7. Powered Loudspeaker DSR112

Distortion and Power Compression in Low-frequency Transducers

This tutorial describes the principles of 24-bit recording systems and clarifies some common mis-conceptions regarding these systems.

Restoration Performance Report

ArrayCalc simulation software V8 ArrayProcessing feature, technical white paper

Some say car audio tuning is an ART! System Setup. Digital Signal Processor

Technical Notes Vol. 1, No Volt Distribution Systems Using JBL Industrial Series Loudspeakers

JBL Professional Application Note. Loudspeaker Array Low-Frequency Pattern Control using Filtered Array Technology

Structure of Speech. Physical acoustics Time-domain representation Frequency domain representation Sound shaping

FA12ac. Self-Powered 12 inch Coaxial Loudspeaker. product specification. Performance Specifications 1

Many devices, particularly

MPC-XU Universal Crossover

EAW KF740 Technology Brief

APPLICATION NOTE MAKING GOOD MEASUREMENTS LEARNING TO RECOGNIZE AND AVOID DISTORTION SOUNDSCAPES. by Langston Holland -

Choosing the Right Studio Monitor for Specific Applications: A Discussion of JBL and UREI Monitor Loudspeakers

dbtechnologies DEVICE PLUGINS COD _Section_C_REV. 1.0

04 August 2017 Charlie Hughes. Optimizing Loudspeaker Directivity Through the Crossover Region

ED120A 12 (305mm), 2-way, Full-range, CORE Processed, Powered, Loudspeaker System

Quadra 10 Available in Black and White

Overview. Features. Technical Data Sheet 1 / 7. Powered Loudspeaker DXR12

Title: Basic PD5322 and PD5122 Array Applications

An Introduction to Digital Steering

SRM350v2 PRECISION ACTIVE LOUDSPEAKER. FEATURES: 2-way bi-amplified, optimized powered loudspeaker system APPLICATIONS

Convention Paper 7536

Filter Hose Tutorial Created based on v1.3.0

Venue and Sound Power Multiple Loudspeaker System Array Configurations

Improving Loudspeaker Signal Handling Capability

3D WAVEFRONT CONTROL

THE BENEFITS OF DSP LOCK-IN AMPLIFIERS

Single Channel MLS Measurement System

ART500A SPEAKER ART500A A P P L I C A T I O N S 1 O F 6 P A G E S. Two-Way Active Speaker System. ART Series

Transcription:

A Simple Exercise in Practitioner Level FIR Filters 1/7/2014 By Robert Bernecker, President of SEFI Consulting, Inc. Inspired and informed by Pat Brown s recent blog posts about FIR filters, I recently pushed forward into experimenting with what I have called practitioner level FIR filter implementation. It seems that the tools for which we have been wishing and asking all these years are finally becoming available. As an initial step into the world of FIR filters for technicians in the field, I set out to determine if it would be possible for practitioners in 2014 to roll their own FIR filters for basic functions like crossover phase correction. Although long chains of multiple all-pass filters have long provided a means to achieve so-called flat phase tuning, such tuning is tedious and tends to be inexact. Also, many DSP units with a preset architecture do not provide enough filter slots to make such tuning practical. Alternatively, the Lake processor (now by Lab.gruppen) has for years offered the ability to implement flat-phase crossovers with steep slopes, but while the sonic benefits are widely accepted and praised, the cost alone keeps this processing from being a viable option for many smaller projects; furthermore, unlike an open architecture DSP with network I/O (as was used for this experiment), the input and output counts are more limited on the Lake processors. In this sense, it is conceivable a single DSP (Symetrix in this case) with Dante I/O could replace multiple Lake processors. Results Summary: - It is practical, both technically and economically, to achieve flat phase tuning and/or employ higher-order crossovers (which may be linear phase) by employing FIR filters built in the field from measurements taken at the site. - The waveform fidelity and transient response benefits of such filters are realizable and measureable over a significant portion of the audience area, even with basic 2-way designs. Superior coaxial or co-entrant loudspeaker designs from manufacturers such as Frazier, Fulcrum, and Danley will enable the benefits to be realized over an even greater portion of the coverage area. - Many interesting possibilities exist as additional software tools similar to (or more powerful than) rephase could be developed and implemented by DSP manufacturers and/or measurement software companies. - TEF software can save a Freq/Mag/Phase measurement in a basic text format that can be imported by rephase software. It would be good to see this simple capability added to the other major measurement platforms. www.seficonsulting.com Copyright 2014 by Robert Bernecker, All Rights Reserved Page 1

The Experiment: The first real world project in which it was practical to do this experiment was a small and basic one. The details of the project are not particularly relevant, as the room and the loudspeakers in question here are fairly ubiquitous. The goal was simply to turn this: 1000Hz Octave 2000Hz Octave Into this: www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 2

For this particular job, political and economic constraints made it a near-requirement that the existing JBL SRX722 s be reused if at all possible. Certainly different devices would have been used if designing for this space from scratch, and a design with superior coverage could have been easily developed. Nevertheless, as the EASE plots above indicated, much good could be accomplished by replacing the existing ill-conceived, home-grown, tight-packed configuration (below, left) with a better deployment of the very same cabinets (below, right). The basic equipment configuration was an A&H GLD112 driving a Symetrix Edge Frame DSP (http://www.symetrix.co/products/open-architecturedante-scalable-dsp/) via Dante networking. Given the plan of implementing FIR filtering with a known latency penalty, Dante made the connection(s) simple and kept the latency low by keeping the signal(s) in the digital domain from console to DSP. The Symetrix unit is a powerful and economical unit that includes Dante networking in the base unit. In this project, analog output cards were used in the Edge Frame, but it is worth pointing out that in some cases, the existing analog outputs of the digital console (or remote stage box) could be used, and the processing from the Symetrix unit available on a 64x64 Dante network connection could simply be used as an insert on those output channels (the unacceptable gotcha being the risk of damage if users bypass the insert - either inadvertently or intentionally, limiting such usage to passively-crossed boxes). The speakers, as mentioned before, are JBL SRX722 s - a ubiquitous two-way box with dual 12 s and a 4 voice coil compression driver. The data sheet is here: http://www.jblpro.com/srx700/srx700_flash_presentation/jbl.srx722.pdf. When bi-amping a very typical 2-way box such as this, we usually go with a 4 th order (24dB/Oct) Linkwitz-Riley crossover, this for all the usual and well-understood reasons. However, if group delay / phase correction www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 3

is available, a higher order crossover would be a natural choice because of the benefits of reduced interference between drivers (and in the associated lobing). Pat covered this subject and demonstrated the concept very well with the mini drivers exercise in his 2 nd FIR blog post. Therefore, knowing that an FIR filter would be later added to correct the group delay/phase, an 8 th order (48dB/Oct) Linkwitz-Riley crossover at 1200Hz was dialed into the DSP, along with an 18dB/Oct Butterworth highpass filter at 75Hz. The crossover was aligned conventionally, and a slight delay was added to the low drivers to achieve the best possible alignment. Here is the basic crossover configuration: www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 4

A measurement of the single center speaker, with both sections driven, is shown here: A comparatively large TDS window and slow TDS sweep was used here in order to get some useful low frequency information. The resulting measurement shows a reasonably well-behaved magnitude response, and the roughly 950 degrees of phase shift seen also confirms the approximate amount of phase shift that might be reasonably expected for the drivers, the 18dB/Oct high pass at 75Hz, and the 48dB/Oct crossover at 1200Hz. As it turns out, one benefit of making this measurement in TEF vs. EASERA or SysTune is the ability to save the measurement in a format that can be opened by the free rephase software which can be used to generate FIR filters. Perhaps it is possible, but I have not been able to save a measurement in the appropriate space or comma delimited format in EASERA or SysTune. www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 5

In TEF, instead of saving a measurement as file type ASCII, the user instead selects a file type of Freq/Mag/Phase in the final save dialogue box. However, I learned (the hard way) that the file created in this manner cannot be opened later by the TEF software. So, if you want to keep the measurement, you need to save it in both the normal TEF format ASCII file and a Freq/Mag/Phase space-delimited text file. This text file can be opened directly from the rephase software. However, be careful with comments placed in the TEF file - if they run over one line, they will create a line in the file that will be mistaken by rephase as bad data, and rephase will reject the file as a result. Here is the measurement shown above imported into rephase ( http://sourceforge.net/projects/rephase/ ): www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 6

In the rephase software tool, inverse phase corrections for standard LR crossovers can be inserted and the phase and the amplitude can be manipulated independently with the Paragraphic Phase EQ function and the Paragraphic Gain EQ. Alternatively, flat phase crossover filters can be generated directly in rephase. This would, however, require more DSP horsepower in the host DSP unit because it would require 2 FIR blocks instead of one (for a 2-way crossover). In rephase, one needs to also select the appropriate number of taps desired for the FIR filter, as well as the sample rate and output file format. In this experiment, I worked with 256 tap and 512 tap filters, and I found the 256 tap filters were adequate for the corrections being attempted. The latency expected for the FIR filters would be ½ of the time for the number of samples at the sample rate in use (for example, 1/48,000 * 256 *.5 = 2.67ms). Here is the corrected response as shown in rephase before generating the FIR filter coefficients: www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 7

For the Symetrix DSP to implement a user-defined FIR filter, a table of values in CSV (comma separated values) format is needed, but apparently the comma is optional because a text file with a single value per line also works fine as long as it carries a.csv extension (the joys of experimentation). If a text file is the selected output format, pressing the generate button in rephase produces a simple text file of FIR filter coefficients. This file has a.txt extension. The extension needs to be changed to.csv in order to be recognized by the Symetrix Composer software. Simply rename the file appropriately. In the Symetrix software, open the FIR box in the open architecture diagram (double click), and insert the just-created table (pressing the load table button opens a window that allows you to browse to and select the file you just created). If you made amplitude (frequency domain magnitude) changes in rephase, that resulting curve will show in the FIR box shown to the right. Otherwise, if the corrections are phase only, the box will appear with a flat magnitude curve, just as is seen to the right. www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 8

And... Here is the measurement with the FIR filter engaged, overlaying the first measurement without the FIR filter engaged. In this measurement the yellow and the white are the magnitude trace, and, because the responses overlay perfectly, pretty much only the yellow can be seen. The violet (magenta) is the phase response with NO FIR filter, and the green is the corrected phase response with the FIR filter created in rephase. www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 9

A closer look (note the expanded phase scale) at the corrected response is seen here (white is magnitude, violet-magenta is corrected phase): Now, it seems to me we are essentially seeing the 270 degrees of phase shift from the combo of the 18dB/Oct high pass at 75Hz and the inherent bandpass characteristic of the device, and we have corrected from approximately 200Hz up. We get all the waveform fidelity benefits of flat phase tuning, and it should not be forgotten that the system measured here is also enjoying the benefits of an 8 th order LR crossover (48dB/Oct) without the phase shift / group delay penalty, and without the price tag of a Lake processor. www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 10

All of the measurements seen so far have had 1/3 octave smoothing applied. Here is the raw measurement with NO smoothing applied: www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 11

Here are two views of the Group Delay measurements overlaid (white is with FIR filter, yellow is without FIR filter engaged) www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 12

Head in a Vice? It seems that discussions of phase / group delay correcting techniques (with either FIR filters or all-pass filters) always lead to some comments to the effect that the benefit is only for a specific seat, that one must keep one s head in a vice in a particular location in order to enjoy the benefits of such tuning (waveform fidelity, transient response, etc.). However, it seems to me that we are still dealing with broad brush corrections here, and that a flatter phase should indeed be realizable over a large percentage of the audience seats, or, more specifically, the coverage area of the device. Here is a photo showing 4 measurement microphones spread out over the center seating section of this project. On the next page, the SysTune overlays of the magnitude and phase responses at each of these measurement locations are shown: www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 13

www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 14

The four phase plots from four different locations obviously overlay quite nicely. (For those unfamiliar with this type of measurement, the slight downward divergence seen above 7K or so for two of the phase traces is primarily a factor of the receive delay for the measurement and the user interface of SysTune apparently not allowing a finer adjustment of that delay). I believe the conclusion from these measurements would have to be that the benefits of this FIR filter are not at all limited to a person with their head in a vice at a specific location. More importantly, since this measurement was made with just a common 2-way box with an HF horn below a pair of surface-loaded drivers, it seems obvious that if the budget allows the use of some of the superior designs by the likes of Frazier, Fulcrum, or Danley where the drivers share a common (or more nearly common) point of geometric origin, the benefits of corrected crossover phase would be realizable over an even greater percentage of the coverage area of the device. On a side note, the relative magnitude TF responses shown above are not completely accurate, in that 2 of the 4 Earthworks M30 microphones used here are of the newer pedigree with a sensitivity that is greater by about 10dB. I have a Type 1 calibrator and can easily input calibration values into SysTune, but as near as I can tell, raw dbfs (as produced by the AD converter, before any calibration correction) is still the value used by SysTune for TF measurements. This seems to be a problem when trying to use the multiple microphone function to average 4 microphone inputs, for example, as well as for overlays as above. www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 15

What about the Impulse Response? Here is the measured ETC of the speaker with no FIR filter (yellow) overlaying the ETC of the speaker with the FIR filter (white) engaged. (These two measurements were taken just seconds apart). Notice the essentially equal amplitudes on the ETC, and the measured latency penalty of the 256 tap FIR of 2.73ms (correlating well with the calculated latency time of 2.67ms for 256 taps at 48kHz sampling rate). It is interesting, however, to individually view the same measurements that are overlaid above as Impulse Reponses. On the top of the next page is the IR measurement of the speaker with NO FIR filter notice the vertical scale is plus or minus 1mv: www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 16

NO FIR Filter Next, here is the IR measurement of the same speaker with the FIR filter engaged. Same location, same drive level taken just seconds apart. It is the same measurement that shows identical amplitude response in the ETC view, but here the measured amplitude is greater. With FIR Filter www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 17

Here are the two Impulse Responses overlaid on the same vertical scale (no FIR is yellow, FIR engaged is white): For lack of a better word, it would appear to this practitioner that the effect of the phase-correcting FIR filter is a focusing of the Impulse Response. That term, however, would seem to encroach on Mr. Gunness spectacular work. Finally, I was pleasantly surprised to realize that the time required to build and implement FIR filters (once the process is understood) is significantly less that the time and effort required to achieve a similar result with all-pass filters for flat phase tuning. The payback in sonic quality more than makes up for the modest time investment, and it provides another way the skilled practitioner can provide exceptional quality and service to his or her clients while differentiating his or her services from others who do not have either the skill or the equipment to accomplish these results. Copyright 2014 by Robert Bernecker, All Rights Reserved www.seficonsulting.com Practitioner FIR Experiment 1/3/14 Page 18