#include <LinkDNF.h>
A pipeline component which extends NoiseFilter as a Deep Neuronal Filter. Inner workings described by Porr et al : https://arxiv.org/abs/2011.03466
◆ LinkDNF()
LinkDNF::LinkDNF |
( |
int |
nrTaps, |
|
|
double |
lrate, |
|
|
int |
sampleRate |
|
) |
| |
Initialise the DNF, requires nr taps, learning rate and audio samplerate. Learning rate is set for weights only, not biases.
- Parameters
-
◆ Filter()
double LinkDNF::Filter |
( |
double |
dirtySample, |
|
|
double |
noiseSample |
|
) |
| |
|
overridevirtual |
Takes a dirty signal sample and a noise sample, returns filtered sample. If remover and weight callbacks are registered, pass data from DNF internals
- Parameters
-
- Returns
Implements NoiseFilter.
◆ RegisterRemoverCallback()
void LinkDNF::RegisterRemoverCallback |
( |
SampleCallback * |
removerCallback | ) |
|
◆ RegisterWeightDistCallback()
void LinkDNF::RegisterWeightDistCallback |
( |
SampleCallback * |
weightCallback | ) |
|
The documentation for this class was generated from the following files: