Initial commit, setup basic imgloading

This commit is contained in:
2026-02-04 03:48:33 -06:00
commit be086e4540
4 changed files with 8051 additions and 0 deletions

16
README.md Normal file
View File

@@ -0,0 +1,16 @@
# Purpose
Run knn on audio data which has been converted to images to find similar audio clips
## Ffmpeg preporcessing command
`for %f in (*.wav) do ffmpeg -y -i "%f" -ar 44100 -lavfi "showspectrumpic=s=256x256:scale=log:legend=0" "img\%~nf.png"`
## stb_image.h
Used for gathering the image data
## Building
`clang src/main.c -Iexternal -O2 -o soundknn.exe`
### Todo
- Load all images from directory
- Do knn algorithm
- Use opencl to accelerate algorithm execution