-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance audio file validation and processing in FileAnalysis
- Refactored the FileAnalysis function to improve audio file validation, including checks for file existence, size, and format. - Introduced a new validateAudioFile function to encapsulate validation logic, ensuring only valid audio files are processed. - Added detailed error messages with ANSI color codes for better visibility in case of validation failures. - Updated processAudioFile to handle audio chunk processing more efficiently. - Enhanced FLAC and WAV file reading functions with additional validations for bit depth and channel count, improving robustness.
- Loading branch information
Showing
3 changed files
with
93 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters