REW Beta Release REW API beta releases

yys310

Registered
Joined
Sep 7, 2024
Posts
1
More  
Main Amp
1ET9040BA, 1200AS2
DAC
D90III, D50III
Front Speakers
MEH
Is there a way to measure driver current distortion by REW?
 

sm52

Member
Joined
Mar 14, 2019
Posts
1,004
...if you have a means of generating an inverted copy of the input signal and applying it to a second input channel the cross-correlation processing with the Invert correlation reference option may allow common mode noise on the inputs to be cancelled. There is a thread on cross-correlation processing here.
I tried this option. When one input is used, the harmonics are no higher than 3%, when the second input is fed an inverted version of the first input, the harmonic levels are almost the same as the main signal. Maybe I should do something else?
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,996
Sounds like the way the inverted signal is being generated is causing some issues. Probably worth asking on the thread I linked.
 

sm52

Member
Joined
Mar 14, 2019
Posts
1,004
Sounds like the way the inverted signal is being generated is causing some issues. Probably worth asking on the thread I linked.
Thank you. I will try. Another question. Is there a way to make a full copy of a measurement after uploading it to REW? I know of several ways to get a copy, but they all lose the left impuls window, so the distortion is no longer shown.
 

sm52

Member
Joined
Mar 14, 2019
Posts
1,004

John Mulcahy,​

in that DAC-ADC testing thread are we talking about a loop connection? And that's all? From output loop to input1. And if you add inversion, then from output to input1 and inversion to input2. So?
 

serko70

Member
Joined
Oct 13, 2017
Posts
286
Location
Germany
More  
Preamp, Processor or Receiver
Marantz SR6015
Main Amp
Rotel Michi X3
DAC
Oppo 205
Computer Audio
Intel NUC
Universal / Blu-ray / CD Player
Oppo 205
Streaming Subscriptions
TIDAL, ROON
Front Speakers
Focal Kanta 2
Center Channel Speaker
Linn Trikan
Surround Speakers
Focal Dome Flax
Surround Back Speakers
Focal Dome Flax
Front Height Speakers
Focal Dome Flax
Rear Height Speakers
Focal Dome Flax
Subwoofers
Focal Sub Air
Video Display Device
LG 65 3D OLED
Alignment tool API very rarely throws an irrelevant error message:

1726037615119.png


The above error was caused during an impulse alignment @ 20Hz. Details below:

1726037665753.png


If of any relevance, the same error was also here:

1726040016082.png


Beta 54
 
Last edited:

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,996
Is there a way to make a full copy of a measurement after uploading it to REW? I know of several ways to get a copy, but they all lose the left impuls window, so the distortion is no longer shown.
Windows are not affected, but response copy does not include distortion data. If you want an identical copy of a measurement just save it and reload it.
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,996
in that DAC-ADC testing thread are we talking about a loop connection? And that's all? From output loop to input1. And if you add inversion, then from output to input1 and inversion to input2. So?
I don't really understand the question, but if you have questions about that ASR thread then ask them there.
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,996
Builds updated today (beta 55) with these changes:
  • Changed: API error and warning message buffers now keep the 100 most recent errors and warnings, previously they stopped logging after 100
  • Fixed: Impedance cal measurements did not properly override measurement sweep frequency range
  • Fixed: Impedance measurement noise filters were not being applied
 

sam_adams

Member
Joined
May 23, 2017
Posts
309
@John Mulcahy, I don't know if this is an issue or not; when opened on a Mac (13.6.7) running beta 55, the .mdat attached to this post made with beta 55 does not display the noise floor plot in the distortion graph, while the .mdat in this post made with release 5.31.3, does. Both of those .mdats were from Mac users on 12.7.6 and 10.15.7 respectively.
 

JoinUs

New Member
Joined
Jan 6, 2023
Posts
85
when i export to impulse wav. (Left window 1.1ms Ref time 1.1ms)
If i bring it back to REW or Audacity, there's about almost ~70ms of silence in front of it.
I've been stuck on version 5.30.9 for a long time, and this export is a bit weird for both version 5.31 and beta.

1727330544320.png


left one is original.
right one is export and import .

I downloaded each version one by one, and it's exactly like this after version 5.31. (Beta too)
5.30.9 is fine.
Or is there another hidden option for exporting from version 5.31 onwards?


1727330715426.png


I'm continuing to explore options but it doesn't seem to have changed particularly (from 5.31). Of course, I trimmed it


1727330989580.png


So I saw if there was an update to this in version 5.31, and I found a part related to the ir export, but it's mono ir, and I think it's not related to this.


+++
okay.
I've read everything from 1 to 29 of the beta thread in a long time, and I've also read the help page once again.
But there doesn't seem to be any changes or quirks about what I'm reporting.
I've repeated it many times just in case I made a mistake, but it happens the same.
The official version is after version 5.31 and up to beta (5.30.9 is fine)
 
Last edited:

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,996
when i export to impulse wav. (Left window 1.1ms Ref time 1.1ms)
If i bring it back to REW or Audacity, there's about almost ~70ms of silence in front of it.
It's difficult to comment precisely since you haven't said what export options you used and you haven't shown the time axis in your clipped image. There are 3 options for the placement of t=0 for imported impulse responses, which is appropriate would depend on where t=0 is on the measurement you exported.

1727336013512.png
 

JoinUs

New Member
Joined
Jan 6, 2023
Posts
85
It's difficult to comment precisely since you haven't said what export options you used and you haven't shown the time axis in your clipped image. There are 3 options for the placement of t=0 for imported impulse responses, which is appropriate would depend on where t=0 is on the measurement you exported.

View attachment 73921
1727336434714.png


this setting same.
and i use set= t 0 first sample.With the same settings, it works well in 5.30.9, and all versions since then have that kind of silence added. Of course, all versions earlier than 5.30.9 work well
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,996
Unless your measurement has t=0 at the very beginning of the impulse response (unusual, though not impossible) then putting t=0 at the first sample of the import will mean the zero times for the two will be different.
 

JoinUs

New Member
Joined
Jan 6, 2023
Posts
85
Unless your measurement has t=0 at the very beginning of the impulse response (unusual, though not impossible) then putting t=0 at the first sample of the import will mean the zero times for the two will be different.
interesting. I found the cause. Weird...

Left and Ref time is 1.1ms (my impulse start time)

Right Window - 500ms set to fine
Right Window - 600ms set to fine.
Right Window - 700ms set to fail
Right Window - 1000ms set to fail


I don't understand why the right windowing affects the starting IR timing (because all versions prior to 5.31 always worked)


1727337150007.png


It's almost dummy data, but my impulse is about 1000ms, so I always limit my right windowing to 1000ms, and it's always been working in previous versions.
Curiously, however, the beta version from 5.31 seems to have a problem with windowing trimming after approximately 600ms.
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,996
Perhaps you could attach the mdat, since your cropped images are not informative.
 

JoinUs

New Member
Joined
Jan 6, 2023
Posts
85
I also tested the impulse I had, which had a shorter data. attached the file.
Check the overlay. (It should be viewed in First Sample View)
92ms is no problem.
In 729ms, we found that about 620ms of silence was added this time. There was no reason for the start timing to change, no matter how much the right windowing increased. (At least before version 5.31)



1727338171384.png


And I also tested it with regular DiracPulse.
But this is different again. There's no problem applying right windowing up to 2000ms and exporting it.
maybe guess such a bug occurs only in IRs with a little information
 

Attachments

  • test.mdat
    3.8 MB · Views: 5

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,996
From the mdat I see you are using Trim IR to windows and then exporting the trimmed IR. Trim IR to windows ensures the resulting IR length is a power of 2. If that power of 2 length went past the end of the available data zeroes were prepended to the IR. I have changed that for the next V5.40 beta build. For your exports it would make more sense to use the "Apply IR windows before export" option instead of trimming the IR.
 
Top Bottom