A guide how to do room correction and use it in Roon

I have experimented with REW (Room EQ Wizard) and room correction, and how to apply it in Roon, and decided to write a guide about it. This is what produced best result for me (I sit in a small room with concrete walls), but the way I did it should work well in bigger rooms and for different walls as well. This guide assumes you have a 2.0 or 2.1 system, and works best if you have a specific listening position and you sit in the middle of the sound, with an equal distance to left and right speaker. By the way, 2.1 systems is measured just like a 2.0 system, with the sub-woofer active during the left/right speaker measurement.

REW is free to download and use, so the only money needed to perform this guide is to buy a microphone (preferable a USB microphone). I have no experience about using a non-USB microphone.

Remember to do room correction as the last audio-step. The path to get good sound is something like this (somewhat simplified):

  1. Get audio equipment and speakers
  2. Setup good positioning for speakers and a good listening position, see for example this guide.
  3. Do proper acoustic treatment of your room (or use lots of furniture), see for example this guide or this one.
  4. Only when the above is done (or at least considered and rejected for whatever reason), should we focus on room correction which is what this guide is all about.

Below is the complete guide, if you want to only do the most needed minimal room correction, jump to the Lite-guide which is after the last step in the complete guide.

Step-by-step complete guide:
1. Buy a USB mic, I use UMIK-1 and that works good (remember to download correction file for your serial number). Connect it to your computer.
2. Download REW from here https://www.roomeqwizard.com/ and install.
3. Start REW, press Yes to select microphone and select calibration file (use the zero degree one). In settings, make sure REW is using the correct input and output.
4. Fix sound level by first reducing volume, select “SPL Meter” and start recording, select “Generator” button, choose Pink PN and play it while holding microphone at your listening position. Adjust volume until it’s about 75 dB, then close the “SPL Meter” window and stop the generator from playing. The picture below shows how to do this:


5. I discovered that using the RTA (Real Time Analyzer) in REW and moving the microphone around slightly produced more reliable results, without the pitfalls of higher frequency being too high/low at a specific position. So open RTA, in options make sure to set 1/48 octave, 65536 FFT length, Averages forever, Rectangular window, Max overlap 50%, Update interval 1 and 0 for peak hold and peak decay. Se picture below:

6. Sit at your normal listening position and play the Pink PN sound from left speaker. Now we want to measure the Pink PN sound in RTA while moving the microphone slowly around the listening area, covering a good subset to get good averaging and reliable result. This can be done in many ways, but for me who has a specific listening position I chose to move the microphone as 2 spirals outside each ear, with the center of the spiral at ear height. One of the spiral is on the plane up-down-left-right and one is up-down-front-back. Point the microphone towards the speaker you are measuring while doing this. If you want to cover several listening positions, like a sofa, use some more appropriate move pattern. You can read more about the Moving Microphone Measurement (MMM) this paper.
7. Press “Save” in the RTA window to convert it to a measurement which is then placed in the REW main window. In REW main window, name the measurement with date and “left” or “right”.
8. Repeat 6 and 7 but for right speaker. Remember to press “Reset averaging” in the RTA window before doing a new recording.
9. Now close all extra windows in REW, leaving only the main window which should have 2 measurements. It should look something like this (but probably better measurements, my room is a nightmare):

10. Select the measurement for left speaker. Press the EQ button
11. In the equalizer window, select “Var smoothing” from options and in the right side of the window, select “Generic” equalizer, “None” as speaker, press the “Set target level” text and finally press “Match response to target”. Now REW will generate filters to flatten out your curve for the left speaker. It should look something like this:

12. Make manual changes to the result, or try different settings in the “Filter Tasks” side-window, until you are satisfied with the result. Be wary of trying to boost deep and steep holes, and if REW does it for you it might be best to manually remove that filter (you can inspect/modify and manually disable individual filters by pressing “EQ Filters” button). Save the measurement to be able to make adjustment at a later time.
13. Repeat 10 – 12 for right speaker. You should use the same “Target level” for both measurements so manually input that in step 11, from the value you had for the left measurement.
14. In the REW main window, select menu “File -> Export -> Export filter impulse response as wav” and save a wav file for each frequency you use in Roon. Use “Stereo” format, 32 bit and check “Normalize samples to peak values”. Remember to assign correct measurement to correct channel (see picture below):

15. Zip all the files you generated in step 14 into one catalogue, and select that file in Roon – DSP Engine – Convolution. Remember to enable DSP and Convolution (check the signal path when playing something to make sure).

16. Here are some optional steps to consider doing, but they are a little more hands-on and not as automated as the previous steps. Also, to keep the size of this guide manageable I haven’t described them quite as fully as the previous steps.
a) To fine tune the frequency correction, you can do one final measurement but this time with both speakers on, and do the measurement with the previous corrections applied. To do this, save the “Pink PN” sound from Generator window in REW, copy the file to your music library and play it from Roon with the previous corrections in place. Then perform steps 5 – 7 and 9 – 12 and add the filters manually in Roon PEQ. You can see the filter-data in REW by pressing the “EQ filters” button in the EQ window. This step is what I did to get the last picture of the measurements below.
b) REW does not correct a measurement once it goes below the target line and never comes up, so if you know your speakers minimum frequencies, and the result after filters does not go as deep down as your speakers can handle, you can manually set a filter to get a little extra bass. To do this, disable one filter in the “EQ filters” window, let REW generate 19 filters and then enable and set that filter manually. Take some care when doing this though, partly to save your speakers and partly to avoid boosting a destructive node. So once done, do some critical listening to make sure everything sounds good. Se picture below for an example of extending the bass that worked well for me and my speakers:

c) Now we are done with the frequency correction, we should focus on time corrections. Sadly there is no free automated or easy ways to do this as far as I know, but one good use of REW is to inspect where in the frequency range there is problems in your room. Do a regular sweep in REW from where your head is, and generate a waterfall or spectrogram to see where you have problems, and then if needed improve your room acoustics or take some other actions. Various impulse analysis can also help. Check this link for help about REW. (Before I had a section about using rePhase here but that turned out to be less useful).
17. If the EQ or filters boosted some frequency (which is likely), you might need to use Headroom management in Roon to prevent clipping, or turn on volume auto-leveling in the Zone settings.
18. Enjoy the (hopefully much improved) music!

Lite-guide
This guide is faster and easier to perform, and will result in less drastic changes. If your setup already produce very good sound without room correction, or you tried the full guide and received a result you didn’t like, this is a good guide to try:
a) Perform step 1 – 5 from the guide above if needed.
b) Do step 6 but with both channels playing from the “Generator”. Continue with step 7, 9 and 10.
c) On step 11, set the target on a flat-level area of the measurement in the 200 – 1500 Hz range, see picture below for an example. Then set the upper limit to adjust to the leftmost measurement that is on target (in the picture that is around 550 Hz). This is done in the EQ window, to the right in the “Filter Tasks” section, second number of Match Range (the default is 20 000).


d) Do step 14, but save as mono instead of stereo, and then step 15.
e) Finish with step 17

If you don’t have your computer connected directly to the DAC, you won’t be able to tell REW to play its measurement correctly. The easiest solution for this is probably to use a USB cable to temporarily connect your computer to your DAC while following this guide. If the computer is far away from your listening position, you might need a friend to help start/stop recording in REW. Another option is to save the “Pink PN” sound from REW as a wav, convert to flac and play it from Roon, just make sure to turn off all DSP in Roon when doing measurements.

If you want to modify bass level or level of higher frequency, you can do that in step 11 by adjusting the HF/LF cutoffs and slopes, before generating the filters. The default values seem to produce good results though. Google “audio house curve” for more information about this. You can even create and use your own specific house curve in a text file and use in REW (settings).

Some of you might wonder why not use the normal way of placing the microphone where your head normally is, and move away while doing the measurement. For me, that way produced a worse result, probably because I sit in a small room and the effect my body and head has on the sound waves becomes relative big. Using sweeps will also give false indications of higher frequencies needed adjustment, due to how short waves the higher frequencies has, and generally speaking a less reliable result. Having said that, if you prefer to use sweeps that do so, both way works.

Below is my measurements, first unmodified, then modified individually and the final result:






213 Likes

Awesome, thanks for this! I plan on experimenting with this soon.

Nice work. I’ve been debating should I use room correction and how. If you have time and patience a video would be great. None of the videos on You Tube explain very well a step by step explanation of how to use REW and why.

2 Likes

Updated the guide to generate stereo wav files instead of mono (step 14), if generating mono files I think you also need to write .cfg convolution files, which should not be needed when using stereo wav files (maybe some Roon tech guy an confirm this?).

1 Like

This is really very kind of you to take the time to write up all the above so it seems a bit churlish of me to ask for anything more BUT a few screen shots would be very helpful?

I really do want to try this but I’m still a little afraid!

.sjb

2 Likes

I agree with @Sloop_John_B: thanks a lot, @Magnus! I am really curious but also hesitant. I’ve read about room correction, but the thing I keep asking myself is: is it really possible to improve acoustics with software in such a (relatively) “simple” way, without meddling with the original recording?

It must be my lack of tech knowledge, but I get the impression that (this way of) room correction resembles adjusting the EQ (a bit less/more bass, treble etcetera), thus changing the balance the producers and artists have intended. I prefer to hear my music as pure and as close to the way it was recorded. Will room correction improve or deteriorate the original recording balance?

I’m sure there will be more to it, so I would appreciate if someone can briefly explain this to me in dummy language. I just have some difficulty grasping the concept, but I definitely like the idea of optimising my room acoustics without hiring an expensive army of technicians ruining our living room (and my marriage ;-)) with wall plateaus and the likes! :smile:

I can understand what you mean, the concept of bit-perfect and making it sound exactly like it was intended is something I also like. But the problem is, the “intended” sound was achieved in a special built room, with very thick isolation, slanting roof and lots of other acoustic treatment. In other words, a studio.

Its to lessen the shortcomings of our listening rooms that you do room correction, and if done properly you will get closer to the intended sound.

Take the below pics, first is my left speaker and right speaker in my room without any room correction, the last picture is after all adjustments are done (as described in this guide). The sound wave should be close to the blue target line, and I am pretty sure no artists intended it to sound like it does for me without any room corrections (i.e. the first 2 pictures) :slight_smile:



5 Likes

Thanks again @Magnus, this helps a bit and you’re also making a valid point there :slight_smile: What keeps puzzling me though is this: in order to achieve the last (smoother) curve, basically all that Roon (or any software) can do, is change the bass, the treble etcetera a bit, am I correct? Just to see if I’m overlooking some aspects. I know that ultimately, I will try it anyway – in which case your guide will be of enormous help – but I’m still trying to get my head around it.

Yes, its basically a glorified equalizer, but with very high resolution and ways to decide the steepness of a modification ( the Q value). But unlike old analog equalizers, it works on a digital stream which is handled and modified by Roon in various ways (for example volume leveling), and then converted to an analog signal by your DAC.

Its the data for this equalizer that REW can auto-generate (doing it manually is very hard due to the Q value), and then you can either manually input the data into Roon PEQ or generate wav files for the Roon convolution engine.

I have also tried the freeware rePhase to get improved phasing, but I am not sure I can tell much in the way of difference (rePhase is mostly for speaker manufacturers I think).

1 Like

N/M :slight_smile:
10 chars

Koen, the equalisation that some of these programs can do (especially via convolution filters made in something like Acourate) is hugely advanced compared to say ‘a bass or treble’ adjustment.

Think of the most advanced EQ you can imagine - not only adjusting frequencies throughout the entire audible spectrum (or the parts you specify), but also dealing with reflections (think echos and reverberation from your room).

If done correctly it will definitely get you closer to the intended sound of the musicians and production team. It’s not as good a solution as a perfect listening room, but for many of us that’s an impossibility anyway (my hifi is in the lounge for example) so this is the next best thing.

In the past the maths and processing power weren’t really good enough, but things have moved on. Dirac and Acourate are by all accounts thought of highly by recording/mastering professionals - especially if the alternate is just to listen to the room’s effect. Dirac made the most dramatic and enjoyable upgrade to my system.

Of course it can be done wrong, and there are limitations - it’s not ideal for people who like to swap speakers or move them around for example, and obviously true analogue systems have to then be digitised which some people don’t like - but IMO it’s the best upgrade you can get in certain circumstances.

Try it out, and just bear in mind that free software like REW might not give the best results, and also there’s a pretty hefty price tag and learning curve on the better software that you can use with Roon.

It’s worth remembering that bit perfect is only playing back what the artist intended if you are playing it in their studio through their desk and amplification /speakers, or you have a perfectly measuring system. (Just to add they don’t have industry standard measured setups either, so there’s likely a difference even listening in different mixing/mastering studios). It really depends how good/bad your room measures - which you can find out fairly easily.

3 Likes

The easiest mistake to do when doing room correction is if you do one measurement sweep where your head is, and then make REW generate filters from 20 Hz to 20k Hz. Chances are, voices, electric guitars etc will sound very strange after that. The reason for this is that at higher frequency, the sound waves are very short so a few cm difference in measure position might make a big difference, which makes it very easy to overcompensate.

That’s one of the reason I suggest doing like in this guide, since you will move the microphone around you wont get those false readings (or at least not as many). But even in this case, its probably best to keep modifications to frequencies below 1000 Hz, preferably below 500 Hz

Another easy mistake to do is to make the response totally flat, which will produce a very boring sound (you need a so called house curve). The reason for this is that the human ear don’t hear the volume of frequencies in a “flat” way, so you need a house curve to get a flat sound (it that makes any sense).

4 Likes

Magnus: Thank you so much! This is what I needed to motivate me to purchase a USB microphone and get the process started.

I am very excited about using REW, before generating the filters to add to Roon, to find the best locations in my room for the speakers. I think I’m a little deep bass shy, so it will help to see the bass response with my eyes rather than to hear it with my ears.

Thank you again!

My personal experience (admittedly only using Dirac) is that full range DRC from 20 hz to 20khz can give fantastic results. I understand the reasoning behind limiting to the lower registers, but I think the right software can still deal with the high frequency effectively.

Your room measures way better than mine at the top end without correction though!

I think that if you modify the higher frequencies smart, which means no sharp modifications (high Q value), it will work. But from a single measurement, its easy to think that a specific small range needs adjustment, for example 1400 - 1700 Hz is 6 dB to high. Modifying that is probably not a good idea, since it probably comes from a faulty reading.

But modifying wider ranges in higher frequencies can probably work good, but for some reason my speakers/room don’t need any such modifications so I haven’t been able to test it.

Btw, I added some pictures to the guide, hope it will make it easier and not scare people away (REW can be a little bit intimidating)

4 Likes

I downloaded and activated a trial version of Dirac, will test tomorrow and compare. I don’t expect my result to sound as good as Dirac, but hopefully its not that far behind.

2 Likes

Thanks a lot for your detailed explanations, guys! Getting more and more curious, but still a bit afraid I’ll get the measurements all wrong. Very interested to read your experiences with Dirac vs. REW, @Magnus!

I did measurements and correction in Dirac, which was incredible easy and intuitive. And the result was pretty impressive. I compared to my REW room correction by adding Dirac as its own zone in Roon and playing same tune in both Roon - Dirac and Roon - REW.

I played these tunes (playing for like 20 seconds, then switching to other zoon and playing, and so on)
Wicked Game - Chris Isaak
Very similar sounding, could hardly tell them apart

Comfortable Numb Pink Floyd
Slightly better sound on parts where Gilmore sings in Dirac

Mahk jhci - Robbie Robertson
Very similar, female voices slightly more refined in Dirac

Sing - Travis
Dirac sounded better here, more balanced sound

Heartbeats - The Knife
Wider sound stage in Dirac

All in all, Dirac sounds slightly better, but its not a big difference, and with some tinkering in REW it should be possible to get very close.

6 Likes

A question
I play Roon over a sotm sms-200.
How do i get REW to play over the sotm to do the measurements.
Or do i have to play from the computer directly to my dac.(NAD M51)

Thanks in advance

Dirac has worked miracles in my setup (difficult room, lots of reflection, bass suckout at listening space). Bass has cleaned up significantly and a bit over overexcitement in the 3000-4000 range has been effectively tempered (my main filter is setup correct up to 4200).

I use Dirac with a MiniDSP DDRC-22D and couldn’t be happier. Disadvantage: the MiniDSP output is limited to 96/24 (less so for me, since my Meridian DSP’s are limited to 96/24 anyway).

Big advantage: it offers RC on all three inputs, so all my other sources (Spotify, TV-box, Blueray/DVD, Apple TV, etc.) are room corrected as well.

Small advantage: the MiniDSP can store up to four filters, that can be easily switched by remote. Comes in handy while finetuning, or when employing different filters for music and movies.