Documented the one pole filter
This commit is contained in:
parent
f315a75d35
commit
d30aa26c70
1 changed files with 7 additions and 1 deletions
|
|
@ -29,6 +29,12 @@
|
||||||
|
|
||||||
namespace sfz
|
namespace sfz
|
||||||
{
|
{
|
||||||
|
/**
|
||||||
|
* @brief An implementation of a one pole filter. This is a scalar
|
||||||
|
* implementation.
|
||||||
|
*
|
||||||
|
* @tparam Type the underlying type of the filter.
|
||||||
|
*/
|
||||||
template <class Type = float>
|
template <class Type = float>
|
||||||
class OnePoleFilter {
|
class OnePoleFilter {
|
||||||
public:
|
public:
|
||||||
|
|
@ -137,4 +143,4 @@ private:
|
||||||
state += 2 * intermediate;
|
state += 2 * intermediate;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue