DaisySP
Loading...
Searching...
No Matches
overdrive.h
Go to the documentation of this file.
1/*
2Copyright (c) 2020 Electrosmith, Corp, Emilie Gillet
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_OVERDRIVE_H
11#define DSY_OVERDRIVE_H
12
13#include <stdint.h>
14#ifdef __cplusplus
15
18namespace daisysp
19{
29{
30 public:
31 Overdrive() {}
32 ~Overdrive() {}
33
35 void Init();
36
40 float Process(float in);
41
45 void SetDrive(float drive);
46
47 private:
48 float drive_;
49 float pre_gain_;
50 float post_gain_;
51};
52} // namespace daisysp
53#endif
54#endif
Distortion / Overdrive Module.
Definition overdrive.h:29
void SetDrive(float drive)
Definition overdrive.cpp:18
float Process(float in)
Definition overdrive.cpp:12
void Init()
Definition overdrive.cpp:7
FIR Filter implementation, generic and ARM CMSIS DSP based.
Definition adenv.h:16