![]() |
#1 |
Code Monkey
Join Date: Sep 2007
Location: Madison, WI
Posts: 857
|
![]()
When you change your project sample rate from 96k to 48k (or render to a sample rate that doesn't match the hardware), the volume of ReaVerb changes significantly, 5db!
This is Reaper 6.78, Win64. Changing resample mode doesn't fix this. To test, make a new project, add a click source or some audio, then add ReaVerb with a random impulse. Go full wet so it's easy to see. Swap project or hardware sample rates and the volume will change. The spectral display in ReaVerb changes as well, but strangely the smaller view in 96k is the louder version. (Note - I think the spectrum should always scale to 20kHz anyway.) ![]() |
![]() |
![]() |
![]() |
#2 |
Code Monkey
Join Date: Sep 2007
Location: Madison, WI
Posts: 857
|
![]()
I gotta give this one a bump, especially since Reaper
(*edited to fix my mistake) |
![]() |
![]() |
![]() |
#3 |
Human being with feelings
Join Date: May 2008
Posts: 165
|
![]()
I confirm this. I recently encountered similar behavior in project for IVR. I was unable to use my 96 kHz impulse in the 8 kHz project. No reverb (though the Acon Convolve worked fine).
|
![]() |
![]() |
![]() |
#4 | |
Human being with feelings
Join Date: Jan 2014
Posts: 5,434
|
![]() Quote:
From LAME 3.1 docs: "When the input sample rate is greater than 48 kHz, LAME will resample it to a maximum of 48 kHz (the maximum supported by MP3). In VBR modes 7 to 9.999, and at CBR bitrates below 104 kbps, the input is resampled to 32000, 24000, 22050, 16000, 12000, 11025, or 8000, depending on the target quality level or bitrate." |
|
![]() |
![]() |
![]() |
#5 | |
Code Monkey
Join Date: Sep 2007
Location: Madison, WI
Posts: 857
|
![]() Quote:
I fiddled a bit and found when rendering the following: 96k project, 48k render - decreased ReaVerb level 96k project, 48k render w/ use proj rate for mixing - matches 96k playback 96k project, 96k render - matches 96k playback, MP3 is 48k 48k project, 48k render - playback and render have decreased ReaVerb |
|
![]() |
![]() |
![]() |
#6 |
Human being with feelings
Join Date: May 2008
Posts: 165
|
![]()
Incorrect ReaVerb volume occurs if the frequency of the IR file does not match the frequency of the project or render.
I tried "FX instance oversampling" which improves the situation but not quite. Here is a 192 kHz project, IR 192 kHz volume -7.2 db (look at the IR volume in the ReaVerb window) I change the project frequency to 8 kHz, the IR volume drops to -22.6 db. I set the FX instance oversampling to 192 kHz, the IR output goes up to -7.5 db. But the IR frequency is 128 kHz (that's 0.3 db less and I can't set the output frequency to 192 kHz to get -7.2 db volume). ![]() |
![]() |
![]() |
![]() |
#7 |
Code Monkey
Join Date: Sep 2007
Location: Madison, WI
Posts: 857
|
![]()
Thanks future-bit for confirming and getting closer to the root of the problem.
|
![]() |
![]() |
![]() |
#8 | |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,335
|
![]()
hmm I can't duplicate this at all (I've tried various impulses and samplerates and SRC modes), with the "Normal" mode of the file importer (which I see you have selected). Can you provide a minimal test project and reaper.ini? Thanks
![]() Quote:
Also: if you set the "Use project samplerate for mixing..." option in the render dialog, then the resampling should happen as the last step, regardless of the format. Last edited by Justin; 03-28-2023 at 08:20 PM. |
|
![]() |
![]() |
![]() |
#9 |
Code Monkey
Join Date: Sep 2007
Location: Madison, WI
Posts: 857
|
![]()
Thanks Justin, I emailed an example project.
|
![]() |
![]() |
![]() |
#10 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,335
|
![]()
Thanks! There's something special about this impulse response that is making it do it (if I swap it out for others it works as expected). Perhaps it's a DC offset? I'll analyze it more after some coffee
|
![]() |
![]() |
![]() |
#11 | |
Human being with feelings
Join Date: May 2008
Posts: 165
|
![]() Quote:
If my settings are: - IR frequency 192 kHz - project frequency 8 kHz - I chose WaveOut (because my card only supports 44.1 and 48 kHz) - I enabled Allow project to override sample rate in Audio device settings then I hear a strong decrease in the amount of reverb. If I uncheck Allow project to override sample rate in Audio device settings, then the project plays at 44.1 kHz and there is no problem. But the project won't play at 8 kHz either, because my card doesn't support 8 kHz via ASIO. |
|
![]() |
![]() |
![]() |
#12 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,335
|
![]()
8KHz, eep. I’d recommend processing everything at 44k and resampling as the final step.
I think (in sws’s case) it has to do with the very high frequency content of the impulses. Looking in to workarounds… |
![]() |
![]() |
![]() |
#13 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,335
|
![]()
Ah, ok, there are some qualities of this impulse that makes the normalization code unused, fixing (need to figure out the best way to preserve compat too).
|
![]() |
![]() |
![]() |
#14 |
Administrator
Join Date: Jan 2005
Location: NYC
Posts: 16,335
|
![]()
Fixing coming soon!
Also there seems to be a bug in the click source in certain instances, debugging that now, probably better to test against a .wav file. |
![]() |
![]() |
![]() |
Thread Tools | |
|
|