25SCENARIO(
"AREnvelopeFollowerSquareLaw: Parameters can be set and retrieved correctly") {
26 GIVEN(
"A new AREnvelopeFollower object") {
29 WHEN(
"Nothing is changed") {
30 THEN(
"Parameters have their default values") {
39 WHEN(
"All parameters are changed to unique values") {
46 THEN(
"They all get their correct unique values") {
57SCENARIO(
"AREnvelopeFollowerSquareLaw: Parameters enforce their bounds correctly") {
58 GIVEN(
"A new AREnvelopeFollower object") {
61 WHEN(
"All parameter values are too low") {
67 THEN(
"Parameters enforce their lower bounds") {
75 WHEN(
"All parameter values are too high") {
81 THEN(
"Parameters enforce their upper bounds") {
SCENARIO("CarveNoiseFilter: Silence in = silence out")
void setAttackTimeMs(double time)
bool getFilterEnabled() const
void setHighCutHz(double freq)
double getReleaseTimeMs() const
void setLowCutHz(double freq)
double getHighCutHz() const
void setFilterEnabled(bool isEnabled)
double getLowCutHz() const
double getAttackTimeMs() const
void setReleaseTimeMs(double time)