REW Beta Release REW API beta releases

Builds updated today (beta 113) with these changes:
  • Added: The right click menu for overlay graph measurements has a "Copy selections info to clipboard" action
  • Added: The main window status bar shows the FS sine Vrms in, FS sine Vrms out and dBW ref resistance values, they can be clicked to change them
  • Added: The View preferences show/hide options has a new entry "Show measurement index on thumbnails", selected by default. If this is turned off the index appears in front of the name instead, which speeds up list changes when working with large numbers of measurements as the thumbnails do not need to be regenerated
  • Added icons for 125% and 175% display scaling
  • Changed: The control for the ref resistance for power figures has moved to the RTA toolbar for faster access
  • Changed: The Copy icon on the right click menu for measurements captures the same info as the "Copy selections info to clipboard" action (previously it only copied the cal file and source file info)
  • Changed: The API measurement summary strips any html formatting from the group notes
  • Changed: The REW overview help topic has information about the status bar
  • Fixed: Displaying a window could change its size if Windows Snap layouts were being used
  • Fixed: The Export measurement as text dialog could be too tall for some display scaling and font size combinations
  • Fixed: Dropped files with a header line containing "freq" and "ohm" are treated as impedance data
  • Fixed: Cumulative IR shift could be non-zero for new measurements
  • Fixed: Loading very long lists of measurements became much slower in beta 112
 
Builds updated today (beta 113) with these changes:
  • Added: The right click menu for overlay graph measurements has a "Copy selections info to clipboard" action
  • Added: The main window status bar shows the FS sine Vrms in, FS sine Vrms out and dBW ref resistance values, they can be clicked to change them
  • Added: The View preferences show/hide options has a new entry "Show measurement index on thumbnails", selected by default. If this is turned off the index appears in front of the name instead, which speeds up list changes when working with large numbers of measurements as the thumbnails do not need to be regenerated
  • Added icons for 125% and 175% display scaling
  • Changed: The control for the ref resistance for power figures has moved to the RTA toolbar for faster access
  • Changed: The Copy icon on the right click menu for measurements captures the same info as the "Copy selections info to clipboard" action (previously it only copied the cal file and source file info)
  • Changed: The API measurement summary strips any html formatting from the group notes
  • Changed: The REW overview help topic has information about the status bar
  • Fixed: Displaying a window could change its size if Windows Snap layouts were being used
  • Fixed: The Export measurement as text dialog could be too tall for some display scaling and font size combinations
  • Fixed: Dropped files with a header line containing "freq" and "ohm" are treated as impedance data
  • Fixed: Cumulative IR shift could be non-zero for new measurements
  • Fixed: Loading very long lists of measurements became much slower in beta 112
Wow, this version just blitzed through everything that took way longer in the prior beta. Great work!
 
Updated to v5.40 Beta 113 on OSX 26.2
I cannot find the the tool that allows batch smoothing of multiple curves under the "controls".
 
cannot find the the tool that allows batch smoothing of multiple curves under the "controls"
I am having the same issue. I also updated to v5.40 Beta 113 (today) on OSX 26.2. I actually updated in the hopes of getting rid of the issue because I experienced it with Beta 112 as well. Solved: see post #1,665 from John below.

Even worse, I couldn't figure out how to apply smoothing to more than one graph with these versions (keep reading for the answer). Using the pointer would not work as I was used to, nor would trying multiple variations to multi select with command-select or shift-option-select or shift-command-select. Something has changed in the selection process between now and the last time I took measurements on Dec 5. I do not know what version/Beta that I was running at that time, but it was working at that point. "It" being the ability to open Controls and select "Apply Smoothing" and it would apply it to all the graphs.

I haven't solved the batch smoothing issue. But I did figure out that if I hold the option and down arrow, or the option and up arrow, that the blue bar indicating which graph is currently selected moves to the next one. After that, I could apply smoothing to all the graphs - one by one but at least I could do it.

Update: I discovered that the previous version was v5.20.13.
 
Last edited:
Hi John.
I was testing the latest beta versions of REW and discovered the following issue. When measuring versions 5.31.3 and 5.40.105, I get identical SPL levels (mine is set to 77 dB). When measuring any versions 5.40.106-5.40.113 with the same settings, the SPL level is significantly higher – it can be as high as 92 dB or as high as 103 dB. The microphone is a miniDSP UMIK-2, Windows 10, and the latest drivers.
Is this discrepancy due to specific settings or something else?
 

Attachments

2021 MacBook Pro M1 - OSX 26.2

Does anyone know why I am experiencing this behavior?

Yesterday I updated to v5.40 Beta 113 from Beta 112. If I open the app from the Dock, this is the version that opens. Any .mdat files that I navigate to from the REW menu File > Open Measurement will open in this version.

However, if I navigate to a .mdat file using Finder and open it, the app opens in v5.20.13.

If I navigate to 'Apps' in the Dock and search 'REW', two apps appear. One says "Applications" in grey text under it. This one opens v5.20.13. The other app says "Users" in grey text under it. This one opens v5.40 Beta 113.

I am not sure why or how the older version is still on my computer and being applied in this use case (updates always say they are removing the prior version).
 
Hi John.
I was testing the latest beta versions of REW and discovered the following issue. When measuring versions 5.31.3 and 5.40.105, I get identical SPL levels (mine is set to 77 dB). When measuring any versions 5.40.106-5.40.113 with the same settings, the SPL level is significantly higher – it can be as high as 92 dB or as high as 103 dB. The microphone is a miniDSP UMIK-2, Windows 10, and the latest drivers.
Is this discrepancy due to specific settings or something else?
I don't know, sorry. UMIK-2 gives the same levels with 5.31.3 and 5.40 beta 113 for me, whether I use FlexASIO or Java EXCL drivers. The SPL offset in your beta 113 measurement is much higher, suggesting a big windows input volume control correction, perhaps. Try using the Java EXCL drivers, or using WASAPI Exclusive in FlexASIO.
 
Does anyone know why I am experiencing this behavior?

You have one version installed in this location:

Macintosh HD⁩ ▸ ⁨Applications⁩ ▸ ⁨REW⁩ ▸ ⁨REW.app⁩

/Applications/REW/REW.app

and another version installed here:

Macintosh HD⁩ ▸ ⁨Users⁩ ▸ ⁨yourusername⁩ ▸ ⁨Applications⁩ ▸ ⁨REW⁩ ▸ ⁨REW.app⁨

/Users/yourusername/Applications/REW/REW.app

To clear any future confusion that the Finder may have when opening files, you should run the REW Uninstaller.app from each installed folder location. Then, reinstall the version you wish to use in the proper location:

Macintosh HD⁩ ▸ ⁨Applications⁩

/Applications
 
I don't know, sorry. UMIK-2 gives the same levels with 5.31.3 and 5.40 beta 113 for me, whether I use FlexASIO or Java EXCL drivers. The SPL offset in your beta 113 measurement is much higher, suggesting a big windows input volume control correction, perhaps. Try using the Java EXCL drivers, or using WASAPI Exclusive in FlexASIO.
I checked the input settings—the operating system doesn't have any gain adjustments for the UMIK-2 microphone; sensitivity is set to 100% by default. In exclusive mode for version 5.40.113 WASAPI, the SPL is the same—101 dB; in Java EXCL mode, the SPL is 92 dB. For version 5.40.105, the SPL is always correct at 77 dB in any mode.
The noise level also varies by about the same amount dB.
 

Attachments

You have one version installed in this location:

Macintosh HD⁩ ▸ ⁨Applications⁩ ▸ ⁨REW⁩ ▸ ⁨REW.app⁩

/Applications/REW/REW.app

and another version installed here:

Macintosh HD⁩ ▸ ⁨Users⁩ ▸ ⁨yourusername⁩ ▸ ⁨Applications⁩ ▸ ⁨REW⁩ ▸ ⁨REW.app⁨

/Users/yourusername/Applications/REW/REW.app

To clear any future confusion that the Finder may have when opening files, you should run the REW Uninstaller.app from each installed folder location. Then, reinstall the version you wish to use in the proper location:

Macintosh HD⁩ ▸ ⁨Applications⁩

/Applications
That worked, thank you so much!
 
I checked the input settings
A related question: when you use Java drivers (not EXCL), is the text in the input and output devices and inputs/outputs correct? The Java 8 Windows runtime (used up to beta 105) has a bug that mangles device names for some character sets, which REW corrects. That fix may no longer be needed with the Java 11 runtime, it may be corrupting the names and preventing REW properly accessing the input volume control.
 
The input level control is on the Levels tab of the Properties panel for the UMIK-2 entry in the Recording devices list of the Windows Sound control panel.
I checked the Windows Sound Control Panel—the UMIK-2's sensitivity level is always 100%, regardless of the REW version. Something changed in REW itself starting with version 5.40.106, and the microphone sensitivity level has become too high.
 
A related question: when you use Java drivers (not EXCL), is the text in the input
Input volume.jpg
and output devices and inputs/outputs correct?
Not always correct: some input/output devices are displayed with ? signs. In version 5.40.105, all devices are displayed correctly.
 
I checked the Windows Sound Control Panel—the UMIK-2's sensitivity level is always 100%, regardless of the REW version. Something changed in REW itself starting with version 5.40.106, and the microphone sensitivity level has become too high.
Is it possible you might have changed the mic cal file at some point? Umiks come with an SPL adjustment in their cal files.
 
I think the issue is the string problem I mentioned above resulting in REW not being able to access the volume control and apply the correct adjustment. I messaged onto_log with a test build to fix that.
 
Hi John! First off, I got to thank you for creating REW! It’s an amazing tool and the level of work involved is impressive!

I have an issue that I’m facing when using the REW API. There seem to be a number of endpoints that are missing or not enabled, and I get a lot of 404 errors. For example, I can call a get request to /generator/signals to see the list of available signals. But attempting to use a PUT request to select a new signal results in “404 Not found”.

Similarly, calling a GET request to see the generator status works fine. But attempting to change the generator level with a PUT request also results in a 404 error. Attempting to start the generator using the play command doesn't work either.

Is there something that I am doing wrongly?

Here are some of the CURL commands used that failed:
curl -X PUT http://localhost:4735/generator/signal \
-H "Content-Type: text/plain" \
--data "sine"

curl -X PUT http://localhost:4735/generator/level \
-H "Content-Type: text/plain" \
--data "-10"

curl -X PUT http://localhost:4735/generator/signal \
-H "Content-Type: text/plain" \
--data "Play"


For reference, here are some of the commands that worked, and I can see the settings change in REW accordingly:
curl -X GET http://localhost:4735/generator/status

curl -X PUT http://localhost:4735/generator/signal/configuration \
-H "Content-Type: text/plain" \
--data '{"type":"Octave", "octaveCentre":"2000"}'

My specs/settings/versions:
OS: MacOS
REW version: V5.40 Beta 113
Playback sample rate: 48kHz
Output device: default device, 32K buffer
Pro license is active
 
You should be using POST. Use the SwaggerUI by opening a browser at localhost:4735 to see the endpoints, how to access them and the data formats.
 
Back
Top