DaisySP
Loading...
Searching...
No Matches
dcblock.h
1/*
2Copyright (c) 2020 Electrosmith, Corp
3
4Use of this source code is governed by an MIT-style
5license that can be found in the LICENSE file or at
6https://opensource.org/licenses/MIT.
7*/
8
9#pragma once
10#ifndef DSY_DCBLOCK_H
11#define DSY_DCBLOCK_H
12#ifdef __cplusplus
13
14namespace daisysp
15{
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
Definition dcblock.h:19
float Process(float in)
Definition dcblock.cpp:13
void Init(float sample_rate)
Definition dcblock.cpp:6
FIR Filter implementation, generic and ARM CMSIS DSP based.
Definition adenv.h:16