Changelog¶
Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Effort-based Versioning.
[0.1.1] - 2025-11-14¶
Fix GitHub Action for docs.
[0.1.0] - 2025-11-14¶
Added¶
Constant-Q Transform (CQT) with both 1992 and 2010 algorithms
Comprehensive spectral features:
spectral_centroid- Center of mass of the spectrumspectral_contrast- Valley-to-peak spectral contrastspectral_bandwidth- Bandwidth of the spectrumspectral_rolloff- Roll-off frequencyspectral_flatness- Spectral flatness measurezero_crossing_rate- Rate of sign changes
Mel-frequency features:
melspectrogram- Mel-scaled spectrogrammfcc- Mel-frequency cepstral coefficients
Chroma features:
chroma_stft- Chromagram from STFTchroma_cqt- Chromagram from CQT
SpecAugmentationlayer for data augmentationCore modules following
librosastructure:librosax.core.convert- Unit conversion functionslibrosax.core.spectrum- Spectral operationslibrosax.core.notation- Music notation utilitieslibrosax.core.intervals- Interval arithmetic
Comprehensive type hints with JAX typing support
Caching system for expensive computations
Ground truth validation tests against nnAudio for CQT
Detailed CQT implementation documentation
Test data download script (
scripts/download_test_data.py)GitHub Actions CI/CD workflow
Changed¶
BREAKING: Migrated neural network layers from Flax Linen to Flax NNX
BREAKING: Restructured module organization to follow
librosaconventionsCore functionality moved to
librosax.core.*Feature extraction moved to
librosax.feature.*Import paths have changed
Tightened MFCC test tolerance from
rtol=1.7e-1tortol=1e-3(170x more strict)Adjusted CQT2010 linear sweep correlation threshold from 0.85 to 0.83
All functions are now JIT-compatible with proper
static_argnamesImproved API documentation with examples
Updated
README.mdwith new features and examplesEnhanced
CLAUDE.mdwith comprehensive project guidelines
Fixed¶
MFCC handling for 2D and 4D input dimensions
Spectral contrast calculation accuracy
MFCC liftering implementation
Numerical precision issues in CQT algorithms
Version compatibility issues
Removed¶
Obsolete pseudo-CQT implementation
IDE configuration files from repository
[0.0.4] - 2025-07-06¶
Added¶
Initial release with basic audio processing functions
STFT and inverse STFT
Basic magnitude scaling (
power_to_db,amplitude_to_db)FFT frequency utilities
Basic Flax Linen layers for spectrograms
Changed¶
Initial project structure
[0.0.3] - Earlier¶
(Previous versions not documented)
[0.0.2] - Earlier¶
(Previous versions not documented)
[0.0.1] - Earlier¶
(Previous versions not documented)