Skip to content

jatinchowdhury18/NonIntegerSRC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Non-Integer Sample Rate Conversion

This repository contains a comparison of sample-rate conversion (SRC) algorithms, with an emphasis on performance for non-integer SRC factors. Currently two oversampling algorithms are implemented:

  • libsamplerate (Sinc interpolation, using SRC_SINC_FASTEST mode)
  • Holters-Parker Resampler (using 4th-order Butterworth filters)
  • Lanczos Resampler (borrowed from the Surge Synthesizer project)

Results:

On my Linux machine, the HP resampler is faster than libsamplerate by the following amounts:

Building

$ cmake -Bbuild
$ cmake --build build --config Release

Then to run the testing tool, run ./build/src_test.

Credits

License

The code in this repository is licensed under the GPLv3. Enjoy!

About

Faster Non-Integer Sample Rate Conversion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages