Implemented distance matrix and used openmp to scale accross cores
This commit is contained in:
@@ -6,7 +6,9 @@ Spectogramspectrogram
|
||||
|
||||
`for %f in (*.wav) do ffmpeg -y -i "%f" -ar 44100 -lavfi "showspectrumpic=s=256x256:scale=log:legend=0" "img\%~nf.png"`
|
||||
|
||||
With loudnorm to try to improve performance
|
||||
With loudnorm to try to improve performance by normalizing loudness
|
||||
|
||||
<sup> Seems to work much better
|
||||
|
||||
`for %f in (*.wav) do ffmpeg -y -i "%f" -ar 44100 -lavfi "loudnorm,showspectrumpic=s=256x256:scale=log:legend=0" "img\%~nf.png"`
|
||||
|
||||
@@ -14,7 +16,7 @@ With loudnorm to try to improve performance
|
||||
Used for gathering the image data
|
||||
|
||||
## Building
|
||||
`clang src/main.c -Iexternal -O2 -o soundknn.exe`
|
||||
`clang src/main.c -Iexternal -O3 -fopenmp -march=native -o soundknn.exe`
|
||||
|
||||
### Todo
|
||||
- [x] Load all images from directory
|
||||
|
||||
Reference in New Issue
Block a user