DaisySP
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
b
c
d
f
g
h
i
l
m
n
p
r
s
t
w
Functions
b
c
d
g
h
i
l
n
p
r
s
t
w
Enumerations
Files
File List
•
All
Classes
Namespaces
Files
Functions
Enumerations
Enumerator
Pages
Loading...
Searching...
No Matches
Source
Utility
dcblock.h
1
/*
2
Copyright (c) 2020 Electrosmith, Corp
3
4
Use of this source code is governed by an MIT-style
5
license that can be found in the LICENSE file or at
6
https://opensource.org/licenses/MIT.
7
*/
8
9
#pragma once
10
#ifndef DSY_DCBLOCK_H
11
#define DSY_DCBLOCK_H
12
#ifdef __cplusplus
13
14
namespace
daisysp
15
{
18
class
DcBlock
19
{
20
public
:
21
DcBlock(){};
22
~DcBlock(){};
23
26
void
Init
(
float
sample_rate);
27
30
float
Process
(
float
in);
31
32
private
:
33
float
input_, output_, gain_;
34
};
18
class
DcBlock {
…
};
35
}
// namespace daisysp
36
#endif
37
#endif
daisysp::DcBlock::Process
float Process(float in)
Definition
dcblock.cpp:13
daisysp::DcBlock::Init
void Init(float sample_rate)
Definition
dcblock.cpp:6
daisysp
FIR Filter implementation, generic and ARM CMSIS DSP based.
Definition
adenv.h:16
Generated by
1.13.2