Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decimate the audio path to improve NR functions #4

Merged
merged 3 commits into from
Feb 16, 2021

Conversation

grahamwhaley
Copy link
Owner

Decimate the audio path x4 (from 44kHz down to 11kHz).
The main benefit is it allows some of the processing, like the noise reduction methods, that are based on 'slots' to have finer granularity when working on the audio spectrum. Previously they would process ~0-22kHz. Now they process ~0-5.5kHz - so, 4x the granularity of filter frequency bins.

An added benefit is the CPU overhead is also reduced. With Spectral, glitch and notch we were at ~20%. With decimation we are now at ~7%.

Decimate the audio path for processing down from the raw
44kHz to 11kHz. The main goal here is not to reduce the processing
overheads (although it does drop a 'full' SSB NR compute from 20%
down to 7%), but is to allow the noise reductions that use 'bins' to
focus those bins on the audio spectrom (0-5.5kHz), rather than spread
them across the full CD quality bandwidth (0-24kHz). We *could* have
bumped the number of bins in the NR systems (from 128 iirc) to get the
same effect maybe, but then that would have cost us more CPU time for
the same gain??

The change seems to help. Now we need to see if it helps when combined
with the FIR bandpass normalisation code...

Fixes: #2

Signed-off-by: Graham Whaley <[email protected]>
Update the README to note we have moved to decimating the audio path.
Also bump the version, as this is quite a large change.

Add a version history table to help track changes.

Signed-off-by: Graham Whaley <[email protected]>
Fix the link to the feature-list section.
Fix a typo.

Signed-off-by: Graham Whaley <[email protected]>
@grahamwhaley grahamwhaley merged commit ff17d1a into master Feb 16, 2021
@grahamwhaley grahamwhaley deleted the 20210216_decimate branch March 17, 2021 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant