MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / EQEffect

Method EQEffect

Source/EQEffect.cpp:32–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#include "ModularSynth.h"
31
32EQEffect::EQEffect()
33{
34 for (int ch = 0; ch < ChannelBuffer::kMaxNumChannels; ++ch)
35 {
36 for (int i = 0; i < NUM_EQ_FILTERS; ++i)
37 {
38 mBanks[ch].mBiquad[i].SetFilterType(kFilterType_Peak);
39 mBanks[ch].mBiquad[i].SetFilterParams(40 * powf(2.2f, i), .1f);
40 }
41 }
42}
43
44void EQEffect::CreateUIControls()
45{

Callers

nothing calls this directly

Calls 2

SetFilterTypeMethod · 0.45
SetFilterParamsMethod · 0.45

Tested by

no test coverage detected