Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Secret Rabbit Code resampler (Read 28635 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Secret Rabbit Code resampler

Reply #25
Thanks Ivqcl!  Seeing as I only resample if the original rate is not compatible with my device (which means a few odd radio streams at 22050;24000;32000;88200) that means I'll stick with SoX.  Yes that is cool though how Case added a solution to SRC for gapless playback issues.

Re: Secret Rabbit Code resampler

Reply #26
Love this resampler, SMOOTHING the song while increasing clarity, other resamplers lack this property. Just want to give some feedback.
I use Cheat Engine to minimize the buffer length to 0ms. When I use other resamplers like SoX or Resampler-V there is no issue, but when I use SRC 1.0.8, some glitches happen just after switching songs. Guessing the plugin is not fast enough, I hope the resampler may be faster. BTW the "exclude rates" may be slow as well, by manipulating the order of DSPs I can hear the differences.


Re: Secret Rabbit Code resampler

Reply #28
from Kohlrabi's signature: "It's only audiophile if it's inconvenient."

Re: Secret Rabbit Code resampler

Reply #29
Love this resampler, SMOOTHING the song while increasing clarity, other resamplers lack this property.
Do you mean you actually hear the difference?
a fan of AutoEq + Meier Crossfeed

Re: Secret Rabbit Code resampler

Reply #30
I use Cheat Engine to minimize the buffer length to 0ms.
:o  Why?
It doesn't matter anyway, as with zero buffer, it wouldn't play at all. So, it programmatically enforces its own minimum buffer size, regardless of what the setting says. Anyone with half a brain knows that the magical "zero" latency is physically impossible. Or maybe someone thinks that throwing around the word "quantum" would magically make it possible to have literally instant output without any buffering or transit in between.

 

Re: Secret Rabbit Code resampler

Reply #31
extrapolation used in Vorbis and Opus
Is this crosslappping, which is described here - https://xiph.org/vorbis/doc/vorbisfile/crosslap.html?
And, @Case , is there any reason why you didn't publish foo_dsp_amp and foo_hardclip on you site? Also, something about components themselves.
In foo_dsp_amp it is impossible to set some values, for example +0.7 dB and +1.4 dB (or maybe this is just GUI which displays wrong values). foo_hardclip doesn't work without SSE2 (verified on real AthlonXP). Is this by intention?

Re: Secret Rabbit Code resampler

Reply #32
Is this crosslappping, which is described here - https://xiph.org/vorbis/doc/vorbisfile/crosslap.html?
Overlapping would require information from two tracks to get the transition smoothed. When the DSP is used in multi-threaded converter there's only information from a single track available. The component uses extrapolation to estimate how the signal was before the track start and how it would continue at the track end. The extrapolated samples are included in the signal fed to the resampler and cut away to retain proper length.

is there any reason why you didn't publish foo_dsp_amp and foo_hardclip on you site?
Just laziness. Putting them there requires for example writing some description texts.

In foo_dsp_amp it is impossible to set some values, for example +0.7 dB and +1.4 dB (or maybe this is just GUI which displays wrong values). foo_hardclip doesn't work without SSE2 (verified on real AthlonXP). Is this by intention?
The first issue was a rounding problem. The second was carelessness. I should know to check settings when upgrading project files to new Visual Studio but apparently made a mistake that year.

Fixed components are up on my site with dynamic 1.4 versions and larger legacy 1.1 versions.

Re: Secret Rabbit Code resampler

Reply #33
I assume if the input has the same sample rate as the target (44100hz for example), it (this DSP) won't be used at all, right?

I'm trying to convert a mix of hi-res and 44.1k files together, hence the question.

Thanks!

Re: Secret Rabbit Code resampler

Reply #34
That's correct. When the source sample rate matches the target the resampler is fully bypassed.

Re: Secret Rabbit Code resampler

Reply #35
The just released foobar2000 v1.4 beta 4 has a solution for the resampler priority mess,  under Tools section of Advanced Preferences there's configuration for resampler service order.

I need some pointers, please: In the priority dialogue, do I enter the descriptive name like "SRC resampler" or "foo_dsp_src_resampler"?

Re: Secret Rabbit Code resampler

Reply #36
You use the name of the DSP entry as listed on the DSP configuration screen. So for SRC resampler that would be "Resampler (SRC)" without the quotes.

Re: Secret Rabbit Code resampler

Reply #37
Hello Case.
Is it possible to let the user control LPF parameters such as cutoff frequency and slope when resampling?
Thanks you.

Re: Secret Rabbit Code resampler

Reply #38
Not possible with the resampling library.

Re: Secret Rabbit Code resampler

Reply #39
the current SRC dsp can only up-sample to 384.

Is it possible the next change to up-sample to 768 or higher !

thanks a lot !

Re: Secret Rabbit Code resampler

Reply #40
Actually it isn't limited to 384 kHz. That's just the highest preset value in the dropdown list but you can manually type a higher sample rate. Maximum is 20 MHz but I recall the library can only resample by a factor of 256 at once. Also extreme rates are very slow to process.

Re: Secret Rabbit Code resampler

Reply #41
@Case Thank you very much for making this component for Foobar. May I suggest a feature that I suppose could be useful. Could you make an option for 2x or 4x times up/down conversion instead of having to set a specific target rate? I think similar option is available in the SoX foobar component and it is very convenient for applying automatic up/down conversion by a positive integer.

Re: Secret Rabbit Code resampler

Reply #42
New version out with the requested feature included.


Re: Secret Rabbit Code resampler

Reply #44
@Case This is an amazing Foobar component indeed! I am new to the forum, so please excuse me if I miss something! I thing it will be really useful if the control of the plugin allows to choose which source sample frequency how to be converted . I mean more table type set up! 
for example: SRC: 44100 to OUT: 176400 or 4x
                   SRC: 48000 to OUT: 192000 or 4x
                   SRC: 96000 to OUT: 384000 or 4x
                   SRC: 192000 to OUT: 384000 or 2x
                   ...
This will allow more flexible configuration for different generations of DACs and sound collections which uses different sampling rates.
And also it will be good to have option to add dithering noise on down- sampling.

Re: Secret Rabbit Code resampler

Reply #45
SRC: 44100 to OUT: 176400 or 4x
                   SRC: 48000 to OUT: 192000 or 4x
                   SRC: 96000 to OUT: 384000 or 4x
                   SRC: 192000 to OUT: 384000 or 2x
                   ...
You can use Dynamic DSP for this. https://hydrogenaud.io/index.php/topic,108904.msg956095.html#msg956095
https://hydrogenaud.io/index.php?topic=96094.0

Re: Secret Rabbit Code resampler

Reply #46
@Rollin Thank You very much for the answer, it was very helpful! I set it up already.