File dcblock.h¶
File List > DaisySP > Source > Utility > dcblock.h
Go to the documentation of this file
Source Code¶
/*
Copyright (c) 2020 Electrosmith, Corp
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
#pragma once
#ifndef DSY_DCBLOCK_H
#define DSY_DCBLOCK_H
#ifdef __cplusplus
namespace daisysp
{
class DcBlock
{
public:
DcBlock(){};
~DcBlock(){};
void Init(float sample_rate);
float Process(float in);
private:
float input_, output_, gain_;
};
} // namespace daisysp
#endif
#endif