Added DaisySP

This commit is contained in:
2026-04-24 14:46:05 +02:00
parent 82190216c3
commit dd63b3aed4
96 changed files with 10613 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
/*
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
{
/** Removes DC component of a signal
*/
class DcBlock
{
public:
DcBlock(){};
~DcBlock(){};
/** Initializes DcBlock module
*/
void Init(float sample_rate);
/** performs DcBlock Process
*/
float Process(float in);
private:
float input_, output_, gain_;
};
} // namespace daisysp
#endif
#endif