Home Theater Forum and Systems banner

SPL calibration not saved (user error? bug?)

4191 Views 28 Replies 7 Participants Last post by  ringor
Greetings.

The SPL calibration for my measurement mic is not being saved after I exit REW.

I can run the SPL calibration from the meter screen (using a CheckMate SPL meter to measure level at the mic) which turns the red numbers on the meter to white, but if I close REW and open it again the calibration disappears and the numbers are red.

I'm using a Presonus FireStudio interface connected by FireWire, ASIO drivers, Win 7 Ultimate. My user account on the computer has local administrator privileges.

I've tried it on a couple different channels of the FireStudio, and with the standard and private-JRE versions of the install.

Any ideas? Where should that calibration file be stored, so I can check whether or not it's saved and for any oddities in those folder permissions?

Thanks.
1 - 20 of 29 Posts
Hi Jeff, that is a bug in V5.12 (when using ASIO drivers), it will be fixed in the next release but has already been fixed in the V5.13 beta versions, you can find them at http://roomeqwizard.com/installers/ - the latest is beta 7.
Hello,

Thanks John, I was also experiencing same troubles with SPL calibration and error messages indication SPL level was not propelly calibrated at each MEASURE session, now all is fine with 5.13 beta 8.

For the purpose of REW software duplication from one PC to another, I'm also interested to learn where is SPL calibration data stored ( Sound card and mic calibration files are well identified but not SPL meter level ) in order to get advantage of the calibration session that was done with a loan SPL meter no longer available.

Thanks in advance
The SPL offset for calibration is stored in the registry in Windows in HKEY_CURRENT_USER\Software\JavaSoft\Prefs\room eq wizard, in a key called lastSplOffset. There is another key called splcaldone which is true if the SPL has been calibrated. Note, however, that the SPL offset is only valid for the input volume setting at which it was done, any change in the input volume setting (or any other gain setting in the input path) will mean the offset is no longer correct.
John,

Many thanks for the hints.
Yes it is perfectly understood, Any Input level variation would affects the resulting SPL calibration.

I use always Digibox Mbox 1 external soundcard, and I assumed I'm able to get always the same Input level by verifying soundcard input level using Loopback calibration procedure.

Thanks again.
Hi, I am browsing the forum because I also have this problem in Linux (Lubuntu 14.10) with REW 5.13
When I install it on my daughters windows PC it works though.

So either the bug has been solved in REW windows but not in the Linux version,
or I am doing something wrong, which is very possible as I just start using REW.

I also see that with the Alsa mixer I can change the input sensitivity of the Umik-1, so it does not seem to be possible to do a real SPL calibration, unless you always use the same input sensitivity setting before starting REW.
To do this, I add this line to the REW startup script because I thougt that was the reason why the SPL calibration was not used when starting REW again,
but it does not help, REW still says that SPL is not calibrated and displays red SPL readings instead of white.

#!/bin/sh
amixer -c 1 set Mic 55
# Uncomment the following line to override the JVM search sequence
# INSTALL4J_JAVA_HOME_OVERRIDE=
# Uncomment the following line to add additional VM parameters
# INSTALL4J_ADD_VM_PARAMS=


When Using REW in windows, the calibration remains valid, even if you change the Umik-1 input sensitivity with the windows mixer, I suppose REW takes the windows mixer settings into account ??

Please let me know if I am doing something wrong.
If you think it is a bug, let me know if you need me to send you some error logs or do some tests to give you more info on this.

PS: I replaced openjave by oracle java 8 to solve some problems with generating audio.
See less See more
This problem with REW forgetting the UMIK-1 calibration file wile using ASIO drivers continues in the latest release and in REW_windows_5_14_beta3, is there no fix? its a real pain. i am on Windows 10 Pro x64
To apply the sensitivity value in the cal file REW needs to know it is using a UMIK for input. It determines that by checking the input name to see if it contains 'UMIK'. That has become problematic on Win8.1 and Win10 of late as the UMIK sometimes appears as a generic USB audio device instead of showing the UMIK name. MiniDSP are looking into that, though it seems to be a Windows change that has prompted it. A similar problem may affect Linux.
To apply the sensitivity value in the cal file REW needs to know it is using a UMIK for input. It determines that by checking the input name to see if it contains 'UMIK'.
I just checked in linux, the name UMIK is not available in alsa mixer, like in W8&10 it has a generic name.
amixer -c 1 contents
The -c option means that the next digit selects the sound device (in this case 0 is my laptop soundcard and 1 is the UMIK)
The command contents tells amixer to readout and display the settings of the selected sound device
numid=2,iface=MIXER,name='Mic Capture Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=3,iface=MIXER,name='Mic Capture Volume'
; type=INTEGER,access=rw---R--,values=2,min=0,max=55,step=0
: values=55,55
| dBminmax-min=-31.00dB,max=24.00dB
numid=1,iface=PCM,name='Capture Channel Map'
; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
: values=0,0
| container
| chmap-fixed=FL,FR

In REW it shows up as U18db [plughw:1.0]
Is it not possible to change something in the preferences gui to enable users to designate this as UMIK and save this choice in some configuration file ?
Please mind that I am not a java developper, I am just thinking outloud, trying to offer some ideas to implement a solution
and may be this idea is just impossible to realise.
See less See more
MABO, could you use the 'Generate Debug File' button on the REW soundcard preferences and attach the file that produces here, please?
Uploading the file is not possible, it exceeds the max allowed space of this forum.

Perhaps these are the things you need:
SoundCard Debug Data generated by REW V5.13
Dated: Oct 10, 2015 11:18:35 AM
Input Device: U18dB [plughw:1,0]
Input: Default Input
Input Volume: no control
Output Device: Default Device
Output: Default Output
Output Volume: No control
Output Mute: Off
Wave Volume: No control
Wave Mute: Off

4: U18dB [plughw:1,0], ALSA (http://www.alsa-project.org), 3.19.0-30-generic, Direct Audio Device: Umik-1 Gain: 18dB, USB Audio, USB Audio
Line interface TargetDataLine supporting 16 audio formats, and buffers of at least 32 bytes (max. 1 simultaneously):
0: PCM_SIGNED unknown sample rate, 24 bit, mono, 3 bytes/frame, little-endian (1 channels, frameSize=3, little endian)
1: PCM_SIGNED unknown sample rate, 24 bit, mono, 3 bytes/frame, big-endian (1 channels, frameSize=3, big endian)
2: PCM_SIGNED unknown sample rate, 24 bit, stereo, 6 bytes/frame, little-endian (2 channels, frameSize=6, little endian)
3: PCM_SIGNED unknown sample rate, 24 bit, stereo, 6 bytes/frame, big-endian (2 channels, frameSize=6, big endian)
4: PCM_SIGNED unknown sample rate, 20 bit, mono, 3 bytes/frame, little-endian (1 channels, frameSize=3, little endian)
5: PCM_SIGNED unknown sample rate, 20 bit, mono, 3 bytes/frame, big-endian (1 channels, frameSize=3, big endian)
6: PCM_SIGNED unknown sample rate, 20 bit, stereo, 6 bytes/frame, little-endian (2 channels, frameSize=6, little endian)
7: PCM_SIGNED unknown sample rate, 20 bit, stereo, 6 bytes/frame, big-endian (2 channels, frameSize=6, big endian)
8: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, little-endian (1 channels, frameSize=2, little endian)
9: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, big-endian (1 channels, frameSize=2, big endian)
10: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, little-endian (2 channels, frameSize=4, little endian)
11: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian (2 channels, frameSize=4, big endian)
12: PCM_SIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame, (1 channels, frameSize=1, little endian)
13: PCM_UNSIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame, (1 channels, frameSize=1, little endian)
14: PCM_SIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame, (2 channels, frameSize=2, little endian)
15: PCM_UNSIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame, (2 channels, frameSize=2, little endian)

LineUnavailableException when trying to open this line
[no controls]

6: Port U18dB [hw:1], ALSA (http://www.alsa-project.org), 3.19.0-30-generic, Umik-1 Gain: 18dB, USB Mixer
Port Mic source port
Controls[0]: CompoundControl: Mic Control containing Volume, Balance, and Select Controls.
MemberControls[0]: FloatControl: Volume with current value: 1.0 (range: 0.0 - 1.0)
MemberControls[1]: FloatControl: Balance with current value: 0.0 (range: -1.0 - 1.0)
MemberControls[2]: BooleanControl: Select Control with current value: true

I shared the complete file on
https://drive.google.com/file/d/0B7s5wjwdpM2pSFBTcXptSVZrYnc/view?usp=sharing
See less See more
Very helpful, thanks. Please try V5.14 beta 5 (linux) to see if it manages to detect the UMIK and if it allows an input to be selected for it (rather than just showing default input).
I installed the beta5
- First renamed the old REW directory
- Installed the beta5 version
When I run it, I cannot select an output device, the dropdown box is empty,there is nothing to select.

You can find the full soundcard debug file here
https://drive.google.com/file/d/0B7s5wjwdpM2pRkVialgwQnMxRVU/view?usp=sharing

SoundCard Debug Data generated by REW V5.14
Dated: Oct 10, 2015 10:09:54 PM
Input Device: U18dB [plughw:1,0]
Input: null
Input Volume: no control
Output Device: null
Output: null
Output Volume: No control
Output Mute: Off
Wave Volume: No control
Wave Mute: Off

4: U18dB [plughw:1,0], ALSA (http://www.alsa-project.org), 3.19.0-30-generic, Direct Audio Device: Umik-1 Gain: 18dB, USB Audio, USB Audio
Line interface TargetDataLine supporting 16 audio formats, and buffers of at least 32 bytes (max. 1 simultaneously):
0: PCM_SIGNED unknown sample rate, 24 bit, mono, 3 bytes/frame, little-endian (1 channels, frameSize=3, little endian)
1: PCM_SIGNED unknown sample rate, 24 bit, mono, 3 bytes/frame, big-endian (1 channels, frameSize=3, big endian)
2: PCM_SIGNED unknown sample rate, 24 bit, stereo, 6 bytes/frame, little-endian (2 channels, frameSize=6, little endian)
3: PCM_SIGNED unknown sample rate, 24 bit, stereo, 6 bytes/frame, big-endian (2 channels, frameSize=6, big endian)
4: PCM_SIGNED unknown sample rate, 20 bit, mono, 3 bytes/frame, little-endian (1 channels, frameSize=3, little endian)
5: PCM_SIGNED unknown sample rate, 20 bit, mono, 3 bytes/frame, big-endian (1 channels, frameSize=3, big endian)
6: PCM_SIGNED unknown sample rate, 20 bit, stereo, 6 bytes/frame, little-endian (2 channels, frameSize=6, little endian)
7: PCM_SIGNED unknown sample rate, 20 bit, stereo, 6 bytes/frame, big-endian (2 channels, frameSize=6, big endian)
8: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, little-endian (1 channels, frameSize=2, little endian)
9: PCM_SIGNED unknown sample rate, 16 bit, mono, 2 bytes/frame, big-endian (1 channels, frameSize=2, big endian)
10: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, little-endian (2 channels, frameSize=4, little endian)
11: PCM_SIGNED unknown sample rate, 16 bit, stereo, 4 bytes/frame, big-endian (2 channels, frameSize=4, big endian)
12: PCM_SIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame, (1 channels, frameSize=1, little endian)
13: PCM_UNSIGNED unknown sample rate, 8 bit, mono, 1 bytes/frame, (1 channels, frameSize=1, little endian)
14: PCM_SIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame, (2 channels, frameSize=2, little endian)
15: PCM_UNSIGNED unknown sample rate, 8 bit, stereo, 2 bytes/frame, (2 channels, frameSize=2, little endian)

LineUnavailableException when trying to open this line
[no controls]

6: Port U18dB [hw:1], ALSA (http://www.alsa-project.org), 3.19.0-30-generic, Umik-1 Gain: 18dB, USB Mixer
Port Mic source port
Controls[0]: CompoundControl: Mic Control containing Volume, Balance, and Select Controls.
MemberControls[0]: FloatControl: Volume with current value: 1.0 (range: 0.0 - 1.0)
MemberControls[1]: FloatControl: Balance with current value: 0.0 (range: -1.0 - 1.0)
MemberControls[2]: BooleanControl: Select Control with current value: true

When I start the previous version from the remamed directory, I can select the output device and sound is coming out of the laptop speaker.
See less See more
Is there anything available in the input list for U18db?
Please try V5.14 beta 6 (linux).
Just a quick feedback, because I have to leave to visit some family:

In beta5 there was nothing in the output list, and in the input list I saw my laptow soundcard and the umik

In beta6 both output and input dropdown boxes have multiple items in the list and I can generate sound and measure it via umik
When starting up, the preferences of V13 seemed to be there (umik calibration file, soundcard selection) but the measurement icon was grayed out.
So via the menu I deleted all preferences and restarted REW5.14beta6
It asked me if the mic was an umik, and asked to import the calibration file.
Afterwards in preferences I did not see the mic cal file, and when I tried to import it, it did not show in the mic preferences tab eiter
I could do a quick measurement though.
I'll do some better tests when I come back from the family visit.
Regarding UMIK-1 detection and SPL calibration under Linux: detection works fine in v5.14 beta 14. SPL - I'm not sure. REW is now able to control/read the mixer ("Mic") but then it gives different results than "Default Input" (set to 0 dB in alsamixer). When configuring the device from "MiniDSP UMIK-1 detected" dialog, REW sets the mixer to -18 dB. Readings are way too low. When configuring it manually with "Mic" selected but "Control input mixer/volume" unchecked (mixer left at 0 dB), it comes up with lower SPL readings than v5.13 or v5.14 beta and "Default Input".

Unfortunately using "Default Input" leads REW to forget on subsequent run that it's been calibrated, just like v5.13 (it can recognize Umik-1 too, with some tricks).

So it looks like if REW is able to interpret mixer settings it skews the results in some way. Unfortunately I don't have anything to compare it to and don't know which configuration is correct, if any. I'm happy to test if further. I'm also a programmer, if that's of some use.
See less See more
Could you use the button on the Soundcard preferences to generate a soundcard debug file, please? I suspect the issue is how the volume control settings are returned. REW needs to know the volume control setting to allow for that when calculating the SPL. On Windows and OS X a 0..1 figure is returned, which then needs mapping onto a dB value, the mapping is OS Version and device dependent.
1 - 20 of 29 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top