File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -9,25 +9,25 @@ Implements a windowed sync FIR using the overlap-and-add method.
9
9
FIRFilter* filter = &FIRFilter::getSingleton();
10
10
11
11
//Low Pass
12
- filter->initializeAsLowPass(44100.0f, //sampleRate
13
- 256, //frameLength
14
- 4000.0f, //cutoffFreq
15
- 1000.0f); //transBw
12
+ filter->initializeAsLowPass(44100.0f, //sample rate
13
+ 256, //frame length
14
+ 4000.0f, //cutoff frequency
15
+ 1000.0f); //transition bandwidth
16
16
17
17
//..or High Pass
18
- filter->initializeAsHighPass(44100.0, //sampleRate
19
- 256, //frameLength
20
- 1000.0f, //cutoffFreq
21
- 1000.0f); //transBw
18
+ filter->initializeAsHighPass(44100.0, //sample rate
19
+ 256, //frame length
20
+ 1000.0f, //cutoff frequency
21
+ 1000.0f); //transition bandwidth
22
22
23
23
24
24
//...or Band Pass
25
- filter->initializeAsBandPass(44100.0, //sampleRate
26
- 256, //frameLength
27
- 500.0f, //lowCutoffFreq
28
- 200.0f, //lowTransBw
29
- 4000.0f, //highCutoffFreq
30
- 200.0f); //highTransBw
25
+ filter->initializeAsBandPass(44100.0, //sample rate
26
+ 256, //frame length
27
+ 500.0f, //low cutoff frequency
28
+ 200.0f, //low transition bandwidth
29
+ 4000.0f, //high cutoff frequency
30
+ 200.0f); //high transition bandwidth
31
31
32
32
float frequency = 4500.0f;
33
33
float duration = 0.010f;
You can’t perform that action at this time.
0 commit comments