Open source high-quality pro audio sample rate converter library released from Voxengo

DSP, Plug-in and Host development discussion.
User avatar
Aleksey Vaneev
KVRAF
3547 posts since 7 Sep, 2002

Post Tue Aug 20, 2013 12:20 pm

Hello!

The URL is: https://github.com/avaneev/r8brain-free-src

Hopefully you will find it useful and promote it among open source and commercial developers. I think this library should be used everywhere where sample rate conversion is required.

Comments and suggestions are welcome.
Last edited by Aleksey Vaneev on Sat Mar 14, 2015 2:12 am, edited 1 time in total.
Image

User avatar
FabienTDR
KVRian
1015 posts since 24 Feb, 2012

Post Tue Aug 20, 2013 2:42 pm

This is a very nice move, thank you! Will give it a try...
Fabien from Tokyo Dawn Records

Check out my audio processors over at the Tokyo Dawn Labs!

JonasNorberg
KVRian
699 posts since 16 Dec, 2005 from SF, CA, USA

Post Tue Aug 20, 2013 3:05 pm

Aleksey Vaneev wrote:Hello!

The URL is: https://code.google.com/p/r8brain-free-src/

Hopefully you will find it useful and promote it among open source and commercial developers. I think this library should be used everywhere where sample rate conversion is required. Hope Reaper can make use of it as its existing resampler is wrong in my opinion.

Comments and suggestions are welcome.
Very nice!

hibrasil
KVRian
782 posts since 24 Jun, 2002 from Huddersfield, UK

Post Tue Aug 20, 2013 11:19 pm

Nice. Thanks Aleksey! Could you elaborate on what you think is wrong about reaper's resampling? Their resampling code is open source by the way.

Cheers

Oli
My Website | iPlug2 | Web Audio Modules - WAMs | Oli Larkin Plugin's Facebook
Available for Audio Dev tuition via Skype (IPlug/JUCE/C++)

alihu
KVRer
4 posts since 27 Feb, 2013

Post Tue Aug 20, 2013 11:36 pm

Many thanks Aleksey !!!!!!

This is very useful !

Ivan_C
KVRian
1080 posts since 11 Aug, 2004 from Breuillet, France

Post Tue Aug 20, 2013 11:38 pm

Time to put this link again :

http://src.infinitewave.ca/

As you can see here, the performance of r8brain is very high, and a lot better than the one from Reaper.

Thank you very much for sharing this Aleksey :wink:

Ivan_C
KVRian
1080 posts since 11 Aug, 2004 from Breuillet, France

Post Tue Aug 20, 2013 11:56 pm

One question to Aleksey also :

- On the documentation, you claim that your implementation is very fast. Is it also the case, compared with other libraries, if the resampling ratio is integer (X2, X4 etc.) ?

I'd like also to try the other classes, everything there seems very interesting :love:

User avatar
Aleksey Vaneev
KVRAF
3547 posts since 7 Sep, 2002

Post Wed Aug 21, 2013 12:10 am

Integer multiplies SRC is not optimized.

p.s. I've just updated library to v0.2 - fixed the GCC compatibility issue.
Image

User avatar
Aleksey Vaneev
KVRAF
3547 posts since 7 Sep, 2002

Post Wed Aug 21, 2013 12:15 am

I'll probably add optimization for 2X, 4X, 8X resampling, but won't add support for 3X, 5X, 7X resampling as this will be equivalent to whole-number factored SRC which I'd like to keep exclusively to our r8brain PRO software.
Image

User avatar
Aleksey Vaneev
KVRAF
3547 posts since 7 Sep, 2002

Post Wed Aug 21, 2013 12:21 am

Reaper's resampling simply "sounds" wrong, adds some undesired character to the signal.
Image

Ivan_C
KVRian
1080 posts since 11 Aug, 2004 from Breuillet, France

Post Wed Aug 21, 2013 12:22 am

I'll probably add optimization for 2X, 4X, 8X resampling,
Thanks :wink:

User avatar
Aleksey Vaneev
KVRAF
3547 posts since 7 Sep, 2002

Post Wed Aug 21, 2013 1:15 am

Note that this algorithm is a lot better quality and speed than in the r8brain free 1.9 available via the Voxengo web site. But both are based on the same principle.
Image

mljung
KVRist
260 posts since 18 Oct, 2005

Post Wed Aug 21, 2013 1:24 am

Hopefully both Reaper and Wavelab will include this in the future..!

::
Mads

johnleedenver
KVRer
13 posts since 26 Apr, 2013

Post Wed Aug 21, 2013 2:21 am

Aleksey Vaneev wrote:Hope Reaper can make use of it as its existing resampler is wrong in my opinion.

Comments and suggestions are welcome.
The problem is REAPER needs dynamic resampling:
"The main problem is that REAPER's SRC needs to be dynamic, i.e. supporting changing samplerates on the fly without big penalty."
http://forum.cockos.com/showpost.php?p= ... stcount=16

Though yeah their resampler sucks.

Anyway how does this stack up to secret rabbit code?

User avatar
Aleksey Vaneev
KVRAF
3547 posts since 7 Sep, 2002

Post Wed Aug 21, 2013 2:28 am

The answer depends on what kind of "penalty" is assumed, and what is "dynamic SRC" - is it a continuous or a step sample rate change. r8brain-free-src is quite fast at creating resampler objects - it reuses a lot of previously initialized data.

r8brain-free-src does not offer continuous sample rate change, but I think for continuous change using a cross-fade technique is a lot better thing and does not compromise quality of SRC.
Image

Return to “DSP and Plug-in Development”