DaisySP
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
};
35
}
// namespace daisysp
36
#endif
37
#endif
daisysp::DcBlock
Definition
dcblock.h:19
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.12.0