Skip to content

Commit 49257fa

Browse files
authored
Update README.md
1 parent 05d9ad7 commit 49257fa

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,28 @@ Implements a windowed sync FIR using the overlap-and-add method.
88
```
99
FIRFilter* filter = &FIRFilter::getSingleton();
1010
11-
//Low Pass
11+
//Low Pass:
1212
filter->initializeAsLowPass(44100.0f, //sample rate
1313
256, //frame length
1414
4000.0f, //cutoff frequency
1515
1000.0f); //transition bandwidth
1616
17-
//..or High Pass
17+
//High Pass:
1818
filter->initializeAsHighPass(44100.0, //sample rate
1919
256, //frame length
2020
1000.0f, //cutoff frequency
2121
1000.0f); //transition bandwidth
2222
2323
24-
//...or Band Pass
24+
//Band Pass:
2525
filter->initializeAsBandPass(44100.0, //sample rate
2626
256, //frame length
2727
500.0f, //low cutoff frequency
2828
200.0f, //low transition bandwidth
2929
4000.0f, //high cutoff frequency
3030
200.0f); //high transition bandwidth
31-
31+
32+
//Demo/Test:
3233
float frequency = 4500.0f;
3334
float duration = 0.010f;
3435
filter->test(frequency, duration);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy