Skip to content

Commit

Permalink
v-1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bkraad47 committed Aug 1, 2024
1 parent b7380a3 commit c6b9dcf
Show file tree
Hide file tree
Showing 6 changed files with 169 additions and 127 deletions.
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,12 @@ upscale(
output_file_path='output_test.flac',
source_format='mp3',
target_format='flac',
max_iterations=1000,
max_iterations=300,
threshold_value=0.6,
target_bitrate_kbps=1400
target_bitrate_kbps=1400,
toggle_normalize=True,
toggle_autoscale=True,
toggle_adaptive_filter=True
)
```
### Function Parameters
Expand All @@ -69,6 +72,8 @@ upscale(
- `max_iterations (int)`: Maximum number of iterations for IST. Default is 800.
- `threshold_value (float)`: Threshold value for IST. Default is 0.6.
- `target_bitrate_kbps (int)`: Target bitrate in kbps. Default is 1411.
- `toggle_normalize (bool)`: Whether to normalize the audio. Default True.
- `toggle_autoscale (bool)`: Whether to autoscale the audio based on the original audio. Default True.

## Running the Example

Expand All @@ -80,7 +85,7 @@ This will upscale the MP3 file specified in the example and produce a FLAC file

## Spectrogram Results

![Spectrogram Results](https://drive.google.com/uc?export=view&id=1_QgMQ8FR1Rryyw22bBQa0EAEGIjw9eS_)
![Spectrogram Results](https://drive.google.com/uc?export=view&id=1uk_QVOm2M3jqtU66toFEuJ3iysFSzFw6)

## How it works

Expand Down Expand Up @@ -112,6 +117,15 @@ ericzo - beyond link(https://soundcloud.com/ericzomusic/free-electro-trap-anthem

All notable changes to this project will be documented in this file.

### [1.1.0] - 2024-08-01

#### Chanaged

- Moved adaptive filtering to after normalization and auto-scaling steps.
- Reduced step size for LMS adaptive filter for improved stability.
- Ensured all processing uses CuPy for GPU acceleration.
- Added detailed comments and logging for better traceability.

### [1.0.2] - 2024-07-26

#### Changed
Expand Down
8 changes: 6 additions & 2 deletions example.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
output_file_path='output_test.flac',
source_format='mp3',
target_format='flac',
max_iterations=1000,
max_iterations=300,
threshold_value=0.6,
target_bitrate_kbps=1400
target_bitrate_kbps=1400,
toggle_normalize=True,
toggle_autoscale=True,
toggle_adaptive_filter=True

)
Loading

0 comments on commit c6b9dcf

Please sign in to comment.