# Changelog

## [v1.1.0] - 2024-12-19
### Added
- **IR Visualization**: New `--plot-ir` flag to generate frequency response and waveform plots
- **Professional Plotting**: Frequency response (dB vs Hz) and time-aligned waveform visualization
- **Valhallir Branding**: Logo and filename information in generated plots
- **Modular Architecture**: Separated plotting logic into dedicated `pkg/plot` package
- **Enhanced File Management**: Plots are saved in the same directory as IR files with matching names
- **Improved Documentation**: Updated README with plotting features and usage examples
- **Linear Fade-Out**: New `--fade-ms` option to apply linear fade-out to IRs (default 5ms)
- **High/Low-Cut Filtering**: New `--highcut` and `--lowcut` options for frequency filtering
- **Configurable Filter Slopes**: New `--cut-slope` option for filter steepness (12, 24, 36, 48 dB/oct)
- **Audio Resampling**: Automatic resampling between different sample rates (44.1, 48, 88.2, 96 kHz)
- **Enhanced Audio Processing**: Cascade filtering for steeper slopes and better frequency response
- **Assets Integration**: Added Valhallir logo for professional plot branding

### Changed
- **Package Structure**: Refactored codebase with separate packages for audio processing and visualization
- **Plot File Naming**: Plots now use the same base name as IR files (e.g., `ir.png` instead of `ir_plot.png`)
- **Repository Organization**: Updated `.gitignore` to exclude generated files while preserving essential test files
- **Enhanced Error Handling**: Improved validation and error messages for all new features
- **Better Logging**: More detailed progress information during processing

### Technical Improvements
- **Clean Architecture**: Separated concerns between audio processing (`pkg/convolve`) and visualization (`pkg/plot`)
- **Better Maintainability**: Modular design makes it easier to extend and modify features
- **Enhanced Audio Quality**: Improved filtering algorithms with cascade implementation
- **Professional Output**: Better IR quality with fade-out and advanced filtering options

## [v1.0.0] - 2024-06-09
### Added
- Initial public release: Valhallir Deconvolver
- Fast FFT-based deconvolution for IR extraction
- Automatic input conversion: accepts any WAV sample rate, bit depth, or channel count
- Output IR in user-selectable sample rate and bit depth (WAV only)
- Optional minimum phase transform (MPT) output
- Silence trimming and normalization
- Optional output IR length control (`--length-ms`)
- Mono output (stereo/multichannel inputs are averaged)
- CLI with urfave/cli, version flag, and detailed logging
- Full documentation and usage examples in README 