claritychallenge / clarity

Clarity Challenge toolkit - software for building Clarity Challenge systems
https://claritychallenge.github.io/clarity
MIT License
121 stars 51 forks source link

Code and tests for extended resample method #310

Closed jonbarker68 closed 1 year ago

jonbarker68 commented 1 year ago

Improved resampling

Improved version of the signal_processing.resample method that now supports multiple approaches.

Note: the PR will also change the default behaviour of the file_io.read_signal function so that resampling is performed with the soxr module with the high-quality setting. This matches the behaviour of librosa.load

Closes issue #309

codecov[bot] commented 1 year ago

Codecov Report

Merging #310 (a3163ec) into main (25c4eb2) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #310      +/-   ##
==========================================
+ Coverage   92.86%   92.88%   +0.02%     
==========================================
  Files          40       40              
  Lines        3741     3753      +12     
==========================================
+ Hits         3474     3486      +12     
  Misses        267      267              
Impacted Files Coverage Δ
clarity/utils/signal_processing.py 96.55% <100.00%> (+2.43%) :arrow_up: