• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

How to do loopback test of DAC/ADC on macOS?

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
Hi, I saw this loopback measurement of RME ADI-2 Pro and it did great:

https://www.audiosciencereview.com/...ment-of-rme-adi-2-pro-fs-black-edition.10834/

Can anyone share the software and steps required to do this with a DAC/ADC interface?

I especially want to get SINAD measurement :D @vitalii427

I have REW on macOS already.

Thanks!

1613403813287.png
 
Last edited:
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
Specifically:

1. What software do I need. REW alone is enough?

2. What hardware do I need - just an XLR cable literally connecting analogue output to it's own analogue input?

3. What test signal file do I need?

4. What are some of the key setup requirements in REW

Thanks!
 

mdsimon2

Major Contributor
Forum Donor
Joined
Oct 20, 2020
Messages
2,511
Likes
3,361
Location
Detroit, MI
Specifically:

1. What software do I need. REW alone is enough?

2. What hardware do I need - just an XLR cable literally connecting analogue output to it's own analogue input?

3. What test signal file do I need?

4. What are some of the key setup requirements in REW

Thanks!

1. REW is enough.

2. Yes, a XLR or TRS cable from analog output to input.

3. REW has built-in signal generator functionality.

4. You will need to set the RME as your input / output device in REW. Basic setup is output a 1 kHz tone using the generator and then use the RTA functionality to view the FFT. See link below for some good information on how to use the RTA functionality.

https://www.roomeqwizard.com/help/help_en-GB/html/spectrum.html

Michael
 

Blumlein 88

Grand Contributor
Forum Donor
Joined
Feb 23, 2016
Messages
20,706
Likes
37,449
Yes, you can do the above with REW only. Some stereo interfaces will feedback if you put L out to L in and R out to R in. So you may need to feed L out to R in and R out to L in. If you have a multi-channel unit it usually won't matter.

You'll need to go under preferences and setup your sound card or interface. Take a look at that and see if you can get it to work, then if not maybe more specific questions can be answered. You want your sound card or recording interface chosen and you'll need to route signal in that interface to get them where you want, so knowing which interface you have might help us help you.

Then you can go into the Generator function and select a sine wave and what level you wish for it to have. Then open the RTA window to get the readout like you saw for the RME. Look thru the menus as one of the choices brings up the distortion panel. I'd be more specific, but I don't have MAC REW in front of me, and there might be little differences I'm forgetting.

Hopefully this will get you started in the right direction.
 
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
Yes, you can do the above with REW only. Some stereo interfaces will feedback if you put L out to L in and R out to R in. So you may need to feed L out to R in and R out to L in. If you have a multi-channel unit it usually won't matter.

You'll need to go under preferences and setup your sound card or interface. Take a look at that and see if you can get it to work, then if not maybe more specific questions can be answered. You want your sound card or recording interface chosen and you'll need to route signal in that interface to get them where you want, so knowing which interface you have might help us help you.

Then you can go into the Generator function and select a sine wave and what level you wish for it to have. Then open the RTA window to get the readout like you saw for the RME. Look thru the menus as one of the choices brings up the distortion panel. I'd be more specific, but I don't have MAC REW in front of me, and there might be little differences I'm forgetting.

Hopefully this will get you started in the right direction.

Hi guys

Some progress. I have something

How do I get the scale to show the peak signal at 0dBFS? Do I actually need to use a microphone to calibrate?

And what is the difference between red and black curves?

And anything else that you can see in my settings?

And how many seconds do you guys run the tone for in the RTA window? Until you see the averaging not changing anymore I guess?

Any help appreciated

1613447472292.png
 
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
Ah I see the calibrate level.

So i just look at specs of max voltage (Vrms) of the interface XLR outputs right

And that is 0 dBFS
 
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
Spec of analogue input of this interface is THD+N (1kHz at 0dBFS) = 0.0006 (SINAD 104 dB)

So I'm expect something around that or worse for loopback


Screen Shot 2021-02-16 at 12.20.21 pm.png



1613449352975.png
 

mdsimon2

Major Contributor
Forum Donor
Joined
Oct 20, 2020
Messages
2,511
Likes
3,361
Location
Detroit, MI
A few things that might help.

Check “Lock frequency to RTA FFT”.

On the graph if you move you cursor to the upper left corner you can change the scale from SPL to dBFS.

Can you click the gear in the upper right and show your settings?

Michael
 
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
A few things that might help.

Check “Lock frequency to RTA FFT”.

On the graph if you move you cursor to the upper left corner you can change the scale from SPL to dBFS.

Can you click the gear in the upper right and show your settings?

Michael

Changed to 16 averages - I saw others had the same.

And dither 24 bits

And removed the red 'peak' curve

Still not sure how -5.8dBFS on the left correlates with -0.29 dBFS on the right

But the SINAD I'm getting is closer to manufacturers spec for their analogue input which is 104 dB at 0dBFS


1613454609044.png
 
Last edited:
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
A few different input values. SINAD remains over 100dB (which is respectable?). Company spec is 104dB at 0dBFS

Still not sure how left window dBFS correlates with RTA window dBFS shown

Screen Shot 2021-02-16 at 2.02.14 pm.png


Screen Shot 2021-02-16 at 2.03.37 pm.png


Screen Shot 2021-02-16 at 2.05.00 pm.png
 

Attachments

  • Screen Shot 2021-02-16 at 2.12.27 pm.png
    Screen Shot 2021-02-16 at 2.12.27 pm.png
    263.3 KB · Views: 64
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
I had my interface sitting on a laptop cooler (vibrating fan) for the above measurements.

Turned the fan off and things look cleaner although SINAD didn't change much

Multitone not great but this is loopback not only D to A of course



Screen Shot 2021-02-16 at 2.30.36 pm.png





Screen Shot 2021-02-16 at 2.44.45 pm.png


Screen Shot 2021-02-16 at 2.51.17 pm.png
 
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
96kHz sample rate

20-20kHz vs 0 to 45khz . Not much difference, both close enough to the company spec for analogue input SINDAD

Not state of the art but their own spec of 104dB isn't claiming state of the art either

Screen Shot 2021-02-16 at 4.49.10 pm.png


Screen Shot 2021-02-16 at 4.53.11 pm.png
 

Blumlein 88

Grand Contributor
Forum Donor
Joined
Feb 23, 2016
Messages
20,706
Likes
37,449
Well, looks like you are up and running on REW. Glad to see it. A few little things to figure out, but you by and large have it going. :)
 
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
Well, looks like you are up and running on REW. Glad to see it. A few little things to figure out, but you by and large have it going. :)

Ha thanks.

What are some things that stand out above, that i need to work on ?

Also, is there any way to do IMD test to check for "ESS hump" using REW? Or not really?
 

JohnYang1997

Master Contributor
Technical Expert
Audio Company
Joined
Dec 28, 2018
Messages
7,175
Likes
18,298
Location
China
Ha thanks.

What are some things that stand out above, that i need to work on ?

Also, is there any way to do IMD test to check for "ESS hump" using REW? Or not really?
Relatively difficult to produce the IMD vs Level graph. But you can test individual levels manually. Generator -> Two tone -> SMPTE 60hz + 7khz 4:1
set level to -35db and measure then -30db -25db -20db -15 db.

Also if you are using two devices you can open two instances of REW and use one as generator the other as analyzer.
 
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
Relatively difficult to produce the IMD vs Level graph. But you can test individual levels manually. Generator -> Two tone -> SMPTE 60hz + 7khz 4:1
set level to -35db and measure then -30db -25db -20db -15 db.

Also if you are using two devices you can open two instances of REW and use one as generator the other as analyzer.

Thanks. Dither always 24bits? Or should be 16 bit?

IMD_DIN is the number to record for each level?

And is there any issue with the generator dBFS being 6dB lower than the RTA window dBFS?

Or RTA window dBFS is the only important one, going as close to 0dBFS as possible?

1613471090162.png
 

JohnYang1997

Master Contributor
Technical Expert
Audio Company
Joined
Dec 28, 2018
Messages
7,175
Likes
18,298
Location
China
Thanks. Dither always 24bits? Or should be 16 bit?

IMD_DIN is the number to record for each level?

And is there any issue with the generator dBFS being 6dB lower than the RTA window dBFS?

Or RTA window dBFS is the only important one, going as close to 0dBFS as possible?

View attachment 112880
Maybe you can use Hanning window.
Dither 24bit or off should be fine.
It's normal to have lower level at 60hz because you have two tones now.
 
OP
M

Music1969

Major Contributor
Joined
Feb 19, 2018
Messages
4,669
Likes
2,845
Maybe you can use Hanning window.
Dither 24bit or off should be fine.
It's normal to have lower level at 60hz because you have two tones now.

Amir plots "SMPTE/DIN ratio" against input level.

Is that just the IMD_DIN number shown above, -47.9dB ?
 
Top Bottom