REW and DRC help - Home Theater Forum and Systems - HomeTheaterShack.com

Reply
 
Thread Tools
post #1 of 16 Old 07-07-12, 04:30 AM Thread Starter
Shackster
Dean
 
Join Date: Jun 2008
Location: Australia
Posts: 29
REW and DRC help

I am trying to use REW with DRC (http://drc-fir.sourceforge.net/)
and so far have been unsuccessful. All I am getting is a distorted and fluctuating sweep when measured through the generated filters.

1. I have done a long sweep (1M) for each channel in REW, exported the Impulse Response as signed 32bit Mono with the 3 checkboxes un-checked.

2. Run a conversion with SOX utility to raw PCM (also tried Audacity) and when I import the converted PCM back into REW as Impulse (to confirm results), it looks nothing like the original Impulse response - maybe this is where it is going wrong? (Did a quick import of the original exported WAV file from REW and it looks identical to the original Impulse)

3. Take the converted PCM file into drc using supplied erb-44.1k to generate filter, then convert output PCM back into WAV format using SOX again (http://sox.sourceforge.net/sox.html)

4. I create a Convolution config text file to point to each WAV filter file, and load the config into JRiver.


I have found a few examples of using this combination, but it is either not documented or documented poorly on how they arrived at the final result (other than it is a major improvement).

Anyone successfully built filters using the above tools? If so how?
dean70 is offline  
Sponsored Links
Advertisement
 
post #2 of 16 Old 07-07-12, 09:34 AM
Senior Shackster
Matt
 
Join Date: Feb 2007
Posts: 355
Re: REW and DRC help

when you exported the impulse responses, I am almost certain that it is exporting the impulse response of any filters applied to the signal - the only way I have found to 'export an impulse response' (but to loose phase info) is a little complicated but is as follows:
1) make REW measurement
2) export frequency response as a set of frequency-gain values (CSV format or something)
3) open exported file in excel, add 'special' characters in-between the columns for the next step - also, you will probably want to 'normalize' all of the values, and make them 0 or less
4) utilizing the special values to define what you want added where, use "replace" to format the data as the equalizer plugin in Audacity will accept it (see next post for more info regarding that)
5) go to c:\users\[username]\AppData\Roaming\Audacity\ and open up EQCurves.xml in notepad - you will need to copy the format used by the audacity eq presets using 'replace' in notepad with your original data
6) save your new eq curve and then open up audacity and generate a sine sweep, save a copy - then equalize the sine sweep with your data (you can do a 8192 point fft equlization), save a copy of the eq'ed one
7) use voxengo deconvolver to generate an impulse response from the two impulse responses...
8) have a beer, you deserve it.

note: you loose all phase info when using this method, however the frequency response is pretty much spot on. you can choose minimum phase, or linear phase in voxengo deconvolver - since loudspeakers are PRIMARILY minimum phase, this method seems to work pretty well... hope this helps!
Chester is offline  
post #3 of 16 Old 07-08-12, 08:46 AM
Senior Shackster
 
Join Date: Dec 2011
Posts: 239
Re: REW and DRC help

Must be doing something wrong with SOX. Whole point of DRC is getting accurate time domain info so that DRC can generate some manner of inverse transfer function that corrects for frequencies response, and depending on software used and settings, phasing and general timing corrections.

Sourceforge DRC won't accept exported impulse response from REW? Anyway work with SOX settings to get proper format.

I have hard time imaging good results from above eight step program. Seems awfully convoluted!

Last edited by Barleywater; 07-08-12 at 08:53 AM. Reason: typo
Barleywater is offline  
post #4 of 16 Old 07-08-12, 10:25 AM
Elite Shackster
 
Join Date: Jan 2010
Location: GTA, Ontario
Posts: 1,345
Re: REW and DRC help

Quote:
I am trying to use REW with DRC (http://drc-fir.sourceforge.net/)
and so far have been unsuccessful. All I am getting is a distorted and fluctuating sweep when measured through the generated filters.
- By far the easiest way I have found ( ie; the most direct route ) to start "auditioning" VST based EQ filters ( as executed by Denis Sbragion's DRC program ) is to download the ( little known but fully functioning ) application called Digital Room Correction Designer ( by Alan Jordan ) .
- It offers a nice simple gui to controlling DRC(s) functions & SOX(s) file format changes .
- It has sweep software needed to create the Impulse capture.
- It builds filters to your own target curve ( & includes a few stock "house curves" ) .
- It'll create & spit out 4 different "strengths" of correction filters ( I assume running the gamut from 100% minimum phase to 100% linear phase ) .
- It also has a page that allows the user to determine their own level of custom correction .

- I down-loaded this program yesterday & had some custom filters within tens of minutes ( I don't "do" HTPC so they are of little utility to me at this point ) .

Here's a quote from Alan ; "I wrote Digital Room Correction Designer because it is difficult to create room correction filters via DRC without a large amount of background research. Room Correction Filters have made a very positive impact in my system, so hopefully this application will allow others to try room correction in an easier manner. "

- Best to start ( & possibly end your search ) here ( with DRCdesigner ) if 2-channel correction is sufficient for your needs .



- Link to "zipped" DRCdesigner ( for Windows )

Last edited by EarlK; 07-08-12 at 01:30 PM.
EarlK is offline  
post #5 of 16 Old 07-08-12, 08:42 PM Thread Starter
Shackster
Dean
 
Join Date: Jun 2008
Location: Australia
Posts: 29
Re: REW and DRC help

Thanks. I will give DRC Designer a try. I had all but given up with DRC - even with blank (silent) wav files loaded into the Convolution engine, I was getting the same lobing (warbling) response across the band during sweep tests.

For now I have gone back to full band REW generated PEQ filters (with house curve) loaded manually into the Parametric equalizer DSP.
dean70 is offline  
post #6 of 16 Old 07-09-12, 06:01 PM Thread Starter
Shackster
Dean
 
Join Date: Jun 2008
Location: Australia
Posts: 29
Re: REW and DRC help

Had a try with DRC designer & it looks like I have some usable filters (yet to get time to test them). As I am doing 7.1 channel, I was able to process 2 channels at a time & with a bit of splicing in Audacity of the stereo wav file generated, split the 2 x monos for Sub & Centre.

Now that I can see the command line it passes to DRC, I can do a full balanced set of filters (L-R-C-SBL-SBR-SL-SR) . I went back to my original REW Impulse measurements, redid the export to WAV and conversion using SOX & finally got a impulse PCM file that closely matched what DRC Designer generated.

Must have had the parameters in the incorrect order previously.
dean70 is offline  
post #7 of 16 Old 07-10-12, 06:14 AM Thread Starter
Shackster
Dean
 
Join Date: Jun 2008
Location: Australia
Posts: 29
Re: REW and DRC help

Tried some sweeps with REW & still get the same results Any ideas?





(reference with no convolution filters loaded)
dean70 is offline  
post #8 of 16 Old 07-10-12, 07:01 AM
Senior Shackster
 
Join Date: Dec 2011
Posts: 239
Re: REW and DRC help

Try applying 1/12 or 1/6 oct smoothing.

What do these sound like with music and voice?

Andrew
Barleywater is offline  
post #9 of 16 Old 07-10-12, 12:51 PM
Elite Shackster
 
Join Date: Jan 2010
Location: GTA, Ontario
Posts: 1,345
Re: REW and DRC help

Quote:
Dean wrote:
Tried some sweeps with REW & still get the same results Any ideas?
- ( From the above statement ) I guess we are all to assume that you are getting the same results ( but now supported with pictures ) of what you first obtained before you started this thread . Is that correct ( are you right back at square one ) ?



- FYI, your sweep captures appear to have some built in comb-filtering overlaid onto the results ( that appear to have been filtered/convolved ) . At this point, it's anyones guess as to how you have achieved the comb-filtering since you haven't yet fessed up about how you are running ( & capturing ) a REW test signal ( through MC17 and then back out to your audio system ) . ( I know a lash-up, but the results are always tenuous at best ) .

- For all we know, your VST based filters actually sound fine with music & voice ( ie; maybe it's only your measurement setup, channeled through MC17 that is failing here ) .
- ( Maybe your soft-patch configuration of ) REW into MC17 creates a feedback loop ( by a couple of delayed samples ) through your default soundcard ( this would help explain that pic ) .

- I would suggest that you change your filter testing methodology to something a bit simpler.

- I suggest playing back a pre-recorded PinkPN Wave file from within MC17 ( and then through its' convolved filters ) while you monitor the acoustic response using REW(s) RTA window . ( You can create this PinkPN wave file by exporting it from REW's signal generator .)
- The RTA window is accurate enough to let you know if your filters are any good .


Last edited by EarlK; 07-10-12 at 03:16 PM.
EarlK is offline  
post #10 of 16 Old 07-10-12, 06:19 PM Thread Starter
Shackster
Dean
 
Join Date: Jun 2008
Location: Australia
Posts: 29
Re: REW and DRC help

Quote:
Try applying 1/12 or 1/6 oct smoothing.

What do these sound like with music and voice?

Andrew
It sounds in a word - horrible. Music is thin and veiled and you get the occasional loud cymbal crash.

Quote:
- FYI, your sweep captures appear to have some built in comb-filtering overlaid onto the results ( that appear to have been filtered/convolved ) . At this point, it's anyones guess as to how you have achieved the comb-filtering since you haven't yet fessed up about how you are running ( & capturing ) a REW test signal ( through MC17 and then back out to your audio system ) . ( I know a lash-up, but the results are always tenuous at best )
I run the REW sweep to a default sound card (the onboard Realtek optical out in this case, not the output MC17 uses). MC17 has a loopback mode via the WASAPI audio interface that is able to redirect output from the default sound card though to its HDMI audio device to the amp/speakers and also able to switch which channel it redirects to using JRivers DSP engine, so that I can do the sweep to all 8 channels quickly.

The mic input is connected to REW via a separate external USB Asus Xnoar U1 device that I have used for some time to do sweeps with. I use the Audyssey mic that came with the receiver with no correction file or weighting (seems to be pretty accurate from 20hz-20khz).

I have also succesfully done sweeps and create REW auto PEQ filters which I am using temorarily with good results using the same setup above.

What I have just discovered it may be a sample rate issue - I have been doing sweeps/filters as 44.1k, but MC17 may require 48k filters. I will try again with the higher sample rate.

I would really like to experience that Covolution goodness

Last edited by dean70; 07-10-12 at 06:27 PM.
dean70 is offline  
Reply

Bookmarks

Tags
drc , rew

Quick Reply
Message:
Options

Register Now




PLEASE COMPLETE ALL REQUIRED FIELDS BELOW... THANKS!

REQUIRED FIELDS ON THIS PAGE
YOU MUST COMPLETE ALL OF THESE

Username
Password
Confirm Password
Email Address
Confirm Email Address
Random Question
Random Question #2




User Name:
Password
Please enter a password for your user account. Note that passwords are case-sensitive.

Password:


Confirm Password:
Email Address
PLEASE READ BELOW PRIOR TO ENTERING AN EMAIL ADDRESS!

ATTENTION!

YOU MUST ACTIVATE YOUR ACCOUNT!

Activation requires you reply to an email we will send you after you register... if you do not reply to this email, you will not be able to view certain areas of the forum or certain images... nor will you be able download software.

AN INVALID EMAIL ADDRESS WILL CAUSE YOUR ACCOUNT TO BE DELETED!

See our banned email list here: Banned Email List

We DO NOT respond to spamcop, boxtrapper and spamblocker emails... please add @hometheatershack DOT com to your whitelist prior to registering or you will get nowhere on your registration.


Email Address:
OR

Log-in









Human Verification

In order to verify that you are a human and not a spam bot, please enter the answer into the following box below based on the instructions contained in the graphic.



Thread Tools
Show Printable Version Show Printable Version
Email this Page Email this Page



Posting Rules  
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML is not allowed!
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

 


For the best viewing experience please update your browser to Google Chrome