|
JPL Spatial
Sound spatialization and propagation library
|
Multi-Shelf 2nd-order graphic equalizer. More...
#include <JPLSpatial/Auralization/ShelfEQ.h>
Public Types | |
| using | Base = Topology::Cascade<NumEQBands - 1> |
| using | Params = ShelfEQParams<NumBands> |
| using | StateType = State::Cascade<NumFilters> |
| using | GainVec = std::array<float, NumBands> |
| using | GainMat = std::array<float, NumBands * NumBands> |
Public Member Functions | |
| JPL_INLINE bool | Prepare (const Params ¶ms) |
| bool | SetFrequencies (std::span< const float, NumFilters > frequencies) |
| Set the desired frequencies of the control points. | |
| void | SetGainsDb (std::span< const float, NumBands > gainsDb) |
| Set the desired gains at the control points. | |
Public Member Functions inherited from JPL::Topology::Cascade< NumEQBands - 1 > | |
| JPL_INLINE std::complex< double > | CalculateResponse (double normalizedFrequency) const |
Static Public Attributes | |
| static constexpr std::size_t | NumBands = NumEQBands |
| static constexpr std::size_t | NumFilters = NumBands - 1 |
Additional Inherited Members | |
Public Attributes inherited from JPL::Topology::Cascade< NumEQBands - 1 > | |
| std::array< Biquad, N > | Stages |
Multi-Shelf 2nd-order graphic equalizer.
| using JPL::ShelfEQ< NumEQBands >::Base = Topology::Cascade<NumEQBands - 1> |
| using JPL::ShelfEQ< NumEQBands >::GainMat = std::array<float, NumBands * NumBands> |
| using JPL::ShelfEQ< NumEQBands >::GainVec = std::array<float, NumBands> |
| using JPL::ShelfEQ< NumEQBands >::Params = ShelfEQParams<NumBands> |
| using JPL::ShelfEQ< NumEQBands >::StateType = State::Cascade<NumFilters> |
| JPL_INLINE bool JPL::ShelfEQ< NumEQBands >::Prepare | ( | const Params & | params | ) |
Prepare DSF EQ with given parameters. This must be called at least once before anything else.
|
inline |
Set the desired frequencies of the control points.
|
inline |
Set the desired gains at the control points.
|
staticconstexpr |
|
staticconstexpr |