20 lines
367 B
Markdown
20 lines
367 B
Markdown
|
# Simple DTMF Decoder in C
|
||
|
|
||
|
Simple stupid code implementing [Goertzel algorithm]
|
||
|
|
||
|
[Goertzel algorithm]: https://en.wikipedia.org/wiki/Goertzel_algorithm
|
||
|
|
||
|
|
||
|
# Build
|
||
|
|
||
|
Under Linux
|
||
|
|
||
|
cmake -S . -B build -G Ninja
|
||
|
ninja -C build
|
||
|
arecord | ./build/dtmf
|
||
|
|
||
|
|
||
|
# Test
|
||
|
|
||
|
You can use your phone dial pad or online signal generator https://onlinetonegenerator.com/dtmf.html
|