Commit
fix: Safeguard key detection properties against null values
Commit details
Commit notes
- Updated audio analysis worker to use optional chaining and nullish coalescing for key detection properties. - Ensures that musicalKey, keyMode, keyConfidence, and camelotCode default to null if keyResult is not defined, improving robustness of audio analysis.
- Files changed
- 1
- Lines added
- +4
- Lines removed
- −4