1
0
Fork
You've already forked sdsp
0
Small Digital Signal Processing library
  • C 99.2%
  • Shell 0.8%
2026年06月03日 14:02:05 +03:00
main_stdio.c fix: code style and more debug 2026年06月03日 14:02:05 +03:00
make.sh fix: code style and more debug 2026年06月03日 14:02:05 +03:00
README.md fix: readme 2026年05月24日 19:13:49 +03:00
sdsp.h fix: code style and more debug 2026年06月03日 14:02:05 +03:00
tinywav.h fix: code style and more debug 2026年06月03日 14:02:05 +03:00

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)