FIR Filtering and the DP448 Part 1

Time for some proper technical stuff on the techblog! 
Not too technical, but think of it as a layman’s guide to this somewhat misunderstood topic – FIR 101 if you like…

Our actual implementation will be covered in a subsequent article.

Overview

With the introduction of a more powerful DSP platform in 2010, newer DP448 units[i] now benefit from increased power which we have used to implement additional processing.  Finite impulse Response (FIR) filter technology has been in the spotlight in recent years as another tool in the armoury of filters, delays and dynamics used to manage speakers as effectively as possible.  However, as with the majority of technological advances, there are advantages and disadvantages to be aware of when using FIR filtering.

FIR Filtering NOT FIR Filters

Whilst traditional filter responses such as parametric EQ bands, crossover filters of any shape, or shelving filters can all be achieved through FIR filtering, in many cases, the technology is NOT used for this purpose.  There are two main reasons for this.

Real-time vs. Off-line Adjustments

Real-time adjustment of a traditional filter modelled using FIR filtering is not a practical scenario.  The implementation of any filtering using FIR topology is the result of digital data being passed through a series of processing stages traditionally known as filter taps.  Each tap can be thought of as a computational component and different filtering scenarios will require more or less calculation stages, or taps.  As would be expected, for every tap, or calculation, there will be a time penalty involved – more taps = longer time.  Designing a filter to operate at a certain frequency and with a certain level of attenuation may produce x  number of taps, but adjustment of a turnover frequency or required level of attenuation can often result in the number of taps changing and so the computational delay associated with the filtering also changing.

Whilst this delay difference is unlikely to very large (sub-millisecond in modern systems sampling at high rates with typical filtering), even small changes can affect alignment delays between drivers in a multi-way system, introducing side effects that are both difficult to determine and account for.

Processing Delay Penalty

All digital signal processing relies on the manipulation of sampled data using calculations.  The major difference between the implementation of Infinite Impulse Response (IIR) filtering and FIR filtering is that the calculations applied to the incoming sample stream will involve feedback of data back into the filter “maths” for an IIR filter, whereas FIR filtering is a linear process with no feedback.

Considering a basic audio analogy, traditional analogue filtering nearly always utilises feedback to reduce system complexity and provide a wider range of adjustment with fewer components.  This method is analogous to IIR filter topologies which utilise feedback of data as mentioned above.  Care needs to be taken with the analogue filtering and IIR filter design as, where there’s feedback, there’s also the possibility of instability and unexpected behaviour as a result of this. 

FIR filters, with their linear processing topology, are inherently stable and cannot be forced in oscillation (no feedback).  No input will result in no output!  Designers strive to achieve this with IIR filtering as well but, as any audio engineer knows, just stopping talking into a microphone won’t always result in silence – the slow build-up of oscillation caused by too much feedback causing instability is a constant enemy!

So… it would seem like FIR filters are the best solution, but this is not always true due to the simple fact that their linear operation means more steps of calculation that are cascaded one after the other, resulting in more time processing = delay.  Even in a modern audio digital signal processor, this delay can become quite significant, especially when processing low frequency signals at high resolution.  The reasons for this are beyond the scope of this document, but these delays can be in the order of 5 to 15 mS which would be deemed unsuitable in many live performance situations such as music concerts and theatre.  This doesn’t matter quite so much when dealing with installed sound, such as studios, clubs and even voice evacuation or announcement systems.

Negative negative negative…

After all that doom and gloom, are there any advantages to using FIR filtering?  Yes – of course there are, and the one that makes the most news for audio is the phase response characteristic.

So what is “phase response”?  Simply put, the phase response defines the relationship between different frequencies present in a signal relative to each other in time.  The timbre or characteristics that can help identify a particular instrument or sound are heavily influenced not just by the frequencies present, but also by how they relate to each other in time.

Traditionally, we manipulate the frequency response of speaker system by altering the balance of certain bands of frequencies – feeding low frequencies to subs, and filtering off the LF before it gets to the more delicate high frequency drivers.  This is the nature of crossover filters.  Various corrective filters may also be applied to individual drivers to reduce resonances or boost areas lacking, in an attempt to achieve the perfect “flat” response – everything from the lowest lows to the highest highs being output at the same relative level.

However, as anyone who has ever used a digital crossover will know, this isn’t quite the end of the story.  Within speaker cabinets, improvements can be made to the final output if care is taken to correct driver alignment delays.  This method is used to align the outputs of the various drivers in time with each other as their actual centres of output will be physically different within the box.  An HF driver’s voice coil will most likely sit tens of mm further forward than the voice coil of a 12” bass driver, resulting in the HF output reaching the listener typically hundreds of microseconds ahead of the bass driver’s output. 

This would not be too objectionable, were it not for the fact that speakers and crossovers are not perfect and their bands of useful output always overlap to some extent.  It is in the areas of overlap that we are most concerned about the time differences.  If the signals from the LF and HF have a phase difference (or a time delay difference) then they will start to interfere, both constructively and destructively, resulting in peaks and troughs in the response.  This is occurring about the crossover point of the drivers.  Adding a delay to the HF driver output to ensure the sound it emits arrives at the same time as the LF driver’s output has the effect of these signals summing “more correctly” resulting in a smoother response.

Going back to the timbre of a particular instrument, the timing relationships between various frequency components are part of what gives the instrument its “sound”.  Preserving these relationships goes a long way towards improving the clarity, and purity of any system.

Traditional analogue filters and IIR filters can have an adverse effect on the phase relationships present in a signal, “smearing” them so different frequencies arrive at subtly different times to others.  This needn’t be disastrous however – careful filter design can result in a system with minimal phase distortion and very good characteristics.

FIR filtering does not introduce phase distortion – it can exhibit a linear phase response, meaning none of the “smearing” of frequencies in time occurs, no matter how “steep” the filtering is, so allowing the use of higher order crossover filters.  Traditional analogue and IIR filters with very steep or sharp slopes have a greater adverse effect on the phase response of the system.  However, as mentioned in the introduction of this article, modelling traditional designs using FIR filtering is only one approach…
Throw away thoughts of traditional filters!

A bold statement, but one that encapsulates the main design ethos of our implementation of FIR filtering.

As explained in the previous section, traditional approaches to loudspeaker system design would involve high and low pass filters to split bands up, and “corrective” filters (shelving and PEQs, possibly notch filters) to “iron out” any problems.  Digital signal processing normally uses IIR filters, set up as models of the analogue equivalents, to achieve this.

There is another approach to this that involves a more holistic method.  In a similar way to measuring a frequency response and attempting to apply an inverse correction to fix problems in the frequency domain, a system’s impulse response can be measured and a corrective response calculated that will account for any frequency time smearing that is present in the system.

The details of how this works are beyond the scope of this document, but the basic principle is that instead of applying a range of frequencies one after the other (as in a low to high sweep) and measuring the various resulting output levels (so creating a frequency vs. level response), an “impulse” is applied to the system.  A perfect impulse (an infinitely short duration “spike”) will contain all frequencies and is impossible to achieve in reality, but what we are trying to get to it a measure of the time alignments of all frequencies that the system needs to reproduce.

The output of an impulse response measurement will display level vs. time, not level vs. frequency.  Applying a mathematical method known as a Fast Fourier Transform will supply the frequency vs. level version of the information.  However, what can also more usefully be derived from the impulse response is a holistic corrective response filter that is effectively an “inverse” response to the system’s impulse response.  This filter is NOT made up of discrete “bands” and traditional filters – it is a mathematical calculation that works as a whole on the system.



[i]  As this feature only became available after a hardware upgrade, and we reserve the right to improve the specification of the DP448 at any time, only units with a serial numbers in the range 3760-3798 and then from 3960 onwards will support the update. 

Aten UC232a USB-Serial Interface and Windows 7

A technical post for you, courtesy of Tom Taylor from Brighton, who called us last week about problems he was having installing the Aten UC232a converter on his Win 7 machine.  Whilst we have not experienced any issues with our Win 7 machines here (64 bit version), I did try an install on the phone with Tom and came across some strange behaviour.

The standard manufacturer supplied drivers, which work from XP through to Win 7  are here , but Tom also sourced some alternate drivers through a forum post, which are here.

Thanks again Tom for your assistance – we’re never to proud to accept help!

Latest iPad and iPhone app release version 3.2 now available!

No need for a fancy sneaky hook to get this recognised – the very mention of iPad will probably do…
Whilst this doesn’t affect xta directly, as many of you may know, we produce OEM versions of our 4 Series processors for that seminal speaker brand Funktion One.

As you probably also know, Tony Andrews takes a very holistic approach to speaker design – get the entire signal path as good as possible – from their perspective this means get the drivers right, working correctly in the boxes so you have to  apply minimal corrective EQ (in their case – NO EQ – just the crossover filters!).

This principle also extends to the processing and amplification itself.  Funktion One demand the very best and we are delighted that they consider the 4 Series processors and the E Series MC² amplifiers to be just this.

The Funktion One XO4A is an OEM DP448 and has full AudioCore control and support.  This processor is now also supported by Rockbaby Engineering’s iPad and iPhone app the DP4 remote, that I have been waxing lyrical about for some time.

Given that the last update als introduced full networking of devices with copy/paste support, this addition will be welcomed by all of Funktion One’s many users who also have XO4As and a walkabout kit.

XO4 Audio Management System Technical Drawing

You can download it from the appstore and if you aready have a copy, you should be able to upgrade.

DP446 Crossover Recall Bug – Fixed!

In the spirit of information sharing, here’s a little oddity that came our way via our Chinese distribution network. Just in case anyone sees this behaviour on their DP446, you’ll know it’s been fixed!

The scenario is thus:
1)  Set up a configuration, routing etc…crossover, EQ, all the usual.  During the “Design a crossover” process, when asked if you wanted to clear the output filters, you said “Yes”.
2) Store this as “Everything”.
3)  A subsequent recall of this as “Everything” (so not “Xover only” settings) doesn’t work, and you get default settings recalled (the correct settings have been stored – it’s a recall bug) and then the outputs mute.

There is a workaround if you have experienced this – just recall only the Crossover settings out fo the memory location, not “Everything”.  Subsequent recalls will also then be fine.

Alternately, just download the new firmware from the website.  Remember – this is specific to the DP446 – no other 4 Series units are affected.

Post-ISE and Pre-Frankfurt – the show must go on…

…and I must not lose my passport this time.
I was intending to regale you with the tale of how, after a very chilly show in Amsterdam at ISE I managed to lose my passport on the day before I was due to leave which resulted in an entire day of trips to police stations, the British Consulate, lost property offices, banks, and finally the airport, all in a blizzard with 6 inches of snow, and no trains or taxis running.

I was going to tell you about it but I decided I wouldn’t 😉

Instead I’ll look forward to tomorrow and the pilgrimage to Pro Light and Sound in Frankfurt…

Our exciting news is two-fold – firstly – I got my hands on the beta version (due for imminent release) of the latest iPad app to control our gear and it is brilliant!  I am allowed to say that as anyone who has been following this story will know, we didn’t write it.  That in itself won’t make it brilliant (and if it did then I’d not being doing a great job at this company promotion thing!), but we finally scraped together all the spare change form the back of the drawers in the sales offices and bought an iPad so we could have a go with it and show it to you all properly.

It was duly connected to the sacred system of units that lives in the demo room (it’s the only place you can guarantee to get  a full complement of 4 Series units along with everything else, as they’ve been tie-wrapped into the rack to prevent them “wandering” 🙂
This new version now scans for connected units and shows a virtual rack as they are found…very nice.

But it gets better – after everything has been located settings can be downloaded from the units and the metering on the units in the “rack” starts to work – in real-time and at a refresh rate that I would not have believed had I not seen it myself!  Admittedly we only had 5 units connected, but that constitutes a pretty big system (40 outputs), but the speed of the metering was on a par with a wired connection through AudioCore.

I was impressed and I’d not even done anything yet!  Taping on a unit then opens it for editing and this is where the iPad comes into it’s own with a big screen.  Monitoring and little changes are OK on an iPhone, but having the benefit of full screen modes for both PEQ curve dragging and the Graphic EQ with the longest faders you’ve ever seen on a GEQ) makes it a pleasure to use.

The copy and paste features also allow for settings to be copied from any channel to any other on the system, and this is sub-divided into useful chunks such as PEQ, GEQ, limiter etc. dependant on what you’re editing – a quick double press at top of the edit window pops up the feature.

Now I could have added a load of screen shots in this, but I haven’t for two reasons. 
Firstly – the iPad’s already left for Frankfurt so I missed my chance, and secondly, you should come along and see it for yourself at the show!  Andi Zeh who has developed this has also informed me that in time for the new release, the will be a month-long sale on the app starting on the 21st of March when the new version goes live.  It’ll be 60% off and so only cost £20.00 (or 23 Euro, $29.99). 

Whilst you’re marvelling at that, we’ll also be revealing a brand new product at the show…all I can say right now is it’s 2U, lights up lovely in the dark and has lots of options!

Piqued your interest?  Come along and see us then – there’s a free cup of tea in it for you, brewed by an MC2 E100 powering our kettle 🙂  We’re in hall 8.0 Stand F60.

Need to lock your AES Mode or Interface Mode but still edit the Crossover on a 4 Series? Here’s how…

Wow – it’s a proper technical article on the TechBlog!  I have Daniel Grubac of DV2 en France to thank for bringing this to my attention and I am not too proud to admit that I didn’t know this worked!

In days long gone, when designing presets for the DP224 and DP226 in Library Manager, when it came to building a set of presets into a binary file, the option was available to  additionally disable changes to the crossover configuration by ticking a box (no need to go into this further now – email me if you need ot know more… ;))

This facility was (somewhat strangely) left out of the 4 Series as an option, and Daniel enquired today about what to do instead.  As it transpired, after a little head scratching, he was one step ahead of me by thinking about locking things out using the standard system locking through AudioCore.  On thesecurity set-up window, there is an innocent little check box that is labelled “Configurations” as you can see below:

Select “Configurations” to stop anyone changing ANYTHING…

Considering I wrote the AudioCore  manual, I really ought to have known that this did a little more than just prevent you from accessing the ability to design a new crossover.  If you tick this  and nothing else (so all other aspects of the unit remain unlocked) and send this locking status to the unit, what happens is that all menus accessible via the menu key disappear, with the exception of the memory menu and the security menu.

The implications for this are that if you’ve set your unit to a certain Interface mode for remote control purposes, or have enabled AES outputs for example, and you want to protect these features from  unwanted change, but leave the audio editing fully accessible, this is how you achieve it!

Daniel – vous etes une etoile!

The illusion of cornice and iPad remote leaps forward.

Now there’s a headline you never thought you’d read.  On first glance, there would appear to be a good reason for that.  It makes little sense.  So permit me to enlighten you.  Firstly, this post relates somewhat loosely to last month’s Plasa festival of fun – we were there with Polar Audio , our UK distributor, and had a couple of great spots thanks to their very very stand being right at the entrance to the show.

I was down in the big smoke for four days, and we stayed at the Holiday Inn, Kensington.  Stay with me – there is a reason for this amount of seemingly unnecessary detail.  Each morning we walked from the hotel though some lovely leafy, not at all expensive, squares, past many not at all expensive cars to Earl’s Court.  Being creatures of habit, certain things always happen on this journey.  One of these things is to call at a little newsagents/grocers on the last leg of the journey for chewing gum/mints/bananas/pills (previous evening dependant!).  It was here that I spotted this sign in the window:

It's all about the "illusion of cornice" bottom right.
 

This handyman does all the usual things – painting, flooring, wallpapering, and then his services get a little more arcane.  You’ll need to click on this and look closely at the service offered in the bottom right hand corner.   That’s right – “illusion of cornice”.  Not being entirely sure what this mysterious entity might be (was it a force for good or evil?) I took the photo so I could look it up when I got back.  Soon, all was revealed – it’s no mere illusion, dear readers, it’s real – REAL!

But it’s not just an illusion – it’s real!

It’s also somewhat less exciting than its mystical tag line suggested, but it certainly kept us amused for many hours at the show with the tantalising hint of DIY magic 😉  Good luck to gingellfixit and thanks for keeping us entertained!

So back to the show…

This year, Plasa felt a little less well attended overall, by manufacturers as well as punters, but it was still a good show and it’s always good to catch up with a people who you otherwise only communicate with by email or speak to on the phone.  I was glad to talk to Alex Hadjigeorgiou from Wigwam who has been singing the praises of the DP548s and put his money where his mouth is by getting a bunch (that is the correct collective noun for several DP548s ;)) of them on tour with Coldplay – cheers mate!.  More on that on the website at a later date…

I also was pleased to be able to spend a proper amount of time with Andi Zeh – my German buddy who has written the iPad and iPod apps.  He was showing me the continuing work he’s been doing to improve the capabilities and features of the apps, in particular the ability to connect to a network of devices and allow full copy and paste facilities.  This really does add a whole new dimension to the system and makes it a much more powerful tool.  It’s still in beta, but I have a couple of screenshots to give a flavour of how it will look and it’s every bit as intuitive and stylish as the rest  of the app:

See a rack of units with real time meters and click on one to get in for editing…

You’ll get a rack of connected units and real time metering along with basic info about each unit – tapping on any device will open it for editing.  He also showed me a full screen mode for EQ editing on the iPad which is a great improvement on the previous version and makes much better use of the extra screen estate:

 
EQ editing can now take full advantage of the bigger are on the iPad and run full screen so you can pinch your ‘Q’ and drag your nodes about with even greater abandon…

 

When this is ready for release, if you already have the app, you’ll be notified, and if not – buy it!  I’ll post about it when it goes live in the appstore. 

 

 

 

iPad 2? Form an orderly queue…

Let’s not get into a debate about the merits of the world’s favourite tablet (after paracetamol).  It clearly does a similar job  – a panacea for many ills.  If you’re not sure what’s wrong, take some paracetamol and have a lie down.  You’ll probably feel better afterwards.  If you’re not sure what’s wrong buy an iPad and have a rest after all that queuing.  You’ll probably feel better afterwards.

So as apple’s last gadget is written off as passe, and everyone pats themself on the back for their original and indiviual purchase of the latest and greatest, I get down off my soap box and am delighted to fill you in about an update to the Dp4 Remote iPod app 😉

Andi has been working away on it and is going to release a shiny new version in time for ProLight+Sound in Frankfurt next month.  By far the most significant change to the software is the implementation of curve dragging for adjustment of filters.  On the previous version tipping the phone on its side would slide across a frequency response curve (and if tipped the other way for inputs, reveal the graphic equaliser).

This has been updated to include numbered nodes for each filter (and un-draggable nodes for high and low pass filters) which can be dragged in real time to adjust filters.

Touch and drag a node to adjust the filter...

 This works really well and looks particularly good on the new iPhone with its “retina” display.  The phase response is also shown and updated in real time.  You can choose what things are to be shown on-screen – phase,  gain, x-over filters – switching these off speeds up response time, especially on old iPhones/iPods.

Touch interconnections on the routing matrix to adjust the routing – simple.

Other notables are the revised selection of routing which now takes place on the “home” screen, along with the metering.  Routing mode is very intuitive with nodes on the matrix between inputs and outputs simply being touched to connect things together.

There have been various other additions and tweaks to the software, including native support for IOS4 and the new iPhone to take advantage of the improved screen quality and faster processor, but the biggest news is the release of the first version of the iPad app.

Unsurprisingly it works in a pretty similar fashion to the iPhone app, but with more screen estate to play with, some layouts have been changed.  I’ll say no more about it beyond showing a few screenshots here and telling you that if you come along to see us in Frankfurt next month at ProLight+Sound, you can have a demo, and if you can prove to us that you’re a bona fide xta user with a walkabout kit, we might slip you a free copy of this and the iPhone app 🙂

Home screen showing device overview.
PEQ adjustment allows curve dragging and direct input.
Memory handling is clear and simple to store and recall just the parts you want.

Don’t say we’re not good to you…see you at the fair (Hall 8.0 stand F60).

4 Series firmware 2.10 confusion…

It’s come to my attention that there is a bit of confusion surrounding recent shipments of 4 Series and their seemingly massive jump in firmware version from 1.82 (or 1.83 in the case of the DP426) to version 2.10.

Just to explain…with the introduction of the DP548 imminent, the DSP platform in the 4 Series has been updated to a new processor.  Performance, facilities and specs remain unchanged, but the new DSP needs new code, hence the firmware version change.  The new version will work in existing 4 Series as it can detect which DSP platform is in place and load the DSP as appropriate…

We’ll post this new firmware on the website soon (final testing of the DP444 firmware is just being finished), but there’s no need to update your existing units when this is released – nothing will change, except the version number you see when you turn the unit on!  For those with mild OCD, you can update your units and then switch them all on together and gaze in a satisfied manner that all firmware version numbers now match.  In the meantime, don’t – you’re only making it worse for yourself 😉

Professional, affordable: TRESemmé

Also…irrelevant, but was a slightly more interesting tag line than “Post-PLASA 2010”.

The show was very good this year – we had a prime spot thanks to Polar Audio, right at the entrance on their natty stand where we commandeered a disproportionate number of meeting tables and general space due to our very enthusiastic staff presence (or should that be due to our very extensive staff presence)…

The DP548 went down a storm – more so than I expected – the view that it was more than a sum of its parts was neatly highlighted by one customer who explained how he would use one when they were available – his plan was to use inputs A&B feeding outputs 1&2 as insert processing on his master vocal channels, leaving him with the equivalent of a super-powered DP226 on inputs C&D feeding outputs 3-8. 

There were a few good suggestions about alternative uses for the unit as well, which mainly focussed on the idea that it needn’t be thought of as a 448 with dynamics, but more as the main parts of a channel of SiDD, so maybe we should look into doing a 4 in – 4 out version for people to use it like that…any comments would be appreciated.

The other star of the show was the new version of iCore which now includes full 4 Series support, so presets can be pulled in from any unit and reused in the DC1048.  The ability to design custom panels has now also been implemented, and for anyone who didn’t see our demo at the show, we had a little 10″ resistive touch screen monitor (a snip at £160 from amazon!) wired up to a laptop with a nifty panel set up to control various devices on a system on the stand – channels of amplifiers, Ti1048, Breakout box gains etc, all neatly combined on a single panel. 

iCore version 2.0 will be released later this month – we are just giving it one last check over and getting some documentation finished explaining the new features, including wireless support using the “Walkabout Kit” hardware.

I met up with Andi Zeh,  the man responsible for the iPod apps for the 4 Series (the new 4 Series mini one is now in the app store – see previous posts for more info) and he showed me his prototype iPad 4 Series app – it looks good so far and it’s only just been started so keep up the good work Andi – sorry I couldn’t make it out for a drink 🙁

On a different topic entirely, I unearthed this video from Frankfurt a few years ago (before MC2 merged with us) of Carol opening Ian’s wallet at a restaurant – enjoy!

https://video.google.com/videoplay?docid=5181904228534132152#