Refactor plotting logic into separate package and update .gitignore

- Move PlotIR function from pkg/convolve to pkg/plot package
- Update main.go to use new plot package
- Clean up convolve package imports
- Add comprehensive .gitignore entries for test files and generated outputs
- Allow only recorded.wav and sweep.wav in testfiles directory
- Ignore all generated audio files and plot images
This commit is contained in:
Bastian Bührig
2025-07-11 13:35:19 +02:00
parent dd21f30a7f
commit b447b307f1
8 changed files with 387 additions and 205 deletions

23
.gitignore vendored
View File

@@ -41,4 +41,25 @@ ehthumbs.db
.dagger/
# Environment files
.env
.env
# Test files - ignore all except recorded.wav and sweep.wav
testfiles/*
!testfiles/recorded.wav
!testfiles/sweep.wav
# Generated IR files and plots
*.wav
*.flac
*.png
*.jpg
*.jpeg
*.tiff
*.tif
*.pdf
*.svg
*.eps
# But allow the specific test files
!testfiles/recorded.wav
!testfiles/sweep.wav