Small Digital Signal Processing library
|
|
||
|---|---|---|
| main_stdio.c | fix: code style and more debug | |
| make.sh | fix: code style and more debug | |
| README.md | fix: readme | |
| sdsp.h | fix: code style and more debug | |
| tinywav.h | fix: code style and more debug | |
Digital Signal Processing library
the name is long right? this is thing is a signal comparator library that can run on bare-metal and it doesn't use any floating point. it is written in less than 460 LOC and it only needs the stdint header file
how this thing works?
it is math
- LPC (Linear Predictive Coding) via autocorrelation + Levinson-Durbin
- Frame-based feature extraction (pre-emphasis, Hamming window, reflection coefficients)
- DTW (Dynamic Time Warping) with Sakoe-Chiba band and slope constraints
small STT example
main_stdio.c is a STT program that can be used for controlling your system using only your voice. to use it, you record a template file(your voice) so the program can compare your test file(speech) to the template, if they match, it will print the filename of the test file, one test file is allowed
also you should use more than one template file because comparing one template to a test file is always true(it will always print the label)