![]() |
VISR
0.11.7
Versatile Interactive Scene Renderer
|
#include <parametric_iir_coefficient.hpp>
Public Member Functions | |
ParametricIirCoefficient () | |
ParametricIirCoefficient (ParametricIirCoefficient const &rhs) | |
ParametricIirCoefficient (ParametricIirCoefficient &&rhs) | |
ParametricIirCoefficient (Type typeId, CoefficientType centerFrequency, CoefficientType quality, CoefficientType gain=static_cast< CoefficientType >(0.0)) | |
Type | type () const |
CoefficientType | frequency () const |
CoefficientType | quality () const |
CoefficientType | gain () const |
void | setType (Type newType) |
void | setFrequency (CoefficientType newFrequency) |
void | setQuality (CoefficientType newQuality) |
void | setGain (CoefficientType newGain) |
ParametricIirCoefficient & | operator= (ParametricIirCoefficient const &rhs)=default |
void | loadJson (boost::property_tree::ptree const &tree) |
void | loadJson (std::basic_istream< char > &stream) |
void | loadJson (std::string const &str) |
void | loadXml (boost::property_tree::ptree const &tree) |
void | loadXml (std::basic_istream< char > &stream) |
void | loadXml (std::string const &str) |
void | writeJson (boost::property_tree::ptree &tree) const |
void | writeJson (std::basic_ostream< char > &stream) const |
void | writeJson (std::string &str) const |
void | writeXml (boost::property_tree::ptree &tree) const |
void | writeXml (std::basic_ostream< char > &stream) const |
void | writeXml (std::string &str) const |
Static Public Member Functions | |
static ParametricIirCoefficient | fromJson (boost::property_tree::ptree const &tree) |
static ParametricIirCoefficient | fromJson (std::basic_istream< char > &stream) |
static ParametricIirCoefficient | fromJson (std::string const &str) |
static ParametricIirCoefficient | fromXml (boost::property_tree::ptree const &tree) |
static ParametricIirCoefficient | fromXml (std::basic_istream< char > &stream) |
static ParametricIirCoefficient | fromXml (std::string const &str) |
![]() | |
static Type | stringToTypeId (std::string const &name) |
static std::string const & | typeIdToString (Type typeId) |
Additional Inherited Members | |
![]() | |
enum | Type { Type::lowpass, Type::highpass, Type::bandpass, Type::bandstop, Type::highshelf, Type::lowshelf, Type::peak, Type::allpass } |
visr::rbbl::ParametricIirCoefficient< CoefficientType >::ParametricIirCoefficient | ( | ) |
Create an default object corresponding to a flat EQ.
|
default |
|
default |
|
explicit |
|
inline |
|
static |
Create a ParametricIirCoefficient objects from JSON and XML representations.
|
static |
|
static |
|
static |
|
static |
|
static |
|
inline |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::loadJson | ( | boost::property_tree::ptree const & | tree | ) |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::loadJson | ( | std::basic_istream< char > & | stream | ) |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::loadJson | ( | std::string const & | str | ) |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::loadXml | ( | boost::property_tree::ptree const & | tree | ) |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::loadXml | ( | std::basic_istream< char > & | stream | ) |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::loadXml | ( | std::string const & | str | ) |
|
default |
|
inline |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::setFrequency | ( | CoefficientType | newFrequency | ) |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::setGain | ( | CoefficientType | newGain | ) |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::setQuality | ( | CoefficientType | newQuality | ) |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::setType | ( | Type | newType | ) |
|
inline |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::writeJson | ( | boost::property_tree::ptree & | tree | ) | const |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::writeJson | ( | std::basic_ostream< char > & | stream | ) | const |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::writeJson | ( | std::string & | str | ) | const |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::writeXml | ( | boost::property_tree::ptree & | tree | ) | const |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::writeXml | ( | std::basic_ostream< char > & | stream | ) | const |
void visr::rbbl::ParametricIirCoefficient< CoefficientType >::writeXml | ( | std::string & | str | ) | const |