REW Beta Release REW API beta releases

Breeman

Member
Joined
Jan 9, 2019
Posts
184
Yes. The filters aim to bring the response to the target, so their response is drawn centred about the target level. The target normally follows the target level, unless you are using a house curve which is not relative to zero.
I am trying to get the target (house) curve, the blue dashed line shown below and the Filters response graph (shown in the second picture below), to be visible on the same screen so I can click and drag to adjust the individual filters, to EQ the subwoofer's response towards the target curve below 100 Hz.
Currently, if I set the Target Level (dB SPL) to 0 dB, the adjustable Filter responce graph gets pushed down by 75dB such that it moves off screen as shown in the third picture below. I want to be able to have two graphs, the target and the filters curves, visible in the same screen. Is this doable?

I have attached the target curve for your reference.

Snap9.png



Snap8.png


Snap10.png
 

Attachments

  • Target AverageResponse50-var_average_new.txt
    25.8 KB · Views: 13

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
I am trying to get the target (house) curve, the blue dashed line shown below and the Filters response graph (shown in the second picture below), to be visible on the same screen so I can click and drag to adjust the individual filters, to EQ the subwoofer's response towards the target curve below 100 Hz.
Currently, if I set the Target Level (dB SPL) to 0 dB, the adjustable Filter responce graph gets pushed down by 75dB such that it moves off screen as shown in the third picture below. I want to be able to have two graphs, the target and the filters curves, visible in the same screen. Is this doable?

I have attached the target curve for your reference.

View attachment 72762


View attachment 72763

View attachment 72764
Click the "Limits" toolbar at the top right corner and select "Fit to Data". You can also minimize Waterfalls graph to have a larger EQ window.
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,992
I am trying to get the target (house) curve, the blue dashed line shown below and the Filters response graph (shown in the second picture below), to be visible on the same screen so I can click and drag to adjust the individual filters, to EQ the subwoofer's response towards the target curve below 100 Hz.
Your house curve file has a 71 dB offset. Make one that is zero dB at some reference frequency, e.g. 1 kHz.
 

Tikkidy

New Member
Joined
Feb 22, 2019
Posts
38
REW 5.4 Beta 48:

1723109125845.png


1723098939488.png


1723099125185.png


I wonder what's causing the apparent rise in distortion for 64K samples x8 repetitions?
 
Last edited:

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,992
I wonder what's causing the apparent rise in distortion for 64K samples x8 repetitions?
From the help:

Impulse responses measured using logarithmic sweeps separate distortion from the linear part of the system response. The distortion components appear at negative times, behind the main impulse. Analysing the frequency content of these components allows plots of distortion harmonics to be generated. The longer the sweep, the better the distortion components are separated from each other. Sweeps of 256k or shorter should start at 0 Hz to prevent an artificial rise in distortion at the lowest frequencies due to the reduced low frequency bandwidth of the resulting impulse response. When measuring a system with high distortion levels use a long sweep setting (e.g. 1M or higher), at shorter sweep lengths the harmonics may affect each other giving misleading results.

TLDR; If you are interested in distortion use long sweeps.
 

Tikkidy

New Member
Joined
Feb 22, 2019
Posts
38
RTFM.
:rofl2:
Thanks John!

I’ve noticed that a 1 or 2M sweep at 44.1 or 88.2K sample rate gives good signal to noise ratio. And a very long sweep + multiple repetitions eg. 4Mx8 can give an improved SNR of some 20dB, which helps resolve harmonics. The downside of this, is that when testing acoustic devices at higher voltages, it runs the risk of overheat voice coils and causing permanent damage to drivers (4M x8 is a 6+ minute test!)

A 256K x8 is close to 2M in terms of signal to noise, but more helpful when measurements are taken in a non-anechoic environment. I find it preferable because it is able to reject implosive environmental sounds that may otherwise disturb the measurement.

So in practice, I find using 256K x8 gives the best balance of ability to resolve harmonics.

For tweeters, it’s important to the keep the sweeps as short as possible eg. 3 seconds or less, in order to avoid overheating
 
Last edited:

Tikkidy

New Member
Joined
Feb 22, 2019
Posts
38
Also, the latest stable release of REW, I could shift the fundamental to denote "measured at 0.5m, plotted for 1m"
Where has Actions now moved to?

1723123013812.png
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,992
Builds updated today (beta 49) with these changes:
  • Added: The RTA distortion settings have a "Cross correlation averaging" option to reduce input noise when measuring a signal that is connected to both the measurement and reference inputs
  • Added: Waterfall and spectrogram have an "Apply settings to all" button to replicate settings to other measurements
  • Changed: Draw filter responses relative to the total target response level at 1 kHz rather than relative to the target level figure
  • Changed: When the "Enable mousewheel zoom" View preference is not selected the mouse wheel may still be used to zoom by scrolling on the axes
  • Fixed: Graph smoothing shortcuts on macOS did not work properly
  • Fixed: Dither bit depth box was missing for tone generator
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,992
Builds updated today (beta 50) with these changes:
  • Added: Stereo WAV files dropped on the RTA can be processed using cross correlation averaging
  • Added: Cross correlation averaging can plot the magnitude of the complex result as an alternative to the real part of the result
  • Added: Speech noise signal per IEC 60268-16:2020
  • Fixed: RTA option to stop at a number of averages should not be active for file data
  • Fixed: Saving noise signals to file from the generator with two channels saved correlated noise even if uncorrelated was selected
  • Fixed: Clicking Calibrate on the SPL meter with a calibrated UMIK on macOS would request a cal file when it should say cal is not required
 

KSTR

New Member
Joined
Jun 7, 2019
Posts
50
Fixed: RTA option to stop at a number of averages should not be active for file data
Oh, I thought that was a very nice option and I've used it quite some times.
One can always stop the averaging manually during realtime processing so it's sort of redundant for this.
OTOH, for files you have no other way than to press "cancel" and because the progress indicators counts frames, not averages, it is pretty hard to stop at an even approximate only number of averages, especially for small FFT sizes.
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,992
I can look at making the stop feature work for files, but it wasn't working correctly as it was.
 

carl second

New Member
Joined
Feb 10, 2018
Posts
8
When adjusting the SPL dB level offset of an imported rePhase generated filter down to zero, one needs to apply "Add to data" twice otherwise the SPL offset adjustment doesn't seem to permanently register.

I've also noticed that in the Overlays predicted phase view window "phase wrap lines" -- if unchecked in the view settings -- still continue to appear.
 

sm52

Member
Joined
Mar 14, 2019
Posts
1,004
John Mulcahy, hello. A few questions. I have several measurements. I processed one of them in the equalizer window and saved the processed measurement. In particular, I reduced one peak. After this, the measurement with the equalizer stopped displaying distortion. There are no graphs for it in the distortion window. This is right?

In the Overlays window, distortions, N and THD+N are not displayed for sweep measurements. This is right?

If there are multiple measurements that have the same noise elements above the underlying noise level. Some kind of interference from the power supply. Can REW, through cross-correlation or another method, detect this and remove it (reduce it to the main noise level)?
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,992
I processed one of them in the equalizer window and saved the processed measurement. In particular, I reduced one peak. After this, the measurement with the equalizer stopped displaying distortion. There are no graphs for it in the distortion window. This is right?
Yes, that's right. You could use "Measure with these filters" to see their effect.

In the Overlays window, distortions, N and THD+N are not displayed for sweep measurements. This is right?
Yes, that's right. Sweep measurements have no equivalent to the single-frequency N and THD+N parameters.

If there are multiple measurements that have the same noise elements above the underlying noise level. Some kind of interference from the power supply. Can REW, through cross-correlation or another method, detect this and remove it (reduce it to the main noise level)?
No, but 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.
 

sm52

Member
Joined
Mar 14, 2019
Posts
1,004
Thanks for the answers. Your third answer concerns the measurement of electrical signals, but acoustic measurements can also be carried out if the conditions are met?
 

John Mulcahy

REW Author
Thread Starter
Joined
Apr 3, 2017
Posts
7,992
That would probably be pointless. For acoustic measurements an analog mic usually carries a differential signal that would automatically reject common mode noise. Remaining unwanted content is likely to be acoustic and so part of the signal. For sweep measurements using the same interface for input and output multiple sweeps would help to reduce interference.
 

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
I'm trying to figure out what the electrical connection should look like to do this. There is an input for a signal, there is an input for a loop from output to input. These are two inputs. Where should the inverted input signal be sent? Need a third input?
 

Breeman

Member
Joined
Jan 9, 2019
Posts
184
Hi John,

I am trying to align the impulse responses of the same subwoofer, one measurement before EQ and another after EQ. I want to use the impulse response of the EQ'd measurement as a reference but cannot easily do it without having to click Apply & prev or Apply & next buttons, using the Offset t=0 function under Overlays. I think there is a use case to be able to select or change (via a dropdown or similar) a reference measurement from within the offset adjustment popup against which to align the impulses of other measurements.

I also noticed that the phase response shown is that of the measurement being time adjusted. I think it would a good idea to be able toggle the phase response of the reference measurement on and off, in case one is interested to see phase alignment.

A option to invert the impulse response of the selected measurement from within the popup would be appreciated too.
Snap4.png
 
Last edited:

Breeman

Member
Joined
Jan 9, 2019
Posts
184
Hi John,

I am trying to align the impulse responses of the same subwoofer, one measurement before EQ and another after EQ. I want to use the impulse response of the EQ'd measurement as a reference but cannot easily do it without having to click Apply & prev or Apply & next buttons, using the Offset t=0 function under Overlays. I think there is a use case to be able to select or change (via a dropdown or similar) a reference measurement from within the offset adjustment popup against which to align the impulses of other measurements.

I also noticed that the phase response shown is that of the measurement being time adjusted. I think it would a good idea to be able toggle the phase response of the reference measurement on and off, in case one is interested to see phase alignment.

A option to invert the impulse response of the selected measurement from within the popup would be appreciated too.
View attachment 73000
Hmm, I just realised that the same thing can be accomplished using the Alignment tool. However there are no Apply & next or prev options on the Alignment tool.
 
Top Bottom